com.liferay.portlet.wiki.service
Interface WikiPageLocalService


public interface WikiPageLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
WikiPageLocalServiceFactory, WikiPageLocalServiceUtil

Method Summary
 WikiPage addPage(long userId, long nodeId, java.lang.String title)
           
 WikiPage addPage(long userId, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String format, boolean head, java.lang.String[] tagsEntries)
           
 WikiPage addPage(java.lang.String uuid, long userId, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String format, boolean head, java.lang.String[] tagsEntries)
           
 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(WikiNode node, WikiPage page, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addPageResources(WikiNode node, WikiPage page, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 WikiPage addWikiPage(WikiPage model)
           
 void afterPropertiesSet()
           
 void deletePage(long nodeId, java.lang.String title)
           
 void deletePage(WikiPage page)
           
 void deletePages(long nodeId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getLinks(long nodeId, java.lang.String title)
           
 MBMessageFinder getMBMessageFinder()
           
 MBMessagePersistence getMBMessagePersistence()
           
 java.util.List getNoAssetPages()
           
 java.util.List getOrphans(long nodeId)
           
 WikiPage getPage(long nodeId, java.lang.String title)
           
 WikiPage getPage(long nodeId, java.lang.String title, double version)
           
 java.util.List getPages(long nodeId, boolean head, int begin, int end)
           
 java.util.List getPages(long nodeId, int begin, int end)
           
 java.util.List getPages(long nodeId, java.lang.String title, boolean head, int begin, int end)
           
 java.util.List getPages(long nodeId, java.lang.String title, int begin, int end)
           
 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)
           
 java.util.List getRecentChanges(long nodeId, int begin, int end)
           
 int getRecentChangesCount(long nodeId)
           
 ResourceFinder getResourceFinder()
           
 ResourcePersistence getResourcePersistence()
           
 TagsAssetFinder getTagsAssetFinder()
           
 TagsAssetPersistence getTagsAssetPersistence()
           
 UserFinder getUserFinder()
           
 UserPersistence getUserPersistence()
           
 WikiNodePersistence getWikiNodePersistence()
           
 WikiPageFinder getWikiPageFinder()
           
 WikiPagePersistence getWikiPagePersistence()
           
 WikiPageResourcePersistence getWikiPageResourcePersistence()
           
 WikiPage revertPage(long userId, long nodeId, java.lang.String title, double version)
           
 void setMBMessageFinder(MBMessageFinder mbMessageFinder)
           
 void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
           
 void setResourceFinder(ResourceFinder resourceFinder)
           
 void setResourcePersistence(ResourcePersistence resourcePersistence)
           
 void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
           
 void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
           
 void setUserFinder(UserFinder userFinder)
           
 void setUserPersistence(UserPersistence userPersistence)
           
 void setWikiNodePersistence(WikiNodePersistence wikiNodePersistence)
           
 void setWikiPageFinder(WikiPageFinder wikiPageFinder)
           
 void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence)
           
 void setWikiPageResourcePersistence(WikiPageResourcePersistence wikiPageResourcePersistence)
           
 WikiPage updatePage(long userId, long nodeId, java.lang.String title, java.lang.String content, java.lang.String format, java.lang.String[] tagsEntries)
           
 void updateTagsAsset(long userId, WikiPage page, java.lang.String[] tagsEntries)
           
 WikiPage updateWikiPage(WikiPage model)
           
 

Method Detail

addWikiPage

public WikiPage addWikiPage(WikiPage model)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateWikiPage

public WikiPage updateWikiPage(WikiPage model)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getWikiNodePersistence

public WikiNodePersistence getWikiNodePersistence()

setWikiNodePersistence

public void setWikiNodePersistence(WikiNodePersistence wikiNodePersistence)

getWikiPagePersistence

public WikiPagePersistence getWikiPagePersistence()

setWikiPagePersistence

public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence)

getWikiPageFinder

public WikiPageFinder getWikiPageFinder()

setWikiPageFinder

public void setWikiPageFinder(WikiPageFinder wikiPageFinder)

getWikiPageResourcePersistence

