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 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 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 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 WikiPage revertPage(long userId, long nodeId, java.lang.String title, double version)
           
static WikiPage updatePage(long userId, long nodeId, java.lang.String title, java.lang.String content, java.lang.String format, 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

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

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

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