com.liferay.portlet.wiki.service
Class WikiPageLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portlet.wiki.service.WikiPageLocalServiceUtil

public class WikiPageLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.wiki.service.WikiPageLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.wiki.service.WikiPageLocalServiceFactory is responsible for the lookup of the bean.

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

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

Constructor Detail

WikiPageLocalServiceUtil

public WikiPageLocalServiceUtil()
Method Detail

addWikiPage

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

dynamicQuery

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

dynamicQuery

public static 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 static WikiPage updateWikiPage(WikiPage model)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getWikiNodePersistence

public static WikiNodePersistence getWikiNodePersistence()

setWikiNodePersistence

public static void setWikiNodePersistence(WikiNodePersistence wikiNodePersistence)

getWikiPagePersistence

public static WikiPagePersistence getWikiPagePersistence()

setWikiPagePersistence

public static void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence)

getWikiPageFinder

public static WikiPageFinder getWikiPageFinder()

setWikiPageFinder

public static void setWikiPageFinder(WikiPageFinder wikiPageFinder)

getWikiPageResourcePersistence

public static WikiPageResourcePersistence getWikiPageResourcePersistence()

setWikiPageResourcePersistence

public static void setWikiPageResourcePersistence(WikiPageResourcePersistence wikiPageResourcePersistence)

getResourcePersistence

public static ResourcePersistence getResourcePersistence()

setResourcePersistence

public static void setResourcePersistence(ResourcePersistence resourcePersistence)

getResourceFinder

public static ResourceFinder getResourceFinder()

setResourceFinder

public static void setResourceFinder(ResourceFinder resourceFinder)

getUserPersistence

public static UserPersistence getUserPersistence()

setUserPersistence

public static void setUserPersistence(UserPersistence userPersistence)

getUserFinder

public static UserFinder getUserFinder()

setUserFinder

public static void setUserFinder(UserFinder userFinder)

getMBMessagePersistence

public static MBMessagePersistence getMBMessagePersistence()

setMBMessagePersistence

public static void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)

getMBMessageFinder

public static MBMessageFinder getMBMessageFinder()

setMBMessageFinder

public static void setMBMessageFinder(MBMessageFinder mbMessageFinder)

getTagsAssetPersistence

public static TagsAssetPersistence getTagsAssetPersistence()

setTagsAssetPersistence

public static void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)

getTagsAssetFinder

public static TagsAssetFinder getTagsAssetFinder()

setTagsAssetFinder

public static void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)

afterPropertiesSet

public static void afterPropertiesSet()

addPage

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

addPage

public static 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.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addPage

public static 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.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addPageResources

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

addPageResources

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

addPageResources

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

addPageResources

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

deletePage

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

deletePage

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

deletePages

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

getNoAssetPages

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

getLinks

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

getOrphans

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

getPage

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

getPage

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

getPages

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

getPages

public static 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 static java.util.List getPages(long nodeId,
                                      boolean head,
                                      int begin,
                                      int end)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPages

public static 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 static int getPagesCount(long nodeId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPagesCount

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

getPagesCount

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

getPagesCount

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

getRecentChanges

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

getRecentChangesCount

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

revertPage

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

updatePage

public static 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.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateTagsAsset

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