Liferay 6.2-ce-ga5

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 addTempPageAttachment(long nodeId, String fileName, String tempFolderName, InputStream inputStream, String mimeType)
           
 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 deleteTempPageAttachment(long nodeId, String fileName, String tempFolderName)
           
 void deleteTrashPageAttachments(long nodeId, String title)
           
 void discardDraft(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 obc)
           
 List<WikiPage> getPages(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status, int start, int end, OrderByComparator 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 nodeId, boolean head, long userId, boolean includeOwner, int status)
           
 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[] getTempPageAttachmentNames(long nodeId, String tempFolderName)
           
 WikiPageService getWrappedService()
           
 WikiPageService getWrappedWikiPageService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 void movePage(long nodeId, String title, String newTitle, ServiceContext serviceContext)
           
 FileEntry movePageAttachmentToTrash(long nodeId, String title, String fileName)
           
 WikiPage movePageToTrash(long nodeId, String title)
           
 WikiPage movePageToTrash(long nodeId, String title, double version)
           
 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

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

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

addPage

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

addPage

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

addPageAttachment

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

addPageAttachment

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

addPageAttachments

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

addTempPageAttachment

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

changeParent

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

copyPageAttachments

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

deletePage

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

deletePage

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

Specified by:
deletePage in interface WikiPageService
Throws:
PortalException
SystemException

deletePageAttachment

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

deletePageAttachments

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

deleteTempPageAttachment

public void deleteTempPageAttachment(long nodeId,
                                     String fileName,
                                     String tempFolderName)
                              throws PortalException,
                                     SystemException
Specified by:
deleteTempPageAttachment in interface WikiPageService
Throws:
PortalException
SystemException

deleteTrashPageAttachments

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

discardDraft

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

getChildren

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

getDraftPage

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

getNodePages

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

getNodePagesRSS

public String getNodePagesRSS(long nodeId,
                              int max,
                              String type,
                              double version,
                              String displayStyle,
                              String feedURL,
                              String entryURL)
                       throws PortalException,
                              SystemException
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
SystemException

getNodePagesRSS

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

getOrphans

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

getPage

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

getPage

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

getPage

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

getPage

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

getPages

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

getPages

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

getPages

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

getPagesCount

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

getPagesCount

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

getPagesCount

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

getPagesRSS

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,
                          SystemException
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
SystemException

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,
                          SystemException
Specified by:
getPagesRSS in interface WikiPageService
Throws:
PortalException
SystemException

getRecentChanges

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

getRecentChangesCount

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

getTempPageAttachmentNames

public String[] getTempPageAttachmentNames(long nodeId,
                                           String tempFolderName)
                                    throws PortalException,
                                           SystemException
Specified by:
getTempPageAttachmentNames in interface WikiPageService
Throws:
PortalException
SystemException

movePage

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

movePageAttachmentToTrash

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

movePageToTrash

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

movePageToTrash

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

restorePageAttachmentFromTrash

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

restorePageFromTrash

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

revertPage

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

subscribePage

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

unsubscribePage

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

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,
                           SystemException
Specified by:
updatePage in interface WikiPageService
Throws:
PortalException
SystemException

getWrappedWikiPageService

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


setWrappedWikiPageService

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 6.2-ce-ga5