@ProviderType public class JournalArticleResourceLocalServiceWrapper extends java.lang.Object implements JournalArticleResourceLocalService, com.liferay.portal.kernel.service.ServiceWrapper<JournalArticleResourceLocalService>
JournalArticleResourceLocalService.JournalArticleResourceLocalService| Constructor and Description |
|---|
JournalArticleResourceLocalServiceWrapper(JournalArticleResourceLocalService journalArticleResourceLocalService) |
| Modifier and Type | Method and Description |
|---|---|
JournalArticleResource |
addJournalArticleResource(JournalArticleResource journalArticleResource)
Adds the journal article resource to the database.
|
JournalArticleResource |
createJournalArticleResource(long resourcePrimKey)
Creates a new journal article resource with the primary key.
|
void |
deleteArticleResource(long groupId,
java.lang.String articleId) |
JournalArticleResource |
deleteJournalArticleResource(JournalArticleResource journalArticleResource)
Deletes the journal article resource from the database.
|
JournalArticleResource |
deleteJournalArticleResource(long resourcePrimKey)
Deletes the journal article resource 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.
|
JournalArticleResource |
fetchArticleResource(long groupId,
java.lang.String articleId) |
JournalArticleResource |
fetchArticleResource(java.lang.String uuid,
long groupId) |
JournalArticleResource |
fetchJournalArticleResource(long resourcePrimKey) |
JournalArticleResource |
fetchJournalArticleResourceByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the journal article resource matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
JournalArticleResource |
getArticleResource(long articleResourcePrimKey) |
long |
getArticleResourcePrimKey(long groupId,
java.lang.String articleId) |
long |
getArticleResourcePrimKey(java.lang.String uuid,
long groupId,
java.lang.String articleId) |
java.util.List<JournalArticleResource> |
getArticleResources(long groupId) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
JournalArticleResource |
getJournalArticleResource(long resourcePrimKey)
Returns the journal article resource with the primary key.
|
JournalArticleResource |
getJournalArticleResourceByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the journal article resource matching the UUID and group.
|
java.util.List<JournalArticleResource> |
getJournalArticleResources(int start,
int end)
Returns a range of all the journal article resources.
|
java.util.List<JournalArticleResource> |
getJournalArticleResourcesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the journal article resources matching the UUID and company.
|
java.util.List<JournalArticleResource> |
getJournalArticleResourcesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleResource> orderByComparator)
Returns a range of journal article resources matching the UUID and company.
|
int |
getJournalArticleResourcesCount()
Returns the number of journal article resources.
|
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
JournalArticleResourceLocalService |
getWrappedService() |
void |
setWrappedService(JournalArticleResourceLocalService journalArticleResourceLocalService) |
JournalArticleResource |
updateJournalArticleResource(JournalArticleResource journalArticleResource)
Updates the journal article resource in the database or adds it if it does not yet exist.
|
public JournalArticleResourceLocalServiceWrapper(JournalArticleResourceLocalService journalArticleResourceLocalService)
public JournalArticleResource addJournalArticleResource(JournalArticleResource journalArticleResource)
addJournalArticleResource in interface JournalArticleResourceLocalServicejournalArticleResource - the journal article resourcepublic JournalArticleResource createJournalArticleResource(long resourcePrimKey)
createJournalArticleResource in interface JournalArticleResourceLocalServiceresourcePrimKey - the primary key for the new journal article resourcepublic JournalArticleResource deleteJournalArticleResource(JournalArticleResource journalArticleResource)
deleteJournalArticleResource in interface JournalArticleResourceLocalServicejournalArticleResource - the journal article resourcepublic JournalArticleResource deleteJournalArticleResource(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
deleteJournalArticleResource in interface JournalArticleResourceLocalServiceresourcePrimKey - the primary key of the journal article resourcePortalException - if a journal article resource with the primary key could not be foundpublic JournalArticleResource fetchArticleResource(java.lang.String uuid, long groupId)
fetchArticleResource in interface JournalArticleResourceLocalServicepublic JournalArticleResource fetchArticleResource(long groupId, java.lang.String articleId)
fetchArticleResource in interface JournalArticleResourceLocalServicepublic JournalArticleResource fetchJournalArticleResource(long resourcePrimKey)
fetchJournalArticleResource in interface JournalArticleResourceLocalServicepublic JournalArticleResource fetchJournalArticleResourceByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchJournalArticleResourceByUuidAndGroupId in interface JournalArticleResourceLocalServiceuuid - the journal article resource's UUIDgroupId - the primary key of the groupnull if a matching journal article resource could not be foundpublic JournalArticleResource getArticleResource(long articleResourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
getArticleResource in interface JournalArticleResourceLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic JournalArticleResource getJournalArticleResource(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
getJournalArticleResource in interface JournalArticleResourceLocalServiceresourcePrimKey - the primary key of the journal article resourcePortalException - if a journal article resource with the primary key could not be foundpublic JournalArticleResource getJournalArticleResourceByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getJournalArticleResourceByUuidAndGroupId in interface JournalArticleResourceLocalServiceuuid - the journal article resource's UUIDgroupId - the primary key of the groupPortalException - if a matching journal article resource could not be foundpublic JournalArticleResource updateJournalArticleResource(JournalArticleResource journalArticleResource)
updateJournalArticleResource in interface JournalArticleResourceLocalServicejournalArticleResource - the journal article resourcepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface JournalArticleResourceLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface JournalArticleResourceLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface JournalArticleResourceLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface JournalArticleResourceLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface JournalArticleResourceLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getJournalArticleResourcesCount()
getJournalArticleResourcesCount in interface JournalArticleResourceLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface JournalArticleResourceLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface JournalArticleResourceLocalServicedynamicQuery - 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 com.liferay.journal.model.impl.JournalArticleResourceModelImpl. 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 JournalArticleResourceLocalServicedynamicQuery - 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 com.liferay.journal.model.impl.JournalArticleResourceModelImpl. 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 JournalArticleResourceLocalServicedynamicQuery - 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 java.util.List<JournalArticleResource> getArticleResources(long groupId)
getArticleResources in interface JournalArticleResourceLocalServicepublic java.util.List<JournalArticleResource> getJournalArticleResources(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 com.liferay.journal.model.impl.JournalArticleResourceModelImpl. 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.
getJournalArticleResources in interface JournalArticleResourceLocalServicestart - the lower bound of the range of journal article resourcesend - the upper bound of the range of journal article resources (not inclusive)public java.util.List<JournalArticleResource> getJournalArticleResourcesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getJournalArticleResourcesByUuidAndCompanyId in interface JournalArticleResourceLocalServiceuuid - the UUID of the journal article resourcescompanyId - the primary key of the companypublic java.util.List<JournalArticleResource> getJournalArticleResourcesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleResource> orderByComparator)
getJournalArticleResourcesByUuidAndCompanyId in interface JournalArticleResourceLocalServiceuuid - the UUID of the journal article resourcescompanyId - the primary key of the companystart - the lower bound of the range of journal article resourcesend - the upper bound of the range of journal article resources (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 JournalArticleResourceLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface JournalArticleResourceLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic long getArticleResourcePrimKey(java.lang.String uuid,
long groupId,
java.lang.String articleId)
getArticleResourcePrimKey in interface JournalArticleResourceLocalServicepublic long getArticleResourcePrimKey(long groupId,
java.lang.String articleId)
getArticleResourcePrimKey in interface JournalArticleResourceLocalServicepublic void deleteArticleResource(long groupId,
java.lang.String articleId)
throws com.liferay.portal.kernel.exception.PortalException
deleteArticleResource in interface JournalArticleResourceLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic JournalArticleResourceLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<JournalArticleResourceLocalService>public void setWrappedService(JournalArticleResourceLocalService journalArticleResourceLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<JournalArticleResourceLocalService>