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 Details

    • WikiPageServiceWrapper

      public WikiPageServiceWrapper()
    • WikiPageServiceWrapper

      public WikiPageServiceWrapper(WikiPageService wikiPageService)
  • 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 interface WikiPageService
      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
      Specified by:
      addPage in interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      Parameters:
      groupId - the primary key of the group
      externalReferenceCode - 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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      Parameters:
      groupId - the primary key of the group
      externalReferenceCode - the wiki page's external reference code
      Returns:
      the latest matching wiki page
      Throws:
      PortalException - if a portal exception occurred
      com.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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface WikiPageService
      Returns:
      the OSGi service identifier
    • getPage

      public WikiPage getPage(long pageId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPage in interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPageByPageId

      public WikiPage getPageByPageId(long pageId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPageByPageId in interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restorePageFromTrash

      public void restorePageFromTrash(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      restorePageFromTrash in interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      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 interface WikiPageService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public WikiPageService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>
    • setWrappedService

      public void setWrappedService(WikiPageService wikiPageService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>