@ProviderType public class WikiPageLocalServiceWrapper extends java.lang.Object implements WikiPageLocalService, ServiceWrapper<WikiPageLocalService>
WikiPageLocalService.WikiPageLocalService| Constructor and Description |
|---|
WikiPageLocalServiceWrapper(WikiPageLocalService wikiPageLocalService) |
| Modifier and Type | Method and Description |
|---|---|
WikiPage |
addPage(long userId,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
boolean head,
java.lang.String parentTitle,
java.lang.String redirectTitle,
ServiceContext serviceContext) |
WikiPage |
addPage(long userId,
long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
ServiceContext serviceContext) |
void |
addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType) |
void |
addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
void |
addPageAttachments(long userId,
long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs) |
void |
addPageResources(long nodeId,
java.lang.String title,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addPageResources(long nodeId,
java.lang.String title,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addPageResources(WikiPage page,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addPageResources(WikiPage page,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addTempPageAttachment(long groupId,
long userId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
WikiPage |
addWikiPage(WikiPage wikiPage)
Adds the wiki page to the database.
|
void |
changeParent(long userId,
long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext) |
void |
copyPageAttachments(long userId,
long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title) |
WikiPage |
createWikiPage(long pageId)
Creates a new wiki page with the primary key.
|
void |
deletePage(long nodeId,
java.lang.String title) |
void |
deletePage(long nodeId,
java.lang.String title,
double version)
Deprecated.
As of 6.2.0 replaced by
discardDraft(long, String,
double) |
void |
deletePage(WikiPage page) |
void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName) |
void |
deletePageAttachments(long nodeId,
java.lang.String title) |
void |
deletePages(long nodeId) |
void |
deleteTempPageAttachment(long groupId,
long userId,
java.lang.String fileName,
java.lang.String tempFolderName) |
void |
deleteTrashPageAttachments(long nodeId,
java.lang.String title) |
WikiPage |
deleteWikiPage(long pageId)
Deletes the wiki page with the primary key from the database.
|
WikiPage |
deleteWikiPage(WikiPage wikiPage)
Deletes the wiki page from the database.
|
void |
discardDraft(long nodeId,
java.lang.String title,
double version) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator 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 that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
WikiPage |
fetchLatestPage(long resourcePrimKey,
int status,
boolean preferApproved) |
WikiPage |
fetchLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved) |
WikiPage |
fetchLatestPage(long nodeId,
java.lang.String title,
int status,
boolean preferApproved) |
WikiPage |
fetchPage(long nodeId,
java.lang.String title) |
WikiPage |
fetchPage(long nodeId,
java.lang.String title,
double version) |
WikiPage |
fetchWikiPage(long pageId) |
WikiPage |
fetchWikiPageByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the wiki page with the matching UUID and company.
|
WikiPage |
fetchWikiPageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the wiki page matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<WikiPage> |
getChildren(long nodeId,
boolean head,
java.lang.String parentTitle) |
WikiPage |
getDraftPage(long nodeId,
java.lang.String title) |
java.util.List<WikiPage> |
getIncomingLinks(long nodeId,
java.lang.String title) |
WikiPage |
getLatestPage(long resourcePrimKey,
int status,
boolean preferApproved) |
WikiPage |
getLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved) |
WikiPage |
getLatestPage(long nodeId,
java.lang.String title,
int status,
boolean preferApproved) |
java.util.List<WikiPage> |
getNoAssetPages() |
java.util.List<WikiPage> |
getOrphans(long nodeId) |
java.util.List<WikiPage> |
getOutgoingLinks(long nodeId,
java.lang.String title) |
WikiPage |
getPage(long resourcePrimKey) |
WikiPage |
getPage(long resourcePrimKey,
java.lang.Boolean head) |
WikiPage |
getPage(long nodeId,
java.lang.String title) |
WikiPage |
getPage(long nodeId,
java.lang.String title,
java.lang.Boolean head) |
WikiPage |
getPage(long nodeId,
java.lang.String title,
double version) |
WikiPage |
getPageByPageId(long pageId) |
WikiPageDisplay |
getPageDisplay(long nodeId,
java.lang.String title,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix) |
WikiPageDisplay |
getPageDisplay(WikiPage page,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix) |
java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int status,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator obc) |
java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end,
OrderByComparator obc) |
java.util.List<WikiPage> |
getPages(long nodeId,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
int start,
int end,
OrderByComparator obc) |
java.util.List<WikiPage> |
getPages(long resourcePrimKey,
long nodeId,
int status) |
java.util.List<WikiPage> |
getPages(long userId,
long nodeId,
int status,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
boolean head,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end,
OrderByComparator obc) |
java.util.List<WikiPage> |
getPages(java.lang.String format) |
int |
getPagesCount(long nodeId) |
int |
getPagesCount(long nodeId,
boolean head) |
int |
getPagesCount(long nodeId,
boolean head,
int status) |
int |
getPagesCount(long nodeId,
int status) |
int |
getPagesCount(long userId,
long nodeId,
int status) |
int |
getPagesCount(long nodeId,
java.lang.String title) |
int |
getPagesCount(long nodeId,
java.lang.String title,
boolean head) |
int |
getPagesCount(java.lang.String format) |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<WikiPage> |
getRecentChanges(long nodeId,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getRecentChanges(long, long,
int, int) |
java.util.List<WikiPage> |
getRecentChanges(long groupId,
long nodeId,
int start,
int end) |
int |
getRecentChangesCount(long nodeId)
Deprecated.
As of 6.2.0, replaced by
getRecentChangesCount(long,
long) |
int |
getRecentChangesCount(long groupId,
long nodeId) |
java.lang.String[] |
getTempPageAttachmentNames(long groupId,
long userId,
java.lang.String tempFolderName) |
WikiPage |
getWikiPage(long pageId)
Returns the wiki page with the primary key.
|
WikiPage |
getWikiPageByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the wiki page with the matching UUID and company.
|
WikiPage |
getWikiPageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the wiki page matching the UUID and group.
|
java.util.List<WikiPage> |
getWikiPages(int start,
int end)
Returns a range of all the wiki pages.
|
int |
getWikiPagesCount()
Returns the number of wiki pages.
|
WikiPageLocalService |
getWrappedService() |
WikiPageLocalService |
getWrappedWikiPageLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
boolean |
hasDraftPage(long nodeId,
java.lang.String title) |
void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
boolean strict,
ServiceContext serviceContext) |
void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext) |
FileEntry |
movePageAttachmentToTrash(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName) |
WikiPage |
movePageToTrash(long userId,
long nodeId,
java.lang.String title) |
WikiPage |
movePageToTrash(long userId,
long nodeId,
java.lang.String title,
double version) |
WikiPage |
movePageToTrash(long userId,
WikiPage page) |
void |
restorePageAttachmentFromTrash(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName) |
void |
restorePageFromTrash(long userId,
WikiPage page) |
WikiPage |
revertPage(long userId,
long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedService(WikiPageLocalService wikiPageLocalService) |
void |
setWrappedWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.wiki.service.WikiPageLocalService) |
void |
subscribePage(long userId,
long nodeId,
java.lang.String title) |
void |
unsubscribePage(long userId,
long nodeId,
java.lang.String title) |
void |
updateAsset(long userId,
WikiPage page,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
WikiPage |
updatePage(long userId,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
ServiceContext serviceContext) |
WikiPage |
updateStatus(long userId,
long resourcePrimKey,
int status,
ServiceContext serviceContext) |
WikiPage |
updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext) |
WikiPage |
updateWikiPage(WikiPage wikiPage)
Updates the wiki page in the database or adds it if it does not yet exist.
|
void |
validateTitle(java.lang.String title) |
public WikiPageLocalServiceWrapper(WikiPageLocalService wikiPageLocalService)
public WikiPage addWikiPage(WikiPage wikiPage) throws SystemException
addWikiPage in interface WikiPageLocalServicewikiPage - the wiki pageSystemException - if a system exception occurredpublic WikiPage createWikiPage(long pageId)
createWikiPage in interface WikiPageLocalServicepageId - the primary key for the new wiki pagepublic WikiPage deleteWikiPage(long pageId) throws PortalException, SystemException
deleteWikiPage in interface WikiPageLocalServicepageId - the primary key of the wiki pagePortalException - if a wiki page with the primary key could not be foundSystemException - if a system exception occurredpublic WikiPage deleteWikiPage(WikiPage wikiPage) throws SystemException
deleteWikiPage in interface WikiPageLocalServicewikiPage - the wiki pageSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface WikiPageLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface WikiPageLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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 WikiPageModelImpl. 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 WikiPageLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 WikiPageModelImpl. 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 WikiPageLocalServicedynamicQuery - 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)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface WikiPageLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface WikiPageLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic WikiPage fetchWikiPage(long pageId) throws SystemException
fetchWikiPage in interface WikiPageLocalServiceSystemExceptionpublic WikiPage fetchWikiPageByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchWikiPageByUuidAndCompanyId in interface WikiPageLocalServiceuuid - the wiki page's UUIDcompanyId - the primary key of the companynull if a matching wiki page could not be foundSystemException - if a system exception occurredpublic WikiPage fetchWikiPageByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchWikiPageByUuidAndGroupId in interface WikiPageLocalServiceuuid - the wiki page's UUIDgroupId - the primary key of the groupnull if a matching wiki page could not be foundSystemException - if a system exception occurredpublic WikiPage getWikiPage(long pageId) throws PortalException, SystemException
getWikiPage in interface WikiPageLocalServicepageId - the primary key of the wiki pagePortalException - if a wiki page with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getWikiPageByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getWikiPageByUuidAndCompanyId in interface WikiPageLocalServiceuuid - the wiki page's UUIDcompanyId - the primary key of the companyPortalException - if a matching wiki page could not be foundSystemException - if a system exception occurredpublic WikiPage getWikiPageByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getWikiPageByUuidAndGroupId in interface WikiPageLocalServiceuuid - the wiki page's UUIDgroupId - the primary key of the groupPortalException - if a matching wiki page could not be foundSystemException - if a system exception occurredpublic java.util.List<WikiPage> getWikiPages(int start, int end) throws SystemException
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 WikiPageModelImpl. 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.
getWikiPages in interface WikiPageLocalServicestart - the lower bound of the range of wiki pagesend - the upper bound of the range of wiki pages (not inclusive)SystemException - if a system exception occurredpublic int getWikiPagesCount()
throws SystemException
getWikiPagesCount in interface WikiPageLocalServiceSystemException - if a system exception occurredpublic WikiPage updateWikiPage(WikiPage wikiPage) throws SystemException
updateWikiPage in interface WikiPageLocalServicewikiPage - the wiki pageSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface WikiPageLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface WikiPageLocalServicebeanIdentifier - the Spring bean ID for this beanpublic WikiPage addPage(long userId, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String summary, boolean minorEdit, java.lang.String format, boolean head, java.lang.String parentTitle, java.lang.String redirectTitle, ServiceContext serviceContext) throws PortalException, SystemException
addPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage addPage(long userId, long nodeId, java.lang.String title, java.lang.String content, java.lang.String summary, boolean minorEdit, ServiceContext serviceContext) throws PortalException, SystemException
addPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType)
throws PortalException,
SystemException
addPageAttachment in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws PortalException,
SystemException
addPageAttachment in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void addPageAttachments(long userId,
long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs)
throws PortalException,
SystemException
addPageAttachments in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void addPageResources(long nodeId,
java.lang.String title,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addPageResources in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void addPageResources(long nodeId,
java.lang.String title,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
addPageResources in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void addPageResources(WikiPage page, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addPageResources in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void addPageResources(WikiPage page, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
addPageResources in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void addTempPageAttachment(long groupId,
long userId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws PortalException,
SystemException
addTempPageAttachment in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void changeParent(long userId,
long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
changeParent in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void copyPageAttachments(long userId,
long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title)
throws PortalException,
SystemException
copyPageAttachments in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void deletePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
deletePage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void deletePage(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
discardDraft(long, String,
double)deletePage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void deletePage(WikiPage page) throws PortalException, SystemException
deletePage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
deletePageAttachment in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void deletePageAttachments(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
deletePageAttachments in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void deletePages(long nodeId)
throws PortalException,
SystemException
deletePages in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void deleteTempPageAttachment(long groupId,
long userId,
java.lang.String fileName,
java.lang.String tempFolderName)
throws PortalException,
SystemException
deleteTempPageAttachment in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void deleteTrashPageAttachments(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
deleteTrashPageAttachments in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void discardDraft(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
discardDraft in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage fetchLatestPage(long resourcePrimKey, int status, boolean preferApproved) throws SystemException
fetchLatestPage in interface WikiPageLocalServiceSystemExceptionpublic WikiPage fetchLatestPage(long resourcePrimKey, long nodeId, int status, boolean preferApproved) throws SystemException
fetchLatestPage in interface WikiPageLocalServiceSystemExceptionpublic WikiPage fetchLatestPage(long nodeId, java.lang.String title, int status, boolean preferApproved) throws SystemException
fetchLatestPage in interface WikiPageLocalServiceSystemExceptionpublic WikiPage fetchPage(long nodeId, java.lang.String title) throws SystemException
fetchPage in interface WikiPageLocalServiceSystemExceptionpublic WikiPage fetchPage(long nodeId, java.lang.String title, double version) throws SystemException
fetchPage in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getChildren(long nodeId, boolean head, java.lang.String parentTitle) throws SystemException
getChildren in interface WikiPageLocalServiceSystemExceptionpublic WikiPage getDraftPage(long nodeId, java.lang.String title) throws PortalException, SystemException
getDraftPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic java.util.List<WikiPage> getIncomingLinks(long nodeId, java.lang.String title) throws PortalException, SystemException
getIncomingLinks in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getLatestPage(long resourcePrimKey, int status, boolean preferApproved) throws PortalException, SystemException
getLatestPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getLatestPage(long resourcePrimKey, long nodeId, int status, boolean preferApproved) throws PortalException, SystemException
getLatestPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getLatestPage(long nodeId, java.lang.String title, int status, boolean preferApproved) throws PortalException, SystemException
getLatestPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic java.util.List<WikiPage> getNoAssetPages() throws SystemException
getNoAssetPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getOrphans(long nodeId) throws PortalException, SystemException
getOrphans in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic java.util.List<WikiPage> getOutgoingLinks(long nodeId, java.lang.String title) throws PortalException, SystemException
getOutgoingLinks in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getPage(long resourcePrimKey) throws PortalException, SystemException
getPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getPage(long resourcePrimKey, java.lang.Boolean head) throws PortalException, SystemException
getPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getPage(long nodeId, java.lang.String title) throws PortalException, SystemException
getPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getPage(long nodeId, java.lang.String title, java.lang.Boolean head) throws PortalException, SystemException
getPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getPage(long nodeId, java.lang.String title, double version) throws PortalException, SystemException
getPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage getPageByPageId(long pageId) throws PortalException, SystemException
getPageByPageId in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPageDisplay getPageDisplay(long nodeId, java.lang.String title, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix) throws PortalException, SystemException
getPageDisplay in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPageDisplay getPageDisplay(WikiPage page, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix) throws PortalException, SystemException
getPageDisplay in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic java.util.List<WikiPage> getPages(long nodeId, boolean head, int start, int end) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long nodeId, boolean head, int status, int start, int end) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long nodeId, boolean head, int status, int start, int end, OrderByComparator obc) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long nodeId, boolean head, int start, int end, OrderByComparator obc) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long nodeId, int start, int end) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long nodeId, int start, int end, OrderByComparator obc) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long resourcePrimKey, long nodeId, int status) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long userId, long nodeId, int status, int start, int end) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, boolean head, int start, int end) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, int start, int end) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, int start, int end, OrderByComparator obc) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getPages(java.lang.String format) throws SystemException
getPages in interface WikiPageLocalServiceSystemExceptionpublic int getPagesCount(long nodeId)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemExceptionpublic int getPagesCount(long nodeId,
boolean head)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemExceptionpublic int getPagesCount(long nodeId,
boolean head,
int status)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemExceptionpublic int getPagesCount(long nodeId,
int status)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemExceptionpublic int getPagesCount(long userId,
long nodeId,
int status)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemExceptionpublic int getPagesCount(long nodeId,
java.lang.String title)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemExceptionpublic int getPagesCount(long nodeId,
java.lang.String title,
boolean head)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemExceptionpublic int getPagesCount(java.lang.String format)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemExceptionpublic java.util.List<WikiPage> getRecentChanges(long nodeId, int start, int end) throws PortalException, SystemException
getRecentChanges(long, long,
int, int)getRecentChanges in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic java.util.List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws SystemException
getRecentChanges in interface WikiPageLocalServiceSystemExceptionpublic int getRecentChangesCount(long nodeId)
throws PortalException,
SystemException
getRecentChangesCount(long,
long)getRecentChangesCount in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic int getRecentChangesCount(long groupId,
long nodeId)
throws SystemException
getRecentChangesCount in interface WikiPageLocalServiceSystemExceptionpublic java.lang.String[] getTempPageAttachmentNames(long groupId,
long userId,
java.lang.String tempFolderName)
throws PortalException,
SystemException
getTempPageAttachmentNames in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic boolean hasDraftPage(long nodeId,
java.lang.String title)
throws SystemException
hasDraftPage in interface WikiPageLocalServiceSystemExceptionpublic void movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
boolean strict,
ServiceContext serviceContext)
throws PortalException,
SystemException
movePage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
movePage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic FileEntry movePageAttachmentToTrash(long userId, long nodeId, java.lang.String title, java.lang.String fileName) throws PortalException, SystemException
movePageAttachmentToTrash in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage movePageToTrash(long userId, long nodeId, java.lang.String title) throws PortalException, SystemException
movePageToTrash in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage movePageToTrash(long userId, long nodeId, java.lang.String title, double version) throws PortalException, SystemException
movePageToTrash in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage movePageToTrash(long userId, WikiPage page) throws PortalException, SystemException
movePageToTrash in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void restorePageAttachmentFromTrash(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
restorePageAttachmentFromTrash in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void restorePageFromTrash(long userId,
WikiPage page)
throws PortalException,
SystemException
restorePageFromTrash in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage revertPage(long userId, long nodeId, java.lang.String title, double version, ServiceContext serviceContext) throws PortalException, SystemException
revertPage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void subscribePage(long userId,
long nodeId,
java.lang.String title)
throws PortalException,
SystemException
subscribePage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void unsubscribePage(long userId,
long nodeId,
java.lang.String title)
throws PortalException,
SystemException
unsubscribePage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void updateAsset(long userId,
WikiPage page,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
updateAsset in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage updatePage(long userId, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String summary, boolean minorEdit, java.lang.String format, java.lang.String parentTitle, java.lang.String redirectTitle, ServiceContext serviceContext) throws PortalException, SystemException
updatePage in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage updateStatus(long userId, long resourcePrimKey, int status, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic WikiPage updateStatus(long userId, WikiPage page, int status, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus in interface WikiPageLocalServicePortalExceptionSystemExceptionpublic void validateTitle(java.lang.String title)
throws PortalException
validateTitle in interface WikiPageLocalServicePortalExceptionpublic WikiPageLocalService getWrappedWikiPageLocalService()
getWrappedService()public void setWrappedWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
setWrappedService(com.liferay.portlet.wiki.service.WikiPageLocalService)public WikiPageLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<WikiPageLocalService>public void setWrappedService(WikiPageLocalService wikiPageLocalService)
setWrappedService in interface ServiceWrapper<WikiPageLocalService>