@ProviderType public class JournalArticleImageLocalServiceWrapper extends java.lang.Object implements JournalArticleImageLocalService, com.liferay.portal.kernel.service.ServiceWrapper<JournalArticleImageLocalService>
JournalArticleImageLocalService
.JournalArticleImageLocalService
Constructor and Description |
---|
JournalArticleImageLocalServiceWrapper(JournalArticleImageLocalService journalArticleImageLocalService) |
Modifier and Type | Method and Description |
---|---|
void |
addArticleImageId(long articleImageId,
long groupId,
java.lang.String articleId,
double version,
java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId) |
JournalArticleImage |
addJournalArticleImage(JournalArticleImage journalArticleImage)
Adds the journal article image to the database.
|
JournalArticleImage |
createJournalArticleImage(long articleImageId)
Creates a new journal article image with the primary key.
|
void |
deleteArticleImage(JournalArticleImage articleImage) |
void |
deleteArticleImage(long articleImageId) |
void |
deleteArticleImage(long groupId,
java.lang.String articleId,
double version,
java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId) |
void |
deleteImages(long groupId,
java.lang.String articleId,
double version) |
JournalArticleImage |
deleteJournalArticleImage(JournalArticleImage journalArticleImage)
Deletes the journal article image from the database.
|
JournalArticleImage |
deleteJournalArticleImage(long articleImageId)
Deletes the journal article image with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
JournalArticleImage |
fetchJournalArticleImage(long articleImageId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
JournalArticleImage |
getArticleImage(long articleImageId) |
long |
getArticleImageId(long groupId,
java.lang.String articleId,
double version,
java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId) |
long |
getArticleImageId(long groupId,
java.lang.String articleId,
double version,
java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId,
boolean tempImage) |
java.util.List<JournalArticleImage> |
getArticleImages(long groupId) |
java.util.List<JournalArticleImage> |
getArticleImages(long groupId,
java.lang.String articleId,
double version) |
int |
getArticleImagesCount(long groupId) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
JournalArticleImage |
getJournalArticleImage(long articleImageId)
Returns the journal article image with the primary key.
|
java.util.List<JournalArticleImage> |
getJournalArticleImages(int start,
int end)
Returns a range of all the journal article images.
|
int |
getJournalArticleImagesCount()
Returns the number of journal article images.
|
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
JournalArticleImageLocalService |
getWrappedService() |
void |
setWrappedService(JournalArticleImageLocalService journalArticleImageLocalService) |
JournalArticleImage |
updateJournalArticleImage(JournalArticleImage journalArticleImage)
Updates the journal article image in the database or adds it if it does not yet exist.
|
public JournalArticleImageLocalServiceWrapper(JournalArticleImageLocalService journalArticleImageLocalService)
public void addArticleImageId(long articleImageId, long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId) throws com.liferay.portal.kernel.exception.PortalException
addArticleImageId
in interface JournalArticleImageLocalService
com.liferay.portal.kernel.exception.PortalException
public JournalArticleImage addJournalArticleImage(JournalArticleImage journalArticleImage)
addJournalArticleImage
in interface JournalArticleImageLocalService
journalArticleImage
- the journal article imagepublic JournalArticleImage createJournalArticleImage(long articleImageId)
createJournalArticleImage
in interface JournalArticleImageLocalService
articleImageId
- the primary key for the new journal article imagepublic void deleteArticleImage(JournalArticleImage articleImage)
deleteArticleImage
in interface JournalArticleImageLocalService
public void deleteArticleImage(long articleImageId)
deleteArticleImage
in interface JournalArticleImageLocalService
public void deleteArticleImage(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
deleteArticleImage
in interface JournalArticleImageLocalService
public void deleteImages(long groupId, java.lang.String articleId, double version)
deleteImages
in interface JournalArticleImageLocalService
public JournalArticleImage deleteJournalArticleImage(JournalArticleImage journalArticleImage)
deleteJournalArticleImage
in interface JournalArticleImageLocalService
journalArticleImage
- the journal article imagepublic JournalArticleImage deleteJournalArticleImage(long articleImageId) throws com.liferay.portal.kernel.exception.PortalException
deleteJournalArticleImage
in interface JournalArticleImageLocalService
articleImageId
- the primary key of the journal article imagePortalException
- if a journal article image with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface JournalArticleImageLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface JournalArticleImageLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface JournalArticleImageLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface JournalArticleImageLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface JournalArticleImageLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface JournalArticleImageLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface JournalArticleImageLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic JournalArticleImage fetchJournalArticleImage(long articleImageId)
fetchJournalArticleImage
in interface JournalArticleImageLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface JournalArticleImageLocalService
public JournalArticleImage getArticleImage(long articleImageId) throws com.liferay.portal.kernel.exception.PortalException
getArticleImage
in interface JournalArticleImageLocalService
com.liferay.portal.kernel.exception.PortalException
public long getArticleImageId(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
getArticleImageId
in interface JournalArticleImageLocalService
public long getArticleImageId(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId, boolean tempImage)
getArticleImageId
in interface JournalArticleImageLocalService
public java.util.List<JournalArticleImage> getArticleImages(long groupId)
getArticleImages
in interface JournalArticleImageLocalService
public java.util.List<JournalArticleImage> getArticleImages(long groupId, java.lang.String articleId, double version)
getArticleImages
in interface JournalArticleImageLocalService
public int getArticleImagesCount(long groupId)
getArticleImagesCount
in interface JournalArticleImageLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface JournalArticleImageLocalService
public JournalArticleImage getJournalArticleImage(long articleImageId) throws com.liferay.portal.kernel.exception.PortalException
getJournalArticleImage
in interface JournalArticleImageLocalService
articleImageId
- the primary key of the journal article imagePortalException
- if a journal article image with the primary key could not be foundpublic java.util.List<JournalArticleImage> getJournalArticleImages(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getJournalArticleImages
in interface JournalArticleImageLocalService
start
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)public int getJournalArticleImagesCount()
getJournalArticleImagesCount
in interface JournalArticleImageLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface JournalArticleImageLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface JournalArticleImageLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public JournalArticleImage updateJournalArticleImage(JournalArticleImage journalArticleImage)
updateJournalArticleImage
in interface JournalArticleImageLocalService
journalArticleImage
- the journal article imagepublic JournalArticleImageLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<JournalArticleImageLocalService>
public void setWrappedService(JournalArticleImageLocalService journalArticleImageLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<JournalArticleImageLocalService>