Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl
          extended by com.liferay.portlet.wiki.service.impl.WikiNodeLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, WikiNodeLocalService

public class WikiNodeLocalServiceImpl
extends WikiNodeLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService, wikiNodeLocalService, wikiNodePersistence, wikiNodeService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService
 
Constructor Summary
WikiNodeLocalServiceImpl()
           
 
Method Summary
protected  List<WikiNode> addDefaultNode(long groupId)
           
 WikiNode addDefaultNode(long userId, ServiceContext serviceContext)
           
 WikiNode addNode(long userId, String name, String description, ServiceContext serviceContext)
           
 void addNodeResources(long nodeId, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addNodeResources(long nodeId, String[] groupPermissions, String[] guestPermissions)
           
 void addNodeResources(WikiNode node, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addNodeResources(WikiNode node, String[] groupPermissions, String[] guestPermissions)
           
 void deleteNode(long nodeId)
           
 void deleteNode(WikiNode node)
           
 void deleteNodes(long groupId)
           
 List<WikiNode> getCompanyNodes(long companyId, int start, int end)
           
 int getCompanyNodesCount(long companyId)
           
 WikiNode getNode(long nodeId)
           
 WikiNode getNode(long groupId, String nodeName)
           
 List<WikiNode> getNodes(long groupId)
           
 List<WikiNode> getNodes(long groupId, int start, int end)
           
 int getNodesCount(long groupId)
           
protected  WikiImporter getWikiImporter(String importer)
           
 void importPages(long userId, long nodeId, String importer, InputStream[] inputStreams, Map<String,String[]> options)
           
 void subscribeNode(long userId, long nodeId)
           
 void unsubscribeNode(long userId, long nodeId)
           
 WikiNode updateNode(long nodeId, String name, String description, ServiceContext serviceContext)
           
protected  void validate(long nodeId, long groupId, String name)
           
protected  void validate(long groupId, String name)
           
 
Methods inherited from class com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl
addWikiNode, afterPropertiesSet, createWikiNode, deleteWikiNode, deleteWikiNode, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchWikiNode, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiNode, getWikiNodeByUuidAndGroupId, getWikiNodeLocalService, getWikiNodePersistence, getWikiNodes, getWikiNodesCount, getWikiNodeService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPageService, runSQL, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiNodeLocalService, setWikiNodePersistence, setWikiNodeService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageResourceLocalService, setWikiPageResourcePersistence, setWikiPageService, updateWikiNode, updateWikiNode
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiNodeLocalServiceImpl

public WikiNodeLocalServiceImpl()
Method Detail

addDefaultNode

public WikiNode addDefaultNode(long userId,
                               ServiceContext serviceContext)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addNode

public WikiNode addNode(long userId,
                        String name,
                        String description,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

addNodeResources

public void addNodeResources(long nodeId,
                             boolean addGroupPermissions,
                             boolean addGuestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addNodeResources

public void addNodeResources(long nodeId,
                             String[] groupPermissions,
                             String[] guestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addNodeResources

public void addNodeResources(WikiNode node,
                             boolean addGroupPermissions,
                             boolean addGuestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addNodeResources

public void addNodeResources(WikiNode node,
                             String[] groupPermissions,
                             String[] guestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteNode

public void deleteNode(long nodeId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deleteNode

public void deleteNode(WikiNode node)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deleteNodes

public void deleteNodes(long groupId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getCompanyNodes

public List<WikiNode> getCompanyNodes(long companyId,
                                      int start,
                                      int end)
                               throws SystemException
Throws:
SystemException

getCompanyNodesCount

public int getCompanyNodesCount(long companyId)
                         throws SystemException
Throws:
SystemException

getNode

public WikiNode getNode(long nodeId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getNode

public WikiNode getNode(long groupId,
                        String nodeName)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getNodes

public List<WikiNode> getNodes(long groupId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getNodes

public List<WikiNode> getNodes(long groupId,
                               int start,
                               int end)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getNodesCount

public int getNodesCount(long groupId)
                  throws SystemException
Throws:
SystemException

importPages

public void importPages(long userId,
                        long nodeId,
                        String importer,
                        InputStream[] inputStreams,
                        Map<String,String[]> options)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

subscribeNode

public void subscribeNode(long userId,
                          long nodeId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

unsubscribeNode

public void unsubscribeNode(long userId,
                            long nodeId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateNode

public WikiNode updateNode(long nodeId,
                           String name,
                           String description,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

addDefaultNode

protected List<WikiNode> addDefaultNode(long groupId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getWikiImporter

protected WikiImporter getWikiImporter(String importer)
                                throws SystemException
Throws:
SystemException

validate

protected void validate(long nodeId,
                        long groupId,
                        String name)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

validate

protected void validate(long groupId,
                        String name)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3