com.liferay.portlet.wiki.service.impl
Class WikiPageServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.wiki.service.impl.WikiPageServiceImpl
All Implemented Interfaces:
com.liferay.portlet.wiki.service.WikiPageService

public class WikiPageServiceImpl
extends PrincipalBean
implements com.liferay.portlet.wiki.service.WikiPageService

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
WikiPageServiceImpl()
           
 
Method Summary
 com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId, java.lang.String title)
           
 void deletePage(long nodeId, java.lang.String title)
           
 com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId, java.lang.String title)
           
 com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId, java.lang.String title, double version)
           
 com.liferay.portlet.wiki.model.WikiPage revertPage(long nodeId, java.lang.String title, double version)
           
 com.liferay.portlet.wiki.model.WikiPage updatePage(long nodeId, java.lang.String title, java.lang.String content, java.lang.String format, java.lang.String[] tagsEntries)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageServiceImpl

public WikiPageServiceImpl()
Method Detail

addPage

public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
                                                       java.lang.String title)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Specified by:
addPage in interface com.liferay.portlet.wiki.service.WikiPageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deletePage

public void deletePage(long nodeId,
                       java.lang.String title)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Specified by:
deletePage in interface com.liferay.portlet.wiki.service.WikiPageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPage

public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
                                                       java.lang.String title)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Specified by:
getPage in interface com.liferay.portlet.wiki.service.WikiPageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPage

public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
                                                       java.lang.String title,
                                                       double version)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Specified by:
getPage in interface com.liferay.portlet.wiki.service.WikiPageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

revertPage

public com.liferay.portlet.wiki.model.WikiPage revertPage(long nodeId,
                                                          java.lang.String title,
                                                          double version)
                                                   throws com.liferay.portal.PortalException,
                                                          com.liferay.portal.SystemException
Specified by:
revertPage in interface com.liferay.portlet.wiki.service.WikiPageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updatePage

public com.liferay.portlet.wiki.model.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
Specified by:
updatePage in interface com.liferay.portlet.wiki.service.WikiPageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException