com.liferay.portlet.wiki.service
Class WikiPageLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.wiki.service.WikiPageLocalServiceWrapper
All Implemented Interfaces:
WikiPageLocalService

public class WikiPageLocalServiceWrapper
extends java.lang.Object
implements WikiPageLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for WikiPageLocalService.

Author:
Brian Wing Shun Chan
See Also:
WikiPageLocalService
Generated:

Constructor Summary
WikiPageLocalServiceWrapper(WikiPageLocalService wikiPageLocalService)
           
 
Method Summary
 WikiPage addPage(long userId, long nodeId, java.lang.String title, java.lang.String content, java.lang.String summary, boolean minorEdit, ServiceContext serviceContext)
           
 WikiPage addPage(java.lang.String uuid, long userId, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String summary, boolean minorEdit, java.lang.String format, boolean head, java.lang.String parentTitle, java.lang.String redirectTitle, ServiceContext serviceContext)
           
 void addPageAttachment(long companyId, java.lang.String dirName, java.util.Date modifiedDate, java.lang.String fileName, java.io.InputStream inputStream)
           
 void addPageAttachments(long nodeId, java.lang.String title, java.util.List<ObjectValuePair<java.lang.String,byte[]>> files)
           
 void addPageResources(long nodeId, java.lang.String title, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addPageResources(long nodeId, java.lang.String title, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addPageResources(WikiPage page, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addPageResources(WikiPage page, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 WikiPage addWikiPage(WikiPage wikiPage)
           
 void changeParent(long userId, long nodeId, java.lang.String title, java.lang.String newParentTitle, ServiceContext serviceContext)
           
 WikiPage createWikiPage(long pageId)
           
 void deletePage(long nodeId, java.lang.String title)
           
 void deletePage(WikiPage page)
           
 void deletePageAttachment(long nodeId, java.lang.String title, java.lang.String fileName)
           
 void deletePages(long nodeId)
           
 void deleteWikiPage(long pageId)
           
 void deleteWikiPage(WikiPage wikiPage)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 java.util.List<WikiPage> getChildren(long nodeId, boolean head, java.lang.String parentTitle)
           
 WikiPage getDraftPage(long nodeId, java.lang.String title)
           
 java.util.List<WikiPage> getDraftPages(long userId, long nodeId, int start, int end)
           
 int getDraftPagesCount(long userId, long nodeId)
           
 java.util.List<WikiPage> getIncomingLinks(long nodeId, java.lang.String title)
           
 java.util.List<WikiPage> getNoAssetPages()
           
 java.util.List<WikiPage> getOrphans(long nodeId)
           
 java.util.List<WikiPage> getOutgoingLinks(long nodeId, java.lang.String title)
           
 WikiPage getPage(long resourcePrimKey)
           
 WikiPage getPage(long nodeId, java.lang.String title)
           
 WikiPage getPage(long nodeId, java.lang.String title, boolean head)
           
 WikiPage getPage(long nodeId, java.lang.String title, double version)
           
 WikiPageDisplay getPageDisplay(long nodeId, java.lang.String title, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix)
           
 java.util.List<WikiPage> getPages(long nodeId, boolean head, int start, int end)
           
 java.util.List<WikiPage> getPages(long nodeId, int start, int end)
           
 java.util.List<WikiPage> getPages(long resourcePrimKey, long nodeId, int status)
           
 java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, boolean head, int start, int end)
           
 java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, int start, int end)
           
 java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, int start, int end, OrderByComparator obc)
           
 java.util.List<WikiPage> getPages(java.lang.String format)
           
 int getPagesCount(long nodeId)
           
 int getPagesCount(long nodeId, boolean head)
           
 int getPagesCount(long nodeId, java.lang.String title)
           
 int getPagesCount(long nodeId, java.lang.String title, boolean head)
           
 int getPagesCount(java.lang.String format)
           
 java.util.List<WikiPage> getRecentChanges(long nodeId, int start, int end)
           
 int getRecentChangesCount(long nodeId)
           
 WikiPage getWikiPage(long pageId)
           
 WikiPage getWikiPageByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<WikiPage> getWikiPages(int start, int end)
           
 int getWikiPagesCount()
           
 WikiPageLocalService getWrappedWikiPageLocalService()
           
 boolean hasDraftPage(long nodeId, java.lang.String title)
           
 void movePage(long userId, long nodeId, java.lang.String title, java.lang.String newTitle, boolean strict, ServiceContext serviceContext)
           
 void movePage(long userId, long nodeId, java.lang.String title, java.lang.String newTitle, ServiceContext serviceContext)
           
 WikiPage revertPage(long userId, long nodeId, java.lang.String title, double version, ServiceContext serviceContext)
           
 void subscribePage(long userId, long nodeId, java.lang.String title)
           
 void unsubscribePage(long userId, long nodeId, java.lang.String title)
           
 void updateAsset(long userId, WikiPage page, long[] assetCategoryIds, java.lang.String[] assetTagNames)
           
 WikiPage updatePage(long userId, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String summary, boolean minorEdit, java.lang.String format, java.lang.String parentTitle, java.lang.String redirectTitle, ServiceContext serviceContext)
           
 WikiPage updateStatus(long userId, long resourcePrimKey, int status, ServiceContext serviceContext)
           
 WikiPage updateStatus(long userId, WikiPage page, int status, ServiceContext serviceContext)
           
 WikiPage updateWikiPage(WikiPage wikiPage)
           
 WikiPage updateWikiPage(WikiPage wikiPage, boolean merge)
           
 void validateTitle(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageLocalServiceWrapper

public WikiPageLocalServiceWrapper(WikiPageLocalService wikiPageLocalService)
Method Detail

addWikiPage

public WikiPage addWikiPage(WikiPage wikiPage)
                     throws SystemException
Specified by:
addWikiPage in interface WikiPageLocalService
Throws:
SystemException

createWikiPage

public WikiPage createWikiPage(long pageId)
Specified by:
createWikiPage in interface WikiPageLocalService

deleteWikiPage

public void deleteWikiPage(long pageId)
                    throws PortalException,
                           SystemException
Specified by:
deleteWikiPage in interface WikiPageLocalService
Throws:
PortalException
SystemException

deleteWikiPage

public void deleteWikiPage(WikiPage wikiPage)
                    throws SystemException
Specified by:
deleteWikiPage in interface WikiPageLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Specified by:
dynamicQuery in interface WikiPageLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
dynamicQuery in interface WikiPageLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
dynamicQuery in interface WikiPageLocalService
Throws:
SystemException

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Specified by:
dynamicQueryCount in interface WikiPageLocalService
Throws:
SystemException

getWikiPage

public WikiPage getWikiPage(long pageId)
                     throws PortalException,
                            SystemException
Specified by:
getWikiPage in interface WikiPageLocalService
Throws:
PortalException
SystemException

getWikiPageByUuidAndGroupId

public WikiPage getWikiPageByUuidAndGroupId(java.lang.String uuid,
                                            long groupId)
                                     throws PortalException,
                                            SystemException
Specified by:
getWikiPageByUuidAndGroupId in interface WikiPageLocalService
Throws:
PortalException
SystemException

getWikiPages

public java.util.List<WikiPage> getWikiPages(int start,
                                             int end)
                                      throws SystemException
Specified by:
getWikiPages in interface WikiPageLocalService
Throws:
SystemException

getWikiPagesCount

public int getWikiPagesCount()
                      throws SystemException
Specified by:
getWikiPagesCount in interface WikiPageLocalService
Throws:
SystemException

updateWikiPage

public WikiPage updateWikiPage(WikiPage wikiPage)
                        throws SystemException
Specified by:
updateWikiPage in interface WikiPageLocalService
Throws:
SystemException

updateWikiPage

public WikiPage updateWikiPage(WikiPage wikiPage,
                               boolean merge)
                        throws SystemException
Specified by:
updateWikiPage in interface WikiPageLocalService
Throws:
SystemException

addPage

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

addPage

public WikiPage addPage(java.lang.String uuid,
                        long userId,
                        long nodeId,
                        java.lang.String title,
                        double version,
                        java.lang.String content,
                        java.lang.String summary,
                        boolean minorEdit,
                        java.lang.String format,
                        boolean head,
                        java.lang.String parentTitle,
                        java.lang.String redirectTitle,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addPage in interface WikiPageLocalService
Throws:
PortalException
SystemException

addPageAttachment

public void addPageAttachment(long companyId,
                              java.lang.String dirName,
                              java.util.Date modifiedDate,
                              java.lang.String fileName,
                              java.io.InputStream inputStream)
                       throws PortalException,
                              SystemException
Specified by:
addPageAttachment in interface WikiPageLocalService
Throws:
PortalException
SystemException

addPageAttachments

public void addPageAttachments(long nodeId,
                               java.lang.String title,
                               java.util.List<ObjectValuePair<java.lang.String,byte[]>> files)
                        throws PortalException,
                               SystemException
Specified by:
addPageAttachments in interface WikiPageLocalService
Throws:
PortalException
SystemException

addPageResources

public void addPageResources(long nodeId,
                             java.lang.String title,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws PortalException,
                             SystemException
Specified by:
addPageResources in interface WikiPageLocalService
Throws:
PortalException
SystemException

addPageResources

public void addPageResources(WikiPage page,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws PortalException,
                             SystemException
Specified by:
addPageResources in interface WikiPageLocalService
Throws:
PortalException
SystemException

addPageResources

public void addPageResources(long nodeId,
                             java.lang.String title,
                             java.lang.String[] communityPermissions,
                             java.lang.String[] guestPermissions)
                      throws PortalException,
                             SystemException
Specified by:
addPageResources in interface WikiPageLocalService
Throws:
PortalException
SystemException

addPageResources

public void addPageResources(WikiPage page,
                             java.lang.String[] communityPermissions,
                             java.lang.String[] guestPermissions)
                      throws PortalException,
                             SystemException
Specified by:
addPageResources in interface WikiPageLocalService
Throws:
PortalException
SystemException

changeParent

public void changeParent(long userId,
                         long nodeId,
                         java.lang.String title,
                         java.lang.String newParentTitle,
                         ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Specified by:
changeParent in interface WikiPageLocalService
Throws:
PortalException
SystemException

deletePage

public void deletePage(long nodeId,
                       java.lang.String title)
                throws PortalException,
                       SystemException
Specified by:
deletePage in interface WikiPageLocalService
Throws:
PortalException
SystemException

deletePage

public void deletePage(WikiPage page)
                throws PortalException,
                       SystemException
Specified by:
deletePage in interface WikiPageLocalService
Throws:
PortalException
SystemException

deletePageAttachment

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

deletePages

public void deletePages(long nodeId)
                 throws PortalException,
                        SystemException
Specified by:
deletePages in interface WikiPageLocalService
Throws:
PortalException
SystemException

getChildren

public java.util.List<WikiPage> getChildren(long nodeId,
                                            boolean head,
                                            java.lang.String parentTitle)
                                     throws SystemException
Specified by:
getChildren in interface WikiPageLocalService
Throws:
SystemException

getDraftPage

public WikiPage getDraftPage(long nodeId,
                             java.lang.String title)
                      throws PortalException,
                             SystemException
Specified by:
getDraftPage in interface WikiPageLocalService
Throws:
PortalException
SystemException

getDraftPages

public java.util.List<WikiPage> getDraftPages(long userId,
                                              long nodeId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
getDraftPages in interface WikiPageLocalService
Throws:
SystemException

getDraftPagesCount

public int getDraftPagesCount(long userId,
                              long nodeId)
                       throws SystemException
Specified by:
getDraftPagesCount in interface WikiPageLocalService
Throws:
SystemException

getIncomingLinks

public java.util.List<WikiPage> getIncomingLinks(long nodeId,
                                                 java.lang.String title)
                                          throws PortalException,
                                                 SystemException
Specified by:
getIncomingLinks in interface WikiPageLocalService
Throws:
PortalException
SystemException

getNoAssetPages

public java.util.List<WikiPage> getNoAssetPages()
                                         throws SystemException
Specified by:
getNoAssetPages in interface WikiPageLocalService
Throws:
SystemException

getOrphans

public java.util.List<WikiPage> getOrphans(long nodeId)
                                    throws PortalException,
                                           SystemException
Specified by:
getOrphans in interface WikiPageLocalService
Throws:
PortalException
SystemException

getOutgoingLinks

public java.util.List<WikiPage> getOutgoingLinks(long nodeId,
                                                 java.lang.String title)
                                          throws PortalException,
                                                 SystemException
Specified by:
getOutgoingLinks in interface WikiPageLocalService
Throws:
PortalException
SystemException

getPage

public WikiPage getPage(long resourcePrimKey)
                 throws PortalException,
                        SystemException
Specified by:
getPage in interface WikiPageLocalService
Throws:
PortalException
SystemException

getPage

public WikiPage getPage(long nodeId,
                        java.lang.String title)
                 throws PortalException,
                        SystemException
Specified by:
getPage in interface WikiPageLocalService
Throws:
PortalException
SystemException

getPage

public WikiPage getPage(long nodeId,
                        java.lang.String title,
                        boolean head)
                 throws PortalException,
                        SystemException
Specified by:
getPage in interface WikiPageLocalService
Throws:
PortalException
SystemException

getPage

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

getPageDisplay

public WikiPageDisplay getPageDisplay(long nodeId,
                                      java.lang.String title,
                                      javax.portlet.PortletURL viewPageURL,
                                      javax.portlet.PortletURL editPageURL,
                                      java.lang.String attachmentURLPrefix)
                               throws PortalException,
                                      SystemException
Specified by:
getPageDisplay in interface WikiPageLocalService
Throws:
PortalException
SystemException

getPages

public java.util.List<WikiPage> getPages(long nodeId,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
getPages in interface WikiPageLocalService
Throws:
SystemException

getPages

public java.util.List<WikiPage> getPages(java.lang.String format)
                                  throws SystemException
Specified by:
getPages in interface WikiPageLocalService
Throws:
SystemException

getPages

public java.util.List<WikiPage> getPages(long nodeId,
                                         java.lang.String title,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
getPages in interface WikiPageLocalService
Throws:
SystemException

getPages

public java.util.List<WikiPage> getPages(long nodeId,
                                         java.lang.String title,
                                         int start,
                                         int end,
                                         OrderByComparator obc)
                                  throws SystemException
Specified by:
getPages in interface WikiPageLocalService
Throws:
SystemException

getPages

public java.util.List<WikiPage> getPages(long nodeId,
                                         boolean head,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
getPages in interface WikiPageLocalService
Throws:
SystemException

getPages

public java.util.List<WikiPage> getPages(long resourcePrimKey,
                                         long nodeId,
                                         int status)
                                  throws SystemException
Specified by:
getPages in interface WikiPageLocalService
Throws:
SystemException

getPages

public java.util.List<WikiPage> getPages(long nodeId,
                                         java.lang.String title,
                                         boolean head,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
getPages in interface WikiPageLocalService
Throws:
SystemException

getPagesCount

public int getPagesCount(long nodeId)
                  throws SystemException
Specified by:
getPagesCount in interface WikiPageLocalService
Throws:
SystemException

getPagesCount

public int getPagesCount(long nodeId,
                         java.lang.String title)
                  throws SystemException
Specified by:
getPagesCount in interface WikiPageLocalService
Throws:
SystemException

getPagesCount

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

getPagesCount

public int getPagesCount(long nodeId,
                         java.lang.String title,
                         boolean head)
                  throws SystemException
Specified by:
getPagesCount in interface WikiPageLocalService
Throws:
SystemException

getPagesCount

public int getPagesCount(java.lang.String format)
                  throws SystemException
Specified by:
getPagesCount in interface WikiPageLocalService
Throws:
SystemException

getRecentChanges

public java.util.List<WikiPage> getRecentChanges(long nodeId,
                                                 int start,
                                                 int end)
                                          throws SystemException
Specified by:
getRecentChanges in interface WikiPageLocalService
Throws:
SystemException

getRecentChangesCount

public int getRecentChangesCount(long nodeId)
                          throws SystemException
Specified by:
getRecentChangesCount in interface WikiPageLocalService
Throws:
SystemException

hasDraftPage

public boolean hasDraftPage(long nodeId,
                            java.lang.String title)
                     throws SystemException
Specified by:
hasDraftPage in interface WikiPageLocalService
Throws:
SystemException

movePage

public void movePage(long userId,
                     long nodeId,
                     java.lang.String title,
                     java.lang.String newTitle,
                     ServiceContext serviceContext)
              throws PortalException,
                     SystemException
Specified by:
movePage in interface WikiPageLocalService
Throws:
PortalException
SystemException

movePage

public void movePage(long userId,
                     long nodeId,
                     java.lang.String title,
                     java.lang.String newTitle,
                     boolean strict,
                     ServiceContext serviceContext)
              throws PortalException,
                     SystemException
Specified by:
movePage in interface WikiPageLocalService
Throws:
PortalException
SystemException

revertPage

public WikiPage revertPage(long userId,
                           long nodeId,
                           java.lang.String title,
                           double version,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
revertPage in interface WikiPageLocalService
Throws:
PortalException
SystemException

subscribePage

public void subscribePage(long userId,
                          long nodeId,
                          java.lang.String title)
                   throws PortalException,
                          SystemException
Specified by:
subscribePage in interface WikiPageLocalService
Throws:
PortalException
SystemException

unsubscribePage

public void unsubscribePage(long userId,
                            long nodeId,
                            java.lang.String title)
                     throws PortalException,
                            SystemException
Specified by:
unsubscribePage in interface WikiPageLocalService
Throws:
PortalException
SystemException

updateAsset

public void updateAsset(long userId,
                        WikiPage page,
                        long[] assetCategoryIds,
                        java.lang.String[] assetTagNames)
                 throws PortalException,
                        SystemException
Specified by:
updateAsset in interface WikiPageLocalService
Throws:
PortalException
SystemException

updatePage

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

updateStatus

public WikiPage updateStatus(long userId,
                             long resourcePrimKey,
                             int status,
                             ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Specified by:
updateStatus in interface WikiPageLocalService
Throws:
PortalException
SystemException

updateStatus

public WikiPage updateStatus(long userId,
                             WikiPage page,
                             int status,
                             ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Specified by:
updateStatus in interface WikiPageLocalService
Throws:
PortalException
SystemException

validateTitle

public void validateTitle(java.lang.String title)
                   throws PortalException
Specified by:
validateTitle in interface WikiPageLocalService
Throws:
PortalException

getWrappedWikiPageLocalService

public WikiPageLocalService getWrappedWikiPageLocalService()