Liferay 6.1.2-ce-ga3

com.liferay.portlet.wiki.service
Class WikiPageLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.wiki.service.WikiPageLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<WikiPageLocalService>, WikiPageLocalService

public class WikiPageLocalServiceWrapper
extends Object
implements WikiPageLocalService, ServiceWrapper<WikiPageLocalService>

This class is a wrapper for WikiPageLocalService.

See Also:
WikiPageLocalService

Constructor Summary
WikiPageLocalServiceWrapper(WikiPageLocalService wikiPageLocalService)
           
 
Method Summary
 WikiPage addPage(long userId, long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, boolean head, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
 WikiPage addPage(long userId, long nodeId, String title, String content, String summary, boolean minorEdit, ServiceContext serviceContext)
           
 void addPageAttachment(long userId, long nodeId, String title, String fileName, File file)
           
 void addPageAttachment(long userId, long nodeId, String title, String fileName, InputStream inputStream)
           
 void addPageAttachment(long companyId, String dirName, Date modifiedDate, String fileName, InputStream inputStream)
           
 void addPageAttachments(long userId, long nodeId, String title, List<ObjectValuePair<String,InputStream>> inputStreams)
           
 void addPageResources(long nodeId, String title, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addPageResources(long nodeId, String title, String[] groupPermissions, String[] guestPermissions)
           
 void addPageResources(WikiPage page, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addPageResources(WikiPage page, String[] groupPermissions, String[] guestPermissions)
           
 String addTempPageAttachment(long userId, String fileName, String tempFolderName, InputStream inputStream)
           
 WikiPage addWikiPage(WikiPage wikiPage)
          Adds the wiki page to the database.
 void changeParent(long userId, long nodeId, String title, String newParentTitle, ServiceContext serviceContext)
           
 WikiPage createWikiPage(long pageId)
          Creates a new wiki page with the primary key.
 void deletePage(long nodeId, String title)
           
 void deletePage(long nodeId, String title, double version)
           
 void deletePage(WikiPage page)
           
 void deletePageAttachment(long nodeId, String title, String fileName)
           
 void deletePages(long nodeId)
           
 void deleteTempPageAttachment(long userId, String fileName, String tempFolderName)
           
 WikiPage deleteWikiPage(long pageId)
          Deletes the wiki page with the primary key from the database.
 WikiPage deleteWikiPage(WikiPage wikiPage)
          Deletes the wiki page from the database.
 DynamicQuery dynamicQuery()
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 WikiPage fetchWikiPage(long pageId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<WikiPage> getChildren(long nodeId, boolean head, String parentTitle)
           
 WikiPage getDraftPage(long nodeId, String title)
           
 List<WikiPage> getIncomingLinks(long nodeId, String title)
           
 List<WikiPage> getNoAssetPages()
           
 List<WikiPage> getOrphans(long nodeId)
           
 List<WikiPage> getOutgoingLinks(long nodeId, String title)
           
 WikiPage getPage(long resourcePrimKey)
           
 WikiPage getPage(long resourcePrimKey, Boolean head)
           
 WikiPage getPage(long nodeId, String title)
           
 WikiPage getPage(long nodeId, String title, Boolean head)
           
 WikiPage getPage(long nodeId, String title, double version)
           
 WikiPage getPageByPageId(long pageId)
           
 WikiPageDisplay getPageDisplay(long nodeId, String title, PortletURL viewPageURL, PortletURL editPageURL, String attachmentURLPrefix)
           
 WikiPageDisplay getPageDisplay(WikiPage page, PortletURL viewPageURL, PortletURL editPageURL, String attachmentURLPrefix)
           
 List<WikiPage> getPages(long nodeId, boolean head, int start, int end)
           
 List<WikiPage> getPages(long nodeId, boolean head, int start, int end, OrderByComparator obc)
           
 List<WikiPage> getPages(long nodeId, int start, int end)
           
 List<WikiPage> getPages(long nodeId, int start, int end, OrderByComparator obc)
           
 List<WikiPage> getPages(long resourcePrimKey, long nodeId, int status)
           
 List<WikiPage> getPages(long userId, long nodeId, int status, int start, int end)
           
 List<WikiPage> getPages(long nodeId, String title, boolean head, int start, int end)
           
 List<WikiPage> getPages(long nodeId, String title, int start, int end)
           
 List<WikiPage> getPages(long nodeId, String title, int start, int end, OrderByComparator obc)
           
 List<WikiPage> getPages(String format)
           
 int getPagesCount(long nodeId)
           
 int getPagesCount(long nodeId, boolean head)
           
 int getPagesCount(long userId, long nodeId, int status)
           
 int getPagesCount(long nodeId, String title)
           
 int getPagesCount(long nodeId, String title, boolean head)
           
 int getPagesCount(String format)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 List<WikiPage> getRecentChanges(long nodeId, int start, int end)
          Deprecated. getRecentChanges(long, long, int, int)
 List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end)
           
 int getRecentChangesCount(long nodeId)
          Deprecated. getRecentChangesCount(long, long)
 int getRecentChangesCount(long groupId, long nodeId)
           
 String[] getTempPageAttachmentNames(long userId, String tempFolderName)
           
 WikiPage getWikiPage(long pageId)
          Returns the wiki page with the primary key.
 WikiPage getWikiPageByUuidAndGroupId(String uuid, long groupId)
          Returns the wiki page with the UUID in the group.
 List<WikiPage> getWikiPages(int start, int end)
          Returns a range of all the wiki pages.
 int getWikiPagesCount()
          Returns the number of wiki pages.
 WikiPageLocalService getWrappedService()
           
 WikiPageLocalService getWrappedWikiPageLocalService()
          Deprecated. Renamed to getWrappedService()
 boolean hasDraftPage(long nodeId, String title)
           
 void movePage(long userId, long nodeId, String title, String newTitle, boolean strict, ServiceContext serviceContext)
           
 void movePage(long userId, long nodeId, String title, String newTitle, ServiceContext serviceContext)
           
 WikiPage revertPage(long userId, long nodeId, String title, double version, ServiceContext serviceContext)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedService(WikiPageLocalService wikiPageLocalService)
           
 void setWrappedWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.wiki.service.WikiPageLocalService)
 void subscribePage(long userId, long nodeId, String title)
           
 void unsubscribePage(long userId, long nodeId, String title)
           
 void updateAsset(long userId, WikiPage page, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds)
           
 WikiPage updatePage(long userId, long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, String parentTitle, 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)
          Updates the wiki page in the database or adds it if it does not yet exist.
 WikiPage updateWikiPage(WikiPage wikiPage, boolean merge)
          Updates the wiki page in the database or adds it if it does not yet exist.
 void validateTitle(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
Adds the wiki page to the database. Also notifies the appropriate model listeners.

Specified by:
addWikiPage in interface WikiPageLocalService
Parameters:
wikiPage - the wiki page
Returns:
the wiki page that was added
Throws:
SystemException - if a system exception occurred

createWikiPage

public WikiPage createWikiPage(long pageId)
Creates a new wiki page with the primary key. Does not add the wiki page to the database.

Specified by:
createWikiPage in interface WikiPageLocalService
Parameters:
pageId - the primary key for the new wiki page
Returns:
the new wiki page

deleteWikiPage

public WikiPage deleteWikiPage(long pageId)
                        throws PortalException,
                               SystemException
Deletes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWikiPage in interface WikiPageLocalService
Parameters:
pageId - the primary key of the wiki page
Returns:
the wiki page that was removed
Throws:
PortalException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

deleteWikiPage

public WikiPage deleteWikiPage(WikiPage wikiPage)
                        throws SystemException
Deletes the wiki page from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWikiPage in interface WikiPageLocalService
Parameters:
wikiPage - the wiki page
Returns:
the wiki page that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface WikiPageLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface WikiPageLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface WikiPageLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface WikiPageLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface WikiPageLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchWikiPage

public WikiPage fetchWikiPage(long pageId)
                       throws SystemException
Specified by:
fetchWikiPage in interface WikiPageLocalService
Throws:
SystemException

getWikiPage

public WikiPage getWikiPage(long pageId)
                     throws PortalException,
                            SystemException
Returns the wiki page with the primary key.

Specified by:
getWikiPage in interface WikiPageLocalService
Parameters:
pageId - the primary key of the wiki page
Returns:
the wiki page
Throws:
PortalException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface WikiPageLocalService
Throws:
PortalException
SystemException

getWikiPageByUuidAndGroupId

public WikiPage getWikiPageByUuidAndGroupId(String uuid,
                                            long groupId)
                                     throws PortalException,
                                            SystemException
Returns the wiki page with the UUID in the group.

Specified by:
getWikiPageByUuidAndGroupId in interface WikiPageLocalService
Parameters:
uuid - the UUID of wiki page
groupId - the group id of the wiki page
Returns:
the wiki page
Throws:
PortalException - if a wiki page with the UUID in the group could not be found
SystemException - if a system exception occurred

getWikiPages

public List<WikiPage> getWikiPages(int start,
                                   int end)
                            throws SystemException
Returns a range of all the wiki pages.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getWikiPages in interface WikiPageLocalService
Parameters:
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of wiki pages
Throws:
SystemException - if a system exception occurred

getWikiPagesCount

public int getWikiPagesCount()
                      throws SystemException
Returns the number of wiki pages.

Specified by:
getWikiPagesCount in interface WikiPageLocalService
Returns:
the number of wiki pages
Throws:
SystemException - if a system exception occurred

updateWikiPage

public WikiPage updateWikiPage(WikiPage wikiPage)
                        throws SystemException
Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateWikiPage in interface WikiPageLocalService
Parameters:
wikiPage - the wiki page
Returns:
the wiki page that was updated
Throws:
SystemException - if a system exception occurred

updateWikiPage

public WikiPage updateWikiPage(WikiPage wikiPage,
                               boolean merge)
                        throws SystemException
Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateWikiPage in interface WikiPageLocalService
Parameters:
wikiPage - the wiki page
merge - whether to merge the wiki page with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the wiki page that was updated
Throws:
SystemException - if a system exception occurred

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface WikiPageLocalService
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 WikiPageLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addPage

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

addPage

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

addPageAttachment

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

addPageAttachment

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

addPageAttachment

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

addPageAttachments

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

addPageResources

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

addPageResources

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

addPageResources

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

addPageResources

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

addTempPageAttachment

public String addTempPageAttachment(long userId,
                                    String fileName,
                                    String tempFolderName,
                                    InputStream inputStream)
                             throws PortalException,
                                    SystemException
Specified by:
addTempPageAttachment in interface WikiPageLocalService
Throws:
PortalException
SystemException

changeParent

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

deletePage

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

deletePage

public void deletePage(long nodeId,
                       String title,
                       double version)
                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,
                                 String title,
                                 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

deleteTempPageAttachment

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

getChildren

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

getDraftPage

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

getIncomingLinks

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

getNoAssetPages

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

getOrphans

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

getOutgoingLinks

public List<WikiPage> getOutgoingLinks(long nodeId,
                                       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 resourcePrimKey,
                        Boolean head)
                 throws PortalException,
                        SystemException
Specified by:
getPage in interface WikiPageLocalService
Throws:
PortalException
SystemException

getPage

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

getPage

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

getPage

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

getPageByPageId

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

getPageDisplay

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

getPageDisplay

public WikiPageDisplay getPageDisplay(WikiPage page,
                                      PortletURL viewPageURL,
                                      PortletURL editPageURL,
                                      String attachmentURLPrefix)
                               throws PortalException,
                                      SystemException
Specified by:
getPageDisplay in interface WikiPageLocalService
Throws:
PortalException
SystemException

getPages

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

getPages

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

getPages

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

getPages

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

getPages

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

getPages

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

getPages

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

getPages

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

getPages

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

getPages

public List<WikiPage> getPages(String format)
                        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,
                         boolean head)
                  throws SystemException
Specified by:
getPagesCount in interface WikiPageLocalService
Throws:
SystemException

getPagesCount

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

getPagesCount

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

getPagesCount

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

getPagesCount

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

getRecentChanges

public List<WikiPage> getRecentChanges(long nodeId,
                                       int start,
                                       int end)
                                throws PortalException,
                                       SystemException
Deprecated. getRecentChanges(long, long, int, int)

Specified by:
getRecentChanges in interface WikiPageLocalService
Throws:
PortalException
SystemException

getRecentChanges

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

getRecentChangesCount

public int getRecentChangesCount(long nodeId)
                          throws PortalException,
                                 SystemException
Deprecated. getRecentChangesCount(long, long)

Specified by:
getRecentChangesCount in interface WikiPageLocalService
Throws:
PortalException
SystemException

getRecentChangesCount

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

getTempPageAttachmentNames

public String[] getTempPageAttachmentNames(long userId,
                                           String tempFolderName)
Specified by:
getTempPageAttachmentNames in interface WikiPageLocalService

hasDraftPage

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

movePage

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

movePage

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

revertPage

public WikiPage revertPage(long userId,
                           long nodeId,
                           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,
                          String title)
                   throws PortalException,
                          SystemException
Specified by:
subscribePage in interface WikiPageLocalService
Throws:
PortalException
SystemException

unsubscribePage

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

updateAsset

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

updatePage

public WikiPage updatePage(long userId,
                           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 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(String title)
                   throws PortalException
Specified by:
validateTitle in interface WikiPageLocalService
Throws:
PortalException

getWrappedWikiPageLocalService

public WikiPageLocalService getWrappedWikiPageLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedWikiPageLocalService

public void setWrappedWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.wiki.service.WikiPageLocalService)


getWrappedService

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

setWrappedService

public void setWrappedService(WikiPageLocalService wikiPageLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<WikiPageLocalService>

Liferay 6.1.2-ce-ga3