com.liferay.portlet.wiki.service
Class WikiPageServiceUtil

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

public class WikiPageServiceUtil
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.WikiPageService 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.WikiPageServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
WikiPageService, WikiPageServiceFactory

Constructor Summary
WikiPageServiceUtil()
           
 
Method Summary
static WikiPage addPage(long nodeId, java.lang.String title)
           
static void deletePage(long nodeId, java.lang.String title)
           
static WikiPage getPage(long nodeId, java.lang.String title)
           
static WikiPage getPage(long nodeId, java.lang.String title, double version)
           
static WikiPage revertPage(long nodeId, java.lang.String title, double version)
           
static WikiPage updatePage(long nodeId, java.lang.String title, java.lang.String content, java.lang.String format, java.lang.String[] tagsEntries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageServiceUtil

public WikiPageServiceUtil()
Method Detail

addPage

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

deletePage

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

getPage

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

getPage

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

revertPage

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

updatePage

public static WikiPage updatePage(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,
                                  java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException