com.liferay.portlet.wiki.service
Interface WikiNodeLocalService


public interface WikiNodeLocalService

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

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
WikiNodeLocalServiceFactory, WikiNodeLocalServiceUtil

Method Summary
 WikiNode addNode(long userId, long plid, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 WikiNode addNode(long userId, long plid, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 WikiNode addNode(java.lang.String uuid, long userId, long plid, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 WikiNode addNode(java.lang.String uuid, long userId, long plid, java.lang.String name, java.lang.String description, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addNodeResources(long nodeId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addNodeResources(long nodeId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addNodeResources(WikiNode node, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addNodeResources(WikiNode node, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 WikiNode addWikiNode(WikiNode wikiNode)
           
 void deleteNode(long nodeId)
           
 void deleteNode(WikiNode node)
           
 void deleteNodes(long groupId)
           
 void deleteWikiNode(long nodeId)
           
 void deleteWikiNode(WikiNode wikiNode)
           
 java.util.List<WikiNode> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<WikiNode> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 WikiNode getNode(long nodeId)
           
 WikiNode getNode(long groupId, java.lang.String nodeName)
           
 java.util.List<WikiNode> getNodes(long groupId)
           
 java.util.List<WikiNode> getNodes(long groupId, int begin, int end)
           
 int getNodesCount(long groupId)
           
 void reIndex(java.lang.String[] ids)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, long groupId, long[] nodeIds, java.lang.String keywords)
           
 void subscribeNode(long userId, long nodeId)
           
 void unsubscribeNode(long userId, long nodeId)
           
 WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description)
           
 WikiNode updateWikiNode(WikiNode wikiNode)
           
 

Method Detail

addWikiNode

WikiNode addWikiNode(WikiNode wikiNode)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteWikiNode

void deleteWikiNode(long nodeId)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteWikiNode

void deleteWikiNode(WikiNode wikiNode)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<WikiNode> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<WikiNode> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                      int begin,
                                      int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateWikiNode

WikiNode updateWikiNode(WikiNode wikiNode)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addNode

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

addNode

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

addNode

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

addNode

WikiNode addNode(java.lang.String uuid,
                 long userId,
                 long plid,
                 java.lang.String name,
                 java.lang.String description,
                 java.lang.Boolean addCommunityPermissions,
                 java.lang.Boolean addGuestPermissions,
                 java.lang.String[] communityPermissions,
                 java.lang.String[] guestPermissions)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addNodeResources

void addNodeResources(long nodeId,
                      boolean addCommunityPermissions,
                      boolean addGuestPermissions)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addNodeResources

void addNodeResources(WikiNode node,
                      boolean addCommunityPermissions,
                      boolean addGuestPermissions)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addNodeResources

void addNodeResources(long nodeId,
                      java.lang.String[] communityPermissions,
                      java.lang.String[] guestPermissions)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addNodeResources

void addNodeResources(WikiNode node,
                      java.lang.String[] communityPermissions,
                      java.lang.String[] guestPermissions)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteNode

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

deleteNode

void deleteNode(WikiNode node)
                throws com.liferay.portal.SystemException,
                       com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteNodes

void deleteNodes(long groupId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getNode

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

getNode

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

getNodes

java.util.List<WikiNode> getNodes(long groupId)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getNodes

java.util.List<WikiNode> getNodes(long groupId,
                                  int begin,
                                  int end)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getNodesCount

int getNodesCount(long groupId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

reIndex

void reIndex(java.lang.String[] ids)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

com.liferay.portal.kernel.search.Hits search(long companyId,
                                             long groupId,
                                             long[] nodeIds,
                                             java.lang.String keywords)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

subscribeNode

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

unsubscribeNode

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

updateNode

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