Liferay 7.0-ce-m3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.wiki.service.base.WikiNodeServiceBaseImpl
          extended by com.liferay.portlet.wiki.service.impl.WikiNodeServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, WikiNodeService

public class WikiNodeServiceImpl
extends WikiNodeServiceBaseImpl

Provides the remote service for accessing, adding, deleting, importing, subscription handling of, trash handling of, and updating wiki nodes. Its methods include permission checks.


Field Summary
 
Fields inherited from class com.liferay.portlet.wiki.service.base.WikiNodeServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, resourceLocalService, subscriptionLocalService, subscriptionPersistence, systemEventLocalService, systemEventPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService, wikiNodeLocalService, wikiNodePersistence, wikiNodeService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
WikiNodeServiceImpl()
           
 
Method Summary
 WikiNode addNode(String name, String description, ServiceContext serviceContext)
           
 void deleteNode(long nodeId)
           
 WikiNode getNode(long nodeId)
           
 WikiNode getNode(long groupId, String name)
           
 List<WikiNode> getNodes(long groupId)
           
 List<WikiNode> getNodes(long groupId, int status)
           
 List<WikiNode> getNodes(long groupId, int start, int end)
           
 List<WikiNode> getNodes(long groupId, int status, int start, int end)
           
 int getNodesCount(long groupId)
           
 int getNodesCount(long groupId, int status)
           
 void importPages(long nodeId, String importer, InputStream[] inputStreams, Map<String,String[]> options)
           
 WikiNode moveNodeToTrash(long nodeId)
           
 void restoreNodeFromTrash(long nodeId)
           
 void subscribeNode(long nodeId)
           
 void unsubscribeNode(long nodeId)
           
 WikiNode updateNode(long nodeId, String name, String description, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.wiki.service.base.WikiNodeServiceBaseImpl
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getSystemEventLocalService, getSystemEventPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiNodeLocalService, getWikiNodePersistence, getWikiNodeService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setSystemEventLocalService, setSystemEventPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiNodeLocalService, setWikiNodePersistence, setWikiNodeService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, 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 WikiNode addNode(String name,
                        String description,
                        ServiceContext serviceContext)
                 throws PortalException
Throws:
PortalException

deleteNode

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

getNode

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

getNode

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

getNodes

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

getNodes

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

getNodes

public List<WikiNode> getNodes(long groupId,
                               int start,
                               int end)

getNodes

public List<WikiNode> getNodes(long groupId,
                               int status,
                               int start,
                               int end)

getNodesCount

public int getNodesCount(long groupId)

getNodesCount

public int getNodesCount(long groupId,
                         int status)

importPages

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

moveNodeToTrash

public WikiNode moveNodeToTrash(long nodeId)
                         throws PortalException
Throws:
PortalException

restoreNodeFromTrash

public void restoreNodeFromTrash(long nodeId)
                          throws PortalException
Throws:
PortalException

subscribeNode

public void subscribeNode(long nodeId)
                   throws PortalException
Throws:
PortalException

unsubscribeNode

public void unsubscribeNode(long nodeId)
                     throws PortalException
Throws:
PortalException

updateNode

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

Liferay 7.0-ce-m3