public class JournalArticleResourceLocalServiceWrapper extends java.lang.Object implements JournalArticleResourceLocalService, 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.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
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.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
<T> T |
dslQuery(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(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(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
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.
|
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) |
CTPersistence<JournalArticleResource> |
getCTPersistence() |
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,
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.Class<JournalArticleResource> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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.
|
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(UnsafeFunction<CTPersistence<JournalArticleResource>,R,E> updateUnsafeFunction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic 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 PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface JournalArticleResourceLocalServicecreatePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic void deleteArticleResource(long groupId,
java.lang.String articleId)
throws PortalException
deleteArticleResource in interface JournalArticleResourceLocalServicePortalExceptionpublic JournalArticleResource deleteJournalArticleResource(JournalArticleResource journalArticleResource)
deleteJournalArticleResource in interface JournalArticleResourceLocalServicejournalArticleResource - the journal article resourcepublic JournalArticleResource deleteJournalArticleResource(long resourcePrimKey) throws 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 PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface JournalArticleResourceLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface JournalArticleResourceLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface JournalArticleResourceLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface JournalArticleResourceLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.journal.model.impl.JournalArticleResourceModelImpl.
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(DynamicQuery dynamicQuery, int start, int end, 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.journal.model.impl.JournalArticleResourceModelImpl.
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 long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface JournalArticleResourceLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface JournalArticleResourceLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic JournalArticleResource fetchArticleResource(long groupId, java.lang.String articleId)
fetchArticleResource in interface JournalArticleResourceLocalServicepublic JournalArticleResource fetchArticleResource(java.lang.String uuid, long groupId)
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 ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface JournalArticleResourceLocalServicepublic JournalArticleResource getArticleResource(long articleResourcePrimKey) throws PortalException
getArticleResource in interface JournalArticleResourceLocalServicePortalExceptionpublic long getArticleResourcePrimKey(long groupId,
java.lang.String articleId)
getArticleResourcePrimKey in interface JournalArticleResourceLocalServicepublic long getArticleResourcePrimKey(java.lang.String uuid,
long groupId,
java.lang.String articleId)
getArticleResourcePrimKey in interface JournalArticleResourceLocalServicepublic java.util.List<JournalArticleResource> getArticleResources(long groupId)
getArticleResources in interface JournalArticleResourceLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface JournalArticleResourceLocalServicepublic JournalArticleResource getJournalArticleResource(long resourcePrimKey) throws 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 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 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.journal.model.impl.JournalArticleResourceModelImpl.
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, 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 int getJournalArticleResourcesCount()
getJournalArticleResourcesCount in interface JournalArticleResourceLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface JournalArticleResourceLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface JournalArticleResourceLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic JournalArticleResource updateJournalArticleResource(JournalArticleResource journalArticleResource)
updateJournalArticleResource in interface JournalArticleResourceLocalServicejournalArticleResource - the journal article resourcepublic CTPersistence<JournalArticleResource> getCTPersistence()
getCTPersistence in interface JournalArticleResourceLocalServicegetCTPersistence in interface CTService<JournalArticleResource>public java.lang.Class<JournalArticleResource> getModelClass()
getModelClass in interface JournalArticleResourceLocalServicegetModelClass in interface CTService<JournalArticleResource>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(UnsafeFunction<CTPersistence<JournalArticleResource>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface JournalArticleResourceLocalServiceupdateWithUnsafeFunction in interface CTService<JournalArticleResource>E extends java.lang.Throwablepublic JournalArticleResourceLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<JournalArticleResourceLocalService>public void setWrappedService(JournalArticleResourceLocalService journalArticleResourceLocalService)
setWrappedService in interface ServiceWrapper<JournalArticleResourceLocalService>