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

deletePage

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

getPage

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

getPage

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

revertPage

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

updatePage

public WikiPage updatePage(long nodeId,
                           java.lang.String title,
                           java.lang.String content,
                           java.lang.String format,
                           java.lang.String[] tagsEntries)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException