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.FileEntryaddPageAttachment(long nodeId, String title, String fileName, File file, String mimeType) com.liferay.portal.kernel.repository.model.FileEntryaddPageAttachment(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.FileEntryaddTempFileEntry(long nodeId, String folderName, String fileName, InputStream inputStream, String mimeType) voidchangeParent(long nodeId, String title, String newParentTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidcopyPageAttachments(long templateNodeId, String templateTitle, long nodeId, String title) voiddeletePage(long nodeId, String title) voiddeletePageAttachment(long nodeId, String title, String fileName) voiddeletePageAttachments(long nodeId, String title) voiddeleteTempFileEntry(long nodeId, String folderName, String fileName) voiddeleteTrashPageAttachments(long nodeId, String title) voiddiscardDraft(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) intgetPagesCount(long groupId, long nodeId, boolean head) intgetPagesCount(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status) intgetPagesCount(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) intgetRecentChangesCount(long groupId, long nodeId) String[]getTempFileNames(long nodeId, String folderName) com.liferay.portal.kernel.repository.model.FileEntrymovePageAttachmentToTrash(long nodeId, String title, String fileName) movePageToTrash(long nodeId, String title) movePageToTrash(long nodeId, String title, double version) voidrenamePage(long nodeId, String title, String newTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidrestorePageAttachmentFromTrash(long nodeId, String title, String fileName) voidrestorePageFromTrash(long resourcePrimKey) revertPage(long nodeId, String title, double version, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidsetWrappedService(WikiPageService wikiPageService) voidsubscribePage(long nodeId, String title) voidunsubscribePage(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:
addPagein 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:
addPagein 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:
addPagein 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:
addPagein 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:
addPageAttachmentin 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:
addPageAttachmentin 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:
addPageAttachmentsin 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:
addTempFileEntryin 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:
changeParentin 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:
copyPageAttachmentsin 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:
deletePagein 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:
deletePageAttachmentin 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:
deletePageAttachmentsin 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:
deleteTempFileEntryin 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:
deleteTrashPageAttachmentsin 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:
discardDraftin 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:
fetchLatestPageByExternalReferenceCodein interfaceWikiPageService- Parameters:
groupId- the primary key of the groupexternalReferenceCode- the wiki page's external reference code- Returns:
- the latest matching wiki page, or
nullif 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:
fetchPagein 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:
getChildrenin 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:
getDraftPagein 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:
getLatestPageByExternalReferenceCodein 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:
getNodePagesin 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:
getNodePagesRSSin interfaceWikiPageService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrphans
public List<WikiPage> getOrphans(WikiNode node) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getOrphansin interfaceWikiPageService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceWikiPageService- Returns:
- the OSGi service identifier
-
getPage
- Specified by:
getPagein 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:
getPagein 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:
getPagein 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:
getPagein 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:
getPagein interfaceWikiPageService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPageByPageId
public WikiPage getPageByPageId(long pageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPageByPageIdin 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:
getPagesin 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:
getPagesin 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:
getPagesin 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:
getPagesCountin 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:
getPagesCountin 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:
getPagesCountin 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:
getPagesRSSin 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:
getRecentChangesin 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:
getRecentChangesCountin 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:
getTempFileNamesin 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:
movePageAttachmentToTrashin 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:
movePageToTrashin 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:
movePageToTrashin 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:
renamePagein 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:
restorePageAttachmentFromTrashin interfaceWikiPageService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
restorePageFromTrash
public void restorePageFromTrash(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
restorePageFromTrashin 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:
revertPagein 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:
subscribePagein 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:
unsubscribePagein 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:
updatePagein interfaceWikiPageService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>
-
addPage(String, long, String, String, String, boolean, String, String, String, ServiceContext)