public class WikiPageResourceLocalServiceWrapper extends java.lang.Object implements com.liferay.portal.kernel.service.ServiceWrapper<WikiPageResourceLocalService>, WikiPageResourceLocalService
WikiPageResourceLocalService
.WikiPageResourceLocalService
Constructor and Description |
---|
WikiPageResourceLocalServiceWrapper(WikiPageResourceLocalService wikiPageResourceLocalService) |
Modifier and Type | Method and Description |
---|---|
WikiPageResource |
addPageResource(long groupId,
long nodeId,
java.lang.String title) |
WikiPageResource |
addWikiPageResource(WikiPageResource wikiPageResource)
Adds the wiki page resource to the database.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
WikiPageResource |
createWikiPageResource(long resourcePrimKey)
Creates a new wiki page resource with the primary key.
|
void |
deletePageResource(long nodeId,
java.lang.String title) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
WikiPageResource |
deleteWikiPageResource(long resourcePrimKey)
Deletes the wiki page resource with the primary key from the database.
|
WikiPageResource |
deleteWikiPageResource(WikiPageResource wikiPageResource)
Deletes the wiki page resource from the database.
|
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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.
|
WikiPageResource |
fetchPageResource(long nodeId,
java.lang.String title) |
WikiPageResource |
fetchPageResource(java.lang.String uuid) |
WikiPageResource |
fetchWikiPageResource(long resourcePrimKey) |
WikiPageResource |
fetchWikiPageResourceByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the wiki page resource matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
WikiPageResource |
getPageResource(long pageResourcePrimKey) |
WikiPageResource |
getPageResource(long nodeId,
java.lang.String title) |
long |
getPageResourcePrimKey(long groupId,
long nodeId,
java.lang.String title) |
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
WikiPageResource |
getWikiPageResource(long resourcePrimKey)
Returns the wiki page resource with the primary key.
|
WikiPageResource |
getWikiPageResourceByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the wiki page resource matching the UUID and group.
|
java.util.List<WikiPageResource> |
getWikiPageResources(int start,
int end)
Returns a range of all the wiki page resources.
|
java.util.List<WikiPageResource> |
getWikiPageResourcesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the wiki page resources matching the UUID and company.
|
java.util.List<WikiPageResource> |
getWikiPageResourcesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns a range of wiki page resources matching the UUID and company.
|
int |
getWikiPageResourcesCount()
Returns the number of wiki page resources.
|
WikiPageResourceLocalService |
getWrappedService() |
void |
setWrappedService(WikiPageResourceLocalService wikiPageResourceLocalService) |
WikiPageResource |
updateWikiPageResource(WikiPageResource wikiPageResource)
Updates the wiki page resource in the database or adds it if it does not yet exist.
|
public WikiPageResourceLocalServiceWrapper(WikiPageResourceLocalService wikiPageResourceLocalService)
public WikiPageResource addPageResource(long groupId, long nodeId, java.lang.String title)
addPageResource
in interface WikiPageResourceLocalService
public WikiPageResource addWikiPageResource(WikiPageResource wikiPageResource)
Important: Inspect WikiPageResourceLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addWikiPageResource
in interface WikiPageResourceLocalService
wikiPageResource
- the wiki page resourcepublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
createPersistedModel
in interface WikiPageResourceLocalService
PortalException
public WikiPageResource createWikiPageResource(long resourcePrimKey)
createWikiPageResource
in interface WikiPageResourceLocalService
resourcePrimKey
- the primary key for the new wiki page resourcepublic void deletePageResource(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
deletePageResource
in interface WikiPageResourceLocalService
com.liferay.portal.kernel.exception.PortalException
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 com.liferay.portal.kernel.service.PersistedModelLocalService
deletePersistedModel
in interface WikiPageResourceLocalService
PortalException
public WikiPageResource deleteWikiPageResource(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect WikiPageResourceLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteWikiPageResource
in interface WikiPageResourceLocalService
resourcePrimKey
- the primary key of the wiki page resourcePortalException
- if a wiki page resource with the primary key could not be foundpublic WikiPageResource deleteWikiPageResource(WikiPageResource wikiPageResource)
Important: Inspect WikiPageResourceLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteWikiPageResource
in interface WikiPageResourceLocalService
wikiPageResource
- the wiki page resourcepublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface WikiPageResourceLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface WikiPageResourceLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface WikiPageResourceLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface WikiPageResourceLocalService
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 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.wiki.model.impl.WikiPageResourceModelImpl
.
dynamicQuery
in interface WikiPageResourceLocalService
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 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.wiki.model.impl.WikiPageResourceModelImpl
.
dynamicQuery
in interface WikiPageResourceLocalService
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 WikiPageResourceLocalService
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 WikiPageResourceLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic WikiPageResource fetchPageResource(long nodeId, java.lang.String title)
fetchPageResource
in interface WikiPageResourceLocalService
public WikiPageResource fetchPageResource(java.lang.String uuid)
fetchPageResource
in interface WikiPageResourceLocalService
public WikiPageResource fetchWikiPageResource(long resourcePrimKey)
fetchWikiPageResource
in interface WikiPageResourceLocalService
public WikiPageResource fetchWikiPageResourceByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchWikiPageResourceByUuidAndGroupId
in interface WikiPageResourceLocalService
uuid
- the wiki page resource's UUIDgroupId
- the primary key of the groupnull
if a matching wiki page resource could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface WikiPageResourceLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface WikiPageResourceLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface WikiPageResourceLocalService
public WikiPageResource getPageResource(long pageResourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
getPageResource
in interface WikiPageResourceLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPageResource getPageResource(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getPageResource
in interface WikiPageResourceLocalService
com.liferay.portal.kernel.exception.PortalException
public long getPageResourcePrimKey(long groupId, long nodeId, java.lang.String title)
getPageResourcePrimKey
in interface WikiPageResourceLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
getPersistedModel
in interface WikiPageResourceLocalService
PortalException
public WikiPageResource getWikiPageResource(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
getWikiPageResource
in interface WikiPageResourceLocalService
resourcePrimKey
- the primary key of the wiki page resourcePortalException
- if a wiki page resource with the primary key could not be foundpublic WikiPageResource getWikiPageResourceByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getWikiPageResourceByUuidAndGroupId
in interface WikiPageResourceLocalService
uuid
- the wiki page resource's UUIDgroupId
- the primary key of the groupPortalException
- if a matching wiki page resource could not be foundpublic java.util.List<WikiPageResource> getWikiPageResources(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.wiki.model.impl.WikiPageResourceModelImpl
.
getWikiPageResources
in interface WikiPageResourceLocalService
start
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)public java.util.List<WikiPageResource> getWikiPageResourcesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getWikiPageResourcesByUuidAndCompanyId
in interface WikiPageResourceLocalService
uuid
- the UUID of the wiki page resourcescompanyId
- the primary key of the companypublic java.util.List<WikiPageResource> getWikiPageResourcesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
getWikiPageResourcesByUuidAndCompanyId
in interface WikiPageResourceLocalService
uuid
- the UUID of the wiki page resourcescompanyId
- the primary key of the companystart
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getWikiPageResourcesCount()
getWikiPageResourcesCount
in interface WikiPageResourceLocalService
public WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource)
Important: Inspect WikiPageResourceLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateWikiPageResource
in interface WikiPageResourceLocalService
wikiPageResource
- the wiki page resourcepublic WikiPageResourceLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<WikiPageResourceLocalService>
public void setWrappedService(WikiPageResourceLocalService wikiPageResourceLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<WikiPageResourceLocalService>