Liferay 7.0-ce-m3

com.liferay.portlet.wiki.service
Class WikiPageServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.wiki.service.WikiPageServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<WikiPageService>, WikiPageService

@ProviderType
public class WikiPageServiceWrapper
extends Object
implements WikiPageService, ServiceWrapper<WikiPageService>

Provides a wrapper for WikiPageService.

See Also:
WikiPageService

Constructor Summary
WikiPageServiceWrapper(WikiPageService wikiPageService)
           
 
Method Summary
 WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, ServiceContext serviceContext)
           
 WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
 void addPageAttachment(long nodeId, String title, String fileName, File file, String mimeType)
           
 void addPageAttachment(long nodeId, String title, String fileName, InputStream inputStream, String mimeType)
           
 void addPageAttachments(long nodeId, String title, List<ObjectValuePair<String,InputStream>> inputStreamOVPs)
           
 void addTempFileEntry(long nodeId, String folderName, String fileName, InputStream inputStream, String mimeType)
           
 void addTempPageAttachment(long nodeId, String fileName, String tempFolderName, InputStream inputStream, String mimeType)
          Deprecated. As of 7.0.0 replaced by addTempFileEntry(long, String, String, InputStream, String)
 void changeNode(long nodeId, String title, long newNodeId, ServiceContext serviceContext)
           
 void changeParent(long nodeId, String title, String newParentTitle, ServiceContext serviceContext)
           
 void copyPageAttachments(long templateNodeId, String templateTitle, long nodeId, String title)
           
 void deletePage(long nodeId, String title)
           
 void deletePage(long nodeId, String title, double version)
          Deprecated. As of 6.2.0 replaced by discardDraft(long, String, double)
 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)
           
 WikiPage fetchPage(long nodeId, String title, double version)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<WikiPage> getChildren(long groupId, long nodeId, boolean head, String parentTitle)
           
 WikiPage getDraftPage(long nodeId, String title)
           
 List<WikiPage> getNodePages(long nodeId, int max)
           
 String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL)
          Deprecated. As of 6.2.0, replaced by getNodePagesRSS(long, int, String, double, String, String, String, String)
 String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix)
           
 List<WikiPage> getOrphans(long groupId, long nodeId)
           
 WikiPage getPage(long groupId, long nodeId, String title)
           
 WikiPage getPage(long nodeId, String title)
           
 WikiPage getPage(long nodeId, String title, Boolean head)
           
 WikiPage getPage(long nodeId, String title, double version)
           
 List<WikiPage> getPages(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator<WikiPage> obc)
           
 List<WikiPage> 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 userId, long nodeId, int status)
           
 String getPagesRSS(long companyId, long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, Locale locale)
          Deprecated. As of 6.2.0, replaced by getPagesRSS(long, long, String, int, String, double, String, String, String, String, java.util.Locale)
 String getPagesRSS(long companyId, long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix, Locale locale)
           
 List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end)
           
 int getRecentChangesCount(long groupId, long nodeId)
           
 String[] getTempFileNames(long nodeId, String folderName)
           
 WikiPageService getWrappedService()
           
 WikiPageService getWrappedWikiPageService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 void movePage(long nodeId, String title, String newTitle, ServiceContext serviceContext)
          Deprecated. As of 6.2.0, replaced by renamePage(long, String, String, ServiceContext) *
 FileEntry movePageAttachmentToTrash(long nodeId, String title, String fileName)
           
 WikiPage movePageToTrash(long nodeId, String title)
           
 WikiPage movePageToTrash(long nodeId, String title, double version)
           
 void renamePage(long nodeId, String title, String newTitle, ServiceContext serviceContext)
           
 void restorePageAttachmentFromTrash(long nodeId, String title, String fileName)
           
 void restorePageFromTrash(long resourcePrimKey)
           
 WikiPage revertPage(long nodeId, String title, double version, ServiceContext serviceContext)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedService(WikiPageService wikiPageService)
           
 void setWrappedWikiPageService(WikiPageService wikiPageService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.wiki.service.WikiPageService)
 void subscribePage(long nodeId, String title)
           
 void unsubscribePage(long nodeId, String title)
           
 WikiPage updatePage(long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageServiceWrapper

public WikiPageServiceWrapper(WikiPageService wikiPageService)
Method Detail

addPage

public WikiPage addPage(long nodeId,
                        String title,
                        String content,
                        String summary,
                        boolean minorEdit,
                        String format,
                        String parentTitle,
                        String redirectTitle,
                        ServiceContext serviceContext)
                 throws PortalException
Specified by:
addPage in interface WikiPageService
Throws:
PortalException

addPage

public WikiPage addPage(long nodeId,
                        String title,
                        String content,
                        String summary,
                        boolean minorEdit,
                        ServiceContext serviceContext)
                 throws PortalException
Specified by:
addPage in interface WikiPageService
Throws:
PortalException

addPageAttachment

public void addPageAttachment(long nodeId,
                              String title,
                              String fileName,
                              File file,
                              String mimeType)
                       throws PortalException
Specified by:
addPageAttachment in interface WikiPageService
Throws:
PortalException

addPageAttachment

public void addPageAttachment(long nodeId,
                              String title,
                              String fileName,
                              InputStream inputStream,
                              String mimeType)
                       throws PortalException
Specified by:
addPageAttachment in interface WikiPageService
Throws:
PortalException

addPageAttachments

public void addPageAttachments(long nodeId,
                               String title,
                               List<ObjectValuePair<String,InputStream>> inputStreamOVPs)
                        throws PortalException
Specified by:
addPageAttachments in interface WikiPageService
Throws:
PortalException

addTempFileEntry

public void addTempFileEntry(long nodeId,
                             String folderName,
                             String fileName,
                             InputStream inputStream,
                             String mimeType)
                      throws PortalException
Specified by:
addTempFileEntry in interface WikiPageService
Throws:
PortalException

addTempPageAttachment

@Deprecated
public void addTempPageAttachment(long nodeId,
                                             String fileName,
                                             String tempFolderName,
                                             InputStream inputStream,
                                             String mimeType)
                           throws PortalException
Deprecated. As of 7.0.0 replaced by addTempFileEntry(long, String, String, InputStream, String)

Specified by:
addTempPageAttachment in interface WikiPageService
Throws:
PortalException

changeNode

public void changeNode(long nodeId,
                       String title,
                       long newNodeId,
                       ServiceContext serviceContext)
                throws PortalException
Specified by:
changeNode in interface WikiPageService
Throws:
PortalException

changeParent

public void changeParent(long nodeId,
                         String title,
                         String newParentTitle,
                         ServiceContext serviceContext)
                  throws PortalException
Specified by:
changeParent in interface WikiPageService
Throws:
PortalException

copyPageAttachments

public void copyPageAttachments(long templateNodeId,
                                String templateTitle,
                                long nodeId,
                                String title)
                         throws PortalException
Specified by:
copyPageAttachments in interface WikiPageService
Throws:
PortalException

deletePage

public void deletePage(long nodeId,
                       String title)
                throws PortalException
Specified by:
deletePage in interface WikiPageService
Throws:
PortalException

deletePage

@Deprecated
public void deletePage(long nodeId,
                                  String title,
                                  double version)
                throws PortalException
Deprecated. As of 6.2.0 replaced by discardDraft(long, String, double)

Specified by:
deletePage in interface WikiPageService
Throws:
PortalException

deletePageAttachment

public void deletePageAttachment(long nodeId,
                                 String title,
                                 String fileName)
                          throws PortalException
Specified by:
deletePageAttachment in interface WikiPageService
Throws:
PortalException

deletePageAttachments

public void deletePageAttachments(long nodeId,
                                  String title)
                           throws PortalException
Specified by:
deletePageAttachments in interface WikiPageService
Throws:
PortalException

deleteTempFileEntry

public void deleteTempFileEntry(long nodeId,
                                String folderName,
                                String fileName)
                         throws PortalException
Specified by:
deleteTempFileEntry in interface WikiPageService
Throws:
PortalException

deleteTrashPageAttachments

public void deleteTrashPageAttachments(long nodeId,
                                       String title)
                                throws PortalException
Specified by:
deleteTrashPageAttachments in interface WikiPageService
Throws:
PortalException

discardDraft

public void discardDraft(long nodeId,
                         String title,
                         double version)
                  throws PortalException
Specified by:
discardDraft in interface WikiPageService
Throws:
PortalException

fetchPage

public WikiPage fetchPage(long nodeId,
                          String title,
                          double version)
                   throws PortalException
Specified by:
fetchPage in interface WikiPageService
Throws:
PortalException

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface WikiPageService
Returns:
the Spring bean ID for this bean

getChildren

public List<WikiPage> getChildren(long groupId,
                                  long nodeId,
                                  boolean head,
                                  String parentTitle)
                           throws PortalException
Specified by:
getChildren in interface WikiPageService
Throws:
PortalException

getDraftPage

public WikiPage getDraftPage(long nodeId,
                             String title)
                      throws PortalException
Specified by:
getDraftPage in interface WikiPageService
Throws:
PortalException

getNodePages

public List<WikiPage> getNodePages(long nodeId,
                                   int max)
                            throws PortalException
Specified by:
getNodePages in interface WikiPageService
Throws:
PortalException

getNodePagesRSS

@Deprecated
public String getNodePagesRSS(long nodeId,
                                         int max,
                                         String type,
                                         double version,
                                         String displayStyle,
                                         String feedURL,
                                         String entryURL)
                       throws PortalException
Deprecated. As of 6.2.0, replaced by getNodePagesRSS(long, int, String, double, String, String, String, String)

Specified by:
getNodePagesRSS in interface WikiPageService
Throws:
PortalException

getNodePagesRSS

public String getNodePagesRSS(long nodeId,
                              int max,
                              String type,
                              double version,
                              String displayStyle,
                              String feedURL,
                              String entryURL,
                              String attachmentURLPrefix)
                       throws PortalException
Specified by:
getNodePagesRSS in interface WikiPageService
Throws:
PortalException

getOrphans

public List<WikiPage> getOrphans(long groupId,
                                 long nodeId)
                          throws PortalException
Specified by:
getOrphans in interface WikiPageService
Throws:
PortalException

getPage

public WikiPage getPage(long groupId,
                        long nodeId,
                        String title)
                 throws PortalException
Specified by:
getPage in interface WikiPageService
Throws:
PortalException

getPage

public WikiPage getPage(long nodeId,
                        String title)
                 throws PortalException
Specified by:
getPage in interface WikiPageService
Throws:
PortalException

getPage

public WikiPage getPage(long nodeId,
                        String title,
                        Boolean head)
                 throws PortalException
Specified by:
getPage in interface WikiPageService
Throws:
PortalException

getPage

public WikiPage getPage(long nodeId,
                        String title,
                        double version)
                 throws PortalException
Specified by:
getPage in interface WikiPageService
Throws:
PortalException

getPages

public List<WikiPage> getPages(long groupId,
                               long nodeId,
                               boolean head,
                               int status,
                               int start,
                               int end,
                               OrderByComparator<WikiPage> obc)
                        throws PortalException
Specified by:
getPages in interface WikiPageService
Throws:
PortalException

getPages

public List<WikiPage> getPages(long groupId,
                               long userId,
                               long nodeId,
                               int status,
                               int start,
                               int end)
                        throws PortalException
Specified by:
getPages in interface WikiPageService
Throws:
PortalException

getPagesCount

public int getPagesCount(long groupId,
                         long nodeId,
                         boolean head)
                  throws PortalException
Specified by:
getPagesCount in interface WikiPageService
Throws:
PortalException

getPagesCount

public int getPagesCount(long groupId,
                         long userId,
                         long nodeId,
                         int status)
                  throws PortalException
Specified by:
getPagesCount in interface WikiPageService
Throws:
PortalException

getPagesRSS

public String getPagesRSS(long companyId,
                          long nodeId,
                          String title,
                          int max,
                          String type,
                          double version,
                          String displayStyle,
                          String feedURL,
                          String entryURL,
                          String attachmentURLPrefix,
                          Locale locale)
                   throws PortalException
Specified by:
getPagesRSS in interface WikiPageService
Throws:
PortalException

getPagesRSS

@Deprecated
public String getPagesRSS(long companyId,
                                     long nodeId,
                                     String title,
                                     int max,
                                     String type,
                                     double version,
                                     String displayStyle,
                                     String feedURL,
                                     String entryURL,
                                     Locale locale)
                   throws PortalException
Deprecated. As of 6.2.0, replaced by getPagesRSS(long, long, String, int, String, double, String, String, String, String, java.util.Locale)

Specified by:
getPagesRSS in interface WikiPageService
Throws:
PortalException

getRecentChanges

public List<WikiPage> getRecentChanges(long groupId,
                                       long nodeId,
                                       int start,
                                       int end)
                                throws PortalException
Specified by:
getRecentChanges in interface WikiPageService
Throws:
PortalException

getRecentChangesCount

public int getRecentChangesCount(long groupId,
                                 long nodeId)
                          throws PortalException
Specified by:
getRecentChangesCount in interface WikiPageService
Throws:
PortalException

getTempFileNames

public String[] getTempFileNames(long nodeId,
                                 String folderName)
                          throws PortalException
Specified by:
getTempFileNames in interface WikiPageService
Throws:
PortalException

movePage

@Deprecated
public void movePage(long nodeId,
                                String title,
                                String newTitle,
                                ServiceContext serviceContext)
              throws PortalException
Deprecated. As of 6.2.0, replaced by renamePage(long, String, String, ServiceContext) *

Specified by:
movePage in interface WikiPageService
Throws:
PortalException

movePageAttachmentToTrash

public FileEntry movePageAttachmentToTrash(long nodeId,
                                           String title,
                                           String fileName)
                                    throws PortalException
Specified by:
movePageAttachmentToTrash in interface WikiPageService
Throws:
PortalException

movePageToTrash

public WikiPage movePageToTrash(long nodeId,
                                String title)
                         throws PortalException
Specified by:
movePageToTrash in interface WikiPageService
Throws:
PortalException

movePageToTrash

public WikiPage movePageToTrash(long nodeId,
                                String title,
                                double version)
                         throws PortalException
Specified by:
movePageToTrash in interface WikiPageService
Throws:
PortalException

renamePage

public void renamePage(long nodeId,
                       String title,
                       String newTitle,
                       ServiceContext serviceContext)
                throws PortalException
Specified by:
renamePage in interface WikiPageService
Throws:
PortalException

restorePageAttachmentFromTrash

public void restorePageAttachmentFromTrash(long nodeId,
                                           String title,
                                           String fileName)
                                    throws PortalException
Specified by:
restorePageAttachmentFromTrash in interface WikiPageService
Throws:
PortalException

restorePageFromTrash

public void restorePageFromTrash(long resourcePrimKey)
                          throws PortalException
Specified by:
restorePageFromTrash in interface WikiPageService
Throws:
PortalException

revertPage

public WikiPage revertPage(long nodeId,
                           String title,
                           double version,
                           ServiceContext serviceContext)
                    throws PortalException
Specified by:
revertPage in interface WikiPageService
Throws:
PortalException

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface WikiPageService
Parameters:
beanIdentifier - the Spring bean ID for this bean

subscribePage

public void subscribePage(long nodeId,
                          String title)
                   throws PortalException
Specified by:
subscribePage in interface WikiPageService
Throws:
PortalException

unsubscribePage

public void unsubscribePage(long nodeId,
                            String title)
                     throws PortalException
Specified by:
unsubscribePage in interface WikiPageService
Throws:
PortalException

updatePage

public WikiPage updatePage(long nodeId,
                           String title,
                           double version,
                           String content,
                           String summary,
                           boolean minorEdit,
                           String format,
                           String parentTitle,
                           String redirectTitle,
                           ServiceContext serviceContext)
                    throws PortalException
Specified by:
updatePage in interface WikiPageService
Throws:
PortalException

getWrappedWikiPageService

@Deprecated
public WikiPageService getWrappedWikiPageService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedWikiPageService

@Deprecated
public void setWrappedWikiPageService(WikiPageService wikiPageService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.wiki.service.WikiPageService)


getWrappedService

public WikiPageService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<WikiPageService>

setWrappedService

public void setWrappedService(WikiPageService wikiPageService)
Specified by:
setWrappedService in interface ServiceWrapper<WikiPageService>

Liferay 7.0-ce-m3