public WikiPageResourcePersistence getWikiPageResourcePersistence()

setWikiPageResourcePersistence

public void setWikiPageResourcePersistence(WikiPageResourcePersistence wikiPageResourcePersistence)

getResourcePersistence

public ResourcePersistence getResourcePersistence()

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)

getResourceFinder

public ResourceFinder getResourceFinder()

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)

getUserPersistence

public UserPersistence getUserPersistence()

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)

getUserFinder

public UserFinder getUserFinder()

setUserFinder

public void setUserFinder(UserFinder userFinder)

getMBMessagePersistence

public MBMessagePersistence getMBMessagePersistence()

setMBMessagePersistence

public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)

getMBMessageFinder

public MBMessageFinder getMBMessageFinder()

setMBMessageFinder

public void setMBMessageFinder(MBMessageFinder mbMessageFinder)

getTagsAssetPersistence

public TagsAssetPersistence getTagsAssetPersistence()

setTagsAssetPersistence

public void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)

getTagsAssetFinder

public TagsAssetFinder getTagsAssetFinder()

setTagsAssetFinder

public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)

afterPropertiesSet

public void afterPropertiesSet()

addPage

public WikiPage addPage(long userId,
                        long nodeId,
                        java.lang.String title)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addPage

public WikiPage addPage(long userId,
                        long nodeId,
                        java.lang.String title,
                        double version,
                        java.lang.String content,
                        java.lang.String format,
                        boolean head,
                        java.lang.String[] tagsEntries)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

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 format,
                        boolean head,
                        java.lang.String[] tagsEntries)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addPageResources

public void addPageResources(long nodeId,
                             java.lang.String title,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addPageResources

public void addPageResources(WikiNode node,
                             WikiPage page,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addPageResources

public void addPageResources(long nodeId,
                             java.lang.String title,
                             java.lang.String[] communityPermissions,
                             java.lang.String[] guestPermissions)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addPageResources

public void addPageResources(WikiNode node,
                             WikiPage page,
                             java.lang.String[] communityPermissions,
                             java.lang.String[] guestPermissions)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deletePage

public void deletePage(long nodeId,
                       java.lang.String title)
                throws com.liferay.portal.SystemException,
                       com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deletePage

public void deletePage(WikiPage page)
                throws com.liferay.portal.SystemException,
                       com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deletePages

public void deletePages(long nodeId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getNoAssetPages

public java.util.List getNoAssetPages()
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLinks

public java.util.List getLinks(long nodeId,
                               java.lang.String title)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrphans

public java.util.List getOrphans(long nodeId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPage

public WikiPage getPage(long nodeId,
                        java.lang.String title)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPage

public WikiPage getPage(long nodeId,
                        java.lang.String title,
                        double version)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPages

public java.util.List getPages(long nodeId,
                               int begin,
                               int end)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPages

public java.util.List getPages(long nodeId,
                               java.lang.String title,
                               int begin,
                               int end)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPages

public java.util.List getPages(long nodeId,
                               boolean head,
                               int begin,
                               int end)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPages

public java.util.List getPages(long nodeId,
                               java.lang.String title,
                               boolean head,
                               int begin,
                               int end)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPagesCount

public int getPagesCount(long nodeId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPagesCount

public int getPagesCount(long nodeId,
                         java.lang.String title)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPagesCount

public int getPagesCount(long nodeId,
                         boolean head)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPagesCount

public int getPagesCount(long nodeId,
                         java.lang.String title,
                         boolean head)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRecentChanges

public java.util.List getRecentChanges(long nodeId,
                                       int begin,
                                       int end)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRecentChangesCount

public int getRecentChangesCount(long nodeId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

revertPage

public WikiPage revertPage(long userId,
                           long nodeId,
                           java.lang.String title,
                           double version)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updatePage

public WikiPage updatePage(long userId,
                           long nodeId,
                           java.lang.String title,
                           java.lang.String content,
                           java.lang.String format,
                           java.lang.String[] tagsEntries)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateTagsAsset

public void updateTagsAsset(long userId,
                            WikiPage page,
                            java.lang.String[] tagsEntries)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException