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

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

public class WikiNodeServiceImpl
extends PrincipalBean
implements com.liferay.portlet.wiki.service.WikiNodeService

View Source

Author:
Brian Wing Shun Chan, Charles May

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
WikiNodeServiceImpl()
           
 
Method Summary
 com.liferay.portlet.wiki.model.WikiNode addNode(long plid, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.wiki.model.WikiNode addNode(long plid, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteNode(long nodeId)
           
 com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
           
 com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description)
           
 
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

WikiNodeServiceImpl

public WikiNodeServiceImpl()
Method Detail

addNode

public com.liferay.portlet.wiki.model.WikiNode addNode(long plid,
                                                       java.lang.String name,
                                                       java.lang.String description,
                                                       boolean addCommunityPermissions,
                                                       boolean addGuestPermissions)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Specified by:
addNode in interface com.liferay.portlet.wiki.service.WikiNodeService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addNode

public com.liferay.portlet.wiki.model.WikiNode addNode(long plid,
                                                       java.lang.String name,
                                                       java.lang.String description,
                                                       java.lang.String[] communityPermissions,
                                                       java.lang.String[] guestPermissions)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Specified by:
addNode in interface com.liferay.portlet.wiki.service.WikiNodeService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteNode

public void deleteNode(long nodeId)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Specified by:
deleteNode in interface com.liferay.portlet.wiki.service.WikiNodeService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getNode

public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Specified by:
getNode in interface com.liferay.portlet.wiki.service.WikiNodeService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateNode

public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
                                                          java.lang.String name,
                                                          java.lang.String description)
                                                   throws com.liferay.portal.PortalException,
                                                          com.liferay.portal.SystemException
Specified by:
updateNode in interface com.liferay.portlet.wiki.service.WikiNodeService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException