com.liferay.portlet.wiki.service
Class WikiPageResourceLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.wiki.service.WikiPageResourceLocalServiceUtil

public class WikiPageResourceLocalServiceUtil
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.WikiPageResourceLocalService 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.WikiPageResourceLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
WikiPageResourceLocalService, WikiPageResourceLocalServiceFactory

Constructor Summary
WikiPageResourceLocalServiceUtil()
           
 
Method Summary
static WikiPageResource addWikiPageResource(WikiPageResource wikiPageResource)
           
static void deletePageResource(long nodeId, java.lang.String title)
           
static void deleteWikiPageResource(long resourcePrimKey)
           
static void deleteWikiPageResource(WikiPageResource wikiPageResource)
           
static java.util.List<WikiPageResource> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<WikiPageResource> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static WikiPageResource getPageResource(long pageResourcePrimKey)
           
static long getPageResourcePrimKey(long nodeId, java.lang.String title)
           
static WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageResourceLocalServiceUtil

public WikiPageResourceLocalServiceUtil()
Method Detail

addWikiPageResource

public static WikiPageResource addWikiPageResource(WikiPageResource wikiPageResource)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteWikiPageResource

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

deleteWikiPageResource

public static void deleteWikiPageResource(WikiPageResource wikiPageResource)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

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

dynamicQuery

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

updateWikiPageResource

public static WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deletePageResource

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

getPageResource

public static WikiPageResource getPageResource(long pageResourcePrimKey)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPageResourcePrimKey

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