Package com.liferay.wiki.service
Class WikiPageServiceWrapper
java.lang.Object
com.liferay.wiki.service.WikiPageServiceWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>
,WikiPageService
public class WikiPageServiceWrapper
extends Object
implements com.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>, WikiPageService
Provides a wrapper for
WikiPageService
.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPage
(long nodeId, String title, String content, String summary, boolean minorEdit, com.liferay.portal.kernel.service.ServiceContext serviceContext) addPage
(long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.addPage
(String externalReferenceCode, long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, boolean head, String parentTitle, String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) addPage
(String externalReferenceCode, long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.repository.model.FileEntry
addPageAttachment
(long nodeId, String title, String fileName, File file, String mimeType) com.liferay.portal.kernel.repository.model.FileEntry
addPageAttachment
(long nodeId, String title, String fileName, InputStream inputStream, String mimeType) List<com.liferay.portal.kernel.repository.model.FileEntry>
addPageAttachments
(long nodeId, String title, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs) com.liferay.portal.kernel.repository.model.FileEntry
addTempFileEntry
(long nodeId, String folderName, String fileName, InputStream inputStream, String mimeType) void
changeParent
(long nodeId, String title, String newParentTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
copyPageAttachments
(long templateNodeId, String templateTitle, long nodeId, String title) void
deletePage
(long nodeId, String title) void
deletePageAttachment
(long nodeId, String title, String fileName) void
deletePageAttachments
(long nodeId, String title) void
deleteTempFileEntry
(long nodeId, String folderName, String fileName) void
deleteTrashPageAttachments
(long nodeId, String title) void
discardDraft
(long nodeId, String title, double version) fetchLatestPageByExternalReferenceCode
(long groupId, String externalReferenceCode) Returns the latest wiki page matching the group and the external reference codegetChildren
(long groupId, long nodeId, boolean head, String parentTitle) getDraftPage
(long nodeId, String title) getLatestPageByExternalReferenceCode
(long groupId, String externalReferenceCode) Returns the latest wiki page matching the group and the external reference codegetNodePages
(long nodeId, int max) getNodePagesRSS
(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix) getOrphans
(WikiNode node) Returns the OSGi service identifier.getPage
(long pageId) getPageByPageId
(long pageId) getPages
(long groupId, long nodeId, boolean head, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> orderByComparator) getPages
(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> orderByComparator) getPages
(long groupId, long userId, long nodeId, int status, int start, int end) int
getPagesCount
(long groupId, long nodeId, boolean head) int
getPagesCount
(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status) int
getPagesCount
(long groupId, long userId, long nodeId, int status) getPagesRSS
(long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix, Locale locale) getRecentChanges
(long groupId, long nodeId, int start, int end) int
getRecentChangesCount
(long groupId, long nodeId) String[]
getTempFileNames
(long nodeId, String folderName) com.liferay.portal.kernel.repository.model.FileEntry
movePageAttachmentToTrash
(long nodeId, String title, String fileName) movePageToTrash
(long nodeId, String title) movePageToTrash
(long nodeId, String title, double version) void
renamePage
(long nodeId, String title, String newTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
restorePageAttachmentFromTrash
(long nodeId, String title, String fileName) void
restorePageFromTrash
(long resourcePrimKey) revertPage
(long nodeId, String title, double version, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
setWrappedService
(WikiPageService wikiPageService) void
subscribePage
(long nodeId, String title) void
unsubscribePage
(long nodeId, String title) updatePage
(long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
WikiPageServiceWrapper
public WikiPageServiceWrapper() -
WikiPageServiceWrapper
-
-
Method Details
-
addPage
public WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addPage
@Deprecated public WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Cavanaugh (7.4.x), replaced byaddPage(String, long, String, String, String, boolean, String, String, String, ServiceContext)
- Specified by:
addPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addPage
public WikiPage addPage(String externalReferenceCode, long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, boolean head, String parentTitle, String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addPage
public WikiPage addPage(String externalReferenceCode, long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addPageAttachment
public com.liferay.portal.kernel.repository.model.FileEntry addPageAttachment(long nodeId, String title, String fileName, File file, String mimeType) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addPageAttachment
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addPageAttachment
public com.liferay.portal.kernel.repository.model.FileEntry addPageAttachment(long nodeId, String title, String fileName, InputStream inputStream, String mimeType) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addPageAttachment
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addPageAttachments
public List<com.liferay.portal.kernel.repository.model.FileEntry> addPageAttachments(long nodeId, String title, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addPageAttachments
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addTempFileEntry
public com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry(long nodeId, String folderName, String fileName, InputStream inputStream, String mimeType) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addTempFileEntry
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
changeParent
public void changeParent(long nodeId, String title, String newParentTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
changeParent
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyPageAttachments
public void copyPageAttachments(long templateNodeId, String templateTitle, long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
copyPageAttachments
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePage
public void deletePage(long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePageAttachment
public void deletePageAttachment(long nodeId, String title, String fileName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePageAttachment
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePageAttachments
public void deletePageAttachments(long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePageAttachments
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteTempFileEntry
public void deleteTempFileEntry(long nodeId, String folderName, String fileName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteTempFileEntry
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteTrashPageAttachments
public void deleteTrashPageAttachments(long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteTrashPageAttachments
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
discardDraft
public void discardDraft(long nodeId, String title, double version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
discardDraft
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchLatestPageByExternalReferenceCode
public WikiPage fetchLatestPageByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException Returns the latest wiki page matching the group and the external reference code- Specified by:
fetchLatestPageByExternalReferenceCode
in interfaceWikiPageService
- Parameters:
groupId
- the primary key of the groupexternalReferenceCode
- the wiki page's external reference code- Returns:
- the latest matching wiki page, or
null
if no matching wiki page could be found - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchPage
public WikiPage fetchPage(long nodeId, String title, double version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getChildren
public List<WikiPage> getChildren(long groupId, long nodeId, boolean head, String parentTitle) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getChildren
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDraftPage
public WikiPage getDraftPage(long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDraftPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLatestPageByExternalReferenceCode
public WikiPage getLatestPageByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException Returns the latest wiki page matching the group and the external reference code- Specified by:
getLatestPageByExternalReferenceCode
in interfaceWikiPageService
- Parameters:
groupId
- the primary key of the groupexternalReferenceCode
- the wiki page's external reference code- Returns:
- the latest matching wiki page
- Throws:
PortalException
- if a portal exception occurredcom.liferay.portal.kernel.exception.PortalException
-
getNodePages
public List<WikiPage> getNodePages(long nodeId, int max) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getNodePages
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNodePagesRSS
public String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getNodePagesRSS
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrphans
public List<WikiPage> getOrphans(WikiNode node) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getOrphans
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceWikiPageService
- Returns:
- the OSGi service identifier
-
getPage
- Specified by:
getPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPage
public WikiPage getPage(long groupId, long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPage
public WikiPage getPage(long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPage
public WikiPage getPage(long nodeId, String title, Boolean head) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPage
public WikiPage getPage(long nodeId, String title, double version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPageByPageId
public WikiPage getPageByPageId(long pageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPageByPageId
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPages
public List<WikiPage> getPages(long groupId, long nodeId, boolean head, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPages
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPages
public List<WikiPage> getPages(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPages
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPages
public List<WikiPage> getPages(long groupId, long userId, long nodeId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPages
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPagesCount
public int getPagesCount(long groupId, long nodeId, boolean head) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPagesCount
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPagesCount
public int getPagesCount(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPagesCount
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPagesCount
public int getPagesCount(long groupId, long userId, long nodeId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPagesCount
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPagesRSS
public String getPagesRSS(long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix, Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPagesRSS
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRecentChanges
public List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getRecentChanges
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRecentChangesCount
public int getRecentChangesCount(long groupId, long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getRecentChangesCount
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTempFileNames
public String[] getTempFileNames(long nodeId, String folderName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getTempFileNames
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
movePageAttachmentToTrash
public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(long nodeId, String title, String fileName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
movePageAttachmentToTrash
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
movePageToTrash
public WikiPage movePageToTrash(long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
movePageToTrash
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
movePageToTrash
public WikiPage movePageToTrash(long nodeId, String title, double version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
movePageToTrash
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
renamePage
public void renamePage(long nodeId, String title, String newTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
renamePage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
restorePageAttachmentFromTrash
public void restorePageAttachmentFromTrash(long nodeId, String title, String fileName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
restorePageAttachmentFromTrash
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
restorePageFromTrash
public void restorePageFromTrash(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
restorePageFromTrash
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
revertPage
public WikiPage revertPage(long nodeId, String title, double version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
revertPage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribePage
public void subscribePage(long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
subscribePage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribePage
public void unsubscribePage(long nodeId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
unsubscribePage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePage
public WikiPage updatePage(long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updatePage
in interfaceWikiPageService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>
-
addPage(String, long, String, String, String, boolean, String, String, String, ServiceContext)