com.liferay.portlet.wiki.service
Interface WikiPageService


public interface WikiPageService

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.WikiPageServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

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

Method Summary
 WikiPage addPage(long nodeId, java.lang.String title)
           
 void deletePage(long nodeId, java.lang.String title)
           
 WikiPage getPage(long nodeId, java.lang.String title)
           
 WikiPage getPage(long nodeId, java.lang.String title, double version)
           
 WikiPage revertPage(long nodeId, java.lang.String title, double version)
           
 WikiPage updatePage(long nodeId, java.lang.String title, java.lang.String content, java.lang.String format, java.lang.String[] tagsEntries)
           
 

Method Detail

addPage

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

deletePage

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

getPage

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

getPage

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

revertPage

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

updatePage

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