com.liferay.portlet.wiki.service
Class WikiNodeLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.wiki.service.WikiNodeLocalServiceWrapper
All Implemented Interfaces:
WikiNodeLocalService

public class WikiNodeLocalServiceWrapper
extends java.lang.Object
implements WikiNodeLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for WikiNodeLocalService.

Author:
Brian Wing Shun Chan
See Also:
WikiNodeLocalService
Generated:

Constructor Summary
WikiNodeLocalServiceWrapper(WikiNodeLocalService wikiNodeLocalService)
           
 
Method Summary
 WikiNode addNode(long userId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 WikiNode addNode(java.lang.String uuid, long userId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 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)
           
 WikiNode createWikiNode(long nodeId)
           
 void deleteNode(long nodeId)
           
 void deleteNode(WikiNode node)
           
 void deleteNodes(long groupId)
           
 void deleteWikiNode(long nodeId)
           
 void deleteWikiNode(WikiNode wikiNode)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 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 start, int end)
           
 int getNodesCount(long groupId)
           
 WikiNode getWikiNode(long nodeId)
           
 WikiNode getWikiNodeByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<WikiNode> getWikiNodes(int start, int end)
           
 int getWikiNodesCount()
           
 WikiNodeLocalService getWrappedWikiNodeLocalService()
           
 void importPages(long userId, long nodeId, java.lang.String importer, java.io.File[] files, java.util.Map<java.lang.String,java.lang.String[]> options)
           
 void reIndex(java.lang.String[] ids)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, long groupId, long userId, long[] nodeIds, java.lang.String keywords, int start, int end)
           
 void subscribeNode(long userId, long nodeId)
           
 void unsubscribeNode(long userId, long nodeId)
           
 WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description)
          Deprecated.  
 WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 WikiNode updateWikiNode(WikiNode wikiNode)
           
 WikiNode updateWikiNode(WikiNode wikiNode, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiNodeLocalServiceWrapper

public WikiNodeLocalServiceWrapper(WikiNodeLocalService wikiNodeLocalService)
Method Detail

addWikiNode

public WikiNode addWikiNode(WikiNode wikiNode)
                     throws com.liferay.portal.SystemException
Specified by:
addWikiNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

createWikiNode

public WikiNode createWikiNode(long nodeId)
Specified by:
createWikiNode in interface WikiNodeLocalService

deleteWikiNode

public void deleteWikiNode(long nodeId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
deleteWikiNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteWikiNode

public void deleteWikiNode(WikiNode wikiNode)
                    throws com.liferay.portal.SystemException
Specified by:
deleteWikiNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Specified by:
dynamicQueryCount in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

getWikiNode

public WikiNode getWikiNode(long nodeId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
getWikiNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWikiNodeByUuidAndGroupId

public WikiNode getWikiNodeByUuidAndGroupId(java.lang.String uuid,
                                            long groupId)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException
Specified by:
getWikiNodeByUuidAndGroupId in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWikiNodes

public java.util.List<WikiNode> getWikiNodes(int start,
                                             int end)
                                      throws com.liferay.portal.SystemException
Specified by:
getWikiNodes in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

getWikiNodesCount

public int getWikiNodesCount()
                      throws com.liferay.portal.SystemException
Specified by:
getWikiNodesCount in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

updateWikiNode

public WikiNode updateWikiNode(WikiNode wikiNode)
                        throws com.liferay.portal.SystemException
Specified by:
updateWikiNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

updateWikiNode

public WikiNode updateWikiNode(WikiNode wikiNode,
                               boolean merge)
                        throws com.liferay.portal.SystemException
Specified by:
updateWikiNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

addNode

public WikiNode addNode(long userId,
                        java.lang.String name,
                        java.lang.String description,
                        ServiceContext serviceContext)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
addNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addNode

public WikiNode addNode(java.lang.String uuid,
                        long userId,
                        java.lang.String name,
                        java.lang.String description,
                        ServiceContext serviceContext)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
addNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addNodeResources

public void addNodeResources(long nodeId,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
addNodeResources in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addNodeResources

public void addNodeResources(WikiNode node,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
addNodeResources in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addNodeResources

public void addNodeResources(long nodeId,
                             java.lang.String[] communityPermissions,
                             java.lang.String[] guestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
addNodeResources in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addNodeResources

public void addNodeResources(WikiNode node,
                             java.lang.String[] communityPermissions,
                             java.lang.String[] guestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
addNodeResources in interface WikiNodeLocalService
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 WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteNode

public void deleteNode(WikiNode node)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Specified by:
deleteNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteNodes

public void deleteNodes(long groupId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
deleteNodes in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getNode

public WikiNode getNode(long nodeId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
getNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getNode

public WikiNode getNode(long groupId,
                        java.lang.String nodeName)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
getNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getNodes

public java.util.List<WikiNode> getNodes(long groupId)
                                  throws com.liferay.portal.SystemException
Specified by:
getNodes in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

getNodes

public java.util.List<WikiNode> getNodes(long groupId,
                                         int start,
                                         int end)
                                  throws com.liferay.portal.SystemException
Specified by:
getNodes in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

getNodesCount

public int getNodesCount(long groupId)
                  throws com.liferay.portal.SystemException
Specified by:
getNodesCount in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

importPages

public void importPages(long userId,
                        long nodeId,
                        java.lang.String importer,
                        java.io.File[] files,
                        java.util.Map<java.lang.String,java.lang.String[]> options)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
importPages in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

reIndex

public void reIndex(java.lang.String[] ids)
             throws com.liferay.portal.SystemException
Specified by:
reIndex in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

search

public com.liferay.portal.kernel.search.Hits search(long companyId,
                                                    long groupId,
                                                    long userId,
                                                    long[] nodeIds,
                                                    java.lang.String keywords,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Specified by:
search in interface WikiNodeLocalService
Throws:
com.liferay.portal.SystemException

subscribeNode

public void subscribeNode(long userId,
                          long nodeId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Specified by:
subscribeNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsubscribeNode

public void unsubscribeNode(long userId,
                            long nodeId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
unsubscribeNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateNode

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

Specified by:
updateNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateNode

public WikiNode updateNode(long nodeId,
                           java.lang.String name,
                           java.lang.String description,
                           ServiceContext serviceContext)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
updateNode in interface WikiNodeLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedWikiNodeLocalService

public WikiNodeLocalService getWrappedWikiNodeLocalService()