com.liferay.portlet.wiki.service
Interface WikiNodeService


public interface WikiNodeService

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.WikiNodeServiceImpl. 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:
WikiNodeServiceUtil

Method Summary
 WikiNode addNode(long plid, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 WikiNode addNode(long plid, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteNode(long nodeId)
           
 WikiNode getNode(long nodeId)
           
 WikiNode getNode(long groupId, java.lang.String name)
           
 void importPages(long nodeId, java.lang.String importer, java.io.File[] files, java.util.Map<java.lang.String,java.lang.String[]> options)
           
 void subscribeNode(long nodeId)
           
 void unsubscribeNode(long nodeId)
           
 WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description)
           
 

Method Detail

addNode

WikiNode addNode(long plid,
                 java.lang.String name,
                 java.lang.String description,
                 boolean addCommunityPermissions,
                 boolean addGuestPermissions)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addNode

WikiNode addNode(long plid,
                 java.lang.String name,
                 java.lang.String description,
                 java.lang.String[] communityPermissions,
                 java.lang.String[] guestPermissions)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteNode

void deleteNode(long nodeId)
                throws java.rmi.RemoteException,
                       com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getNode

WikiNode getNode(long nodeId)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getNode

WikiNode getNode(long groupId,
                 java.lang.String name)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

importPages

void importPages(long nodeId,
                 java.lang.String importer,
                 java.io.File[] files,
                 java.util.Map<java.lang.String,java.lang.String[]> options)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

subscribeNode

void subscribeNode(long nodeId)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsubscribeNode

void unsubscribeNode(long nodeId)
                     throws java.rmi.RemoteException,
                            com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateNode

WikiNode updateNode(long nodeId,
                    java.lang.String name,
                    java.lang.String description)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException