@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 JournalArticleResourceLocalService
journalArticleResource
- the journal article resourcepublic JournalArticleResource createJournalArticleResource(long resourcePrimKey)
createJournalArticleResource
in interface JournalArticleResourceLocalService
resourcePrimKey
- the primary key for the new journal article resourcepublic JournalArticleResource deleteJournalArticleResource(JournalArticleResource journalArticleResource)
deleteJournalArticleResource
in interface JournalArticleResourceLocalService
journalArticleResource
- the journal article resourcepublic JournalArticleResource deleteJournalArticleResource(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
deleteJournalArticleResource
in interface JournalArticleResourceLocalService
resourcePrimKey
- 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 JournalArticleResourceLocalService
public JournalArticleResource fetchArticleResource(long groupId, java.lang.String articleId)
fetchArticleResource
in interface JournalArticleResourceLocalService
public JournalArticleResource fetchJournalArticleResource(long resourcePrimKey)
fetchJournalArticleResource
in interface JournalArticleResourceLocalService
public JournalArticleResource fetchJournalArticleResourceByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchJournalArticleResourceByUuidAndGroupId
in interface JournalArticleResourceLocalService
uuid
- 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 JournalArticleResourceLocalService
com.liferay.portal.kernel.exception.PortalException
public JournalArticleResource getJournalArticleResource(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
getJournalArticleResource
in interface JournalArticleResourceLocalService
resourcePrimKey
- 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 JournalArticleResourceLocalService
uuid
- 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 JournalArticleResourceLocalService
journalArticleResource
- the journal article resourcepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface JournalArticleResourceLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface JournalArticleResourceLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface JournalArticleResourceLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface JournalArticleResourceLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface JournalArticleResourceLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public int getJournalArticleResourcesCount()
getJournalArticleResourcesCount
in interface JournalArticleResourceLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface JournalArticleResourceLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface JournalArticleResourceLocalService
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 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 JournalArticleResourceLocalService
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 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 JournalArticleResourceLocalService
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 java.util.List<JournalArticleResource> getArticleResources(long groupId)
getArticleResources
in interface JournalArticleResourceLocalService
public 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 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 JournalArticleResourceLocalService
start
- 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 JournalArticleResourceLocalService
uuid
- 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 JournalArticleResourceLocalService
uuid
- 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 JournalArticleResourceLocalService
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 JournalArticleResourceLocalService
dynamicQuery
- 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 JournalArticleResourceLocalService
public long getArticleResourcePrimKey(long groupId, java.lang.String articleId)
getArticleResourcePrimKey
in interface JournalArticleResourceLocalService
public void deleteArticleResource(long groupId, java.lang.String articleId) throws com.liferay.portal.kernel.exception.PortalException
deleteArticleResource
in interface JournalArticleResourceLocalService
com.liferay.portal.kernel.exception.PortalException
public 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>