Liferay 6.2-ce-ga5

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, wikiPageResourceLocalService, wikiPageResourcePersistence, 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, getWikiPageResourceLocalService, getWikiPageResourcePersistence, 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, setWikiPageResourceLocalService, setWikiPageResourcePersistence, 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,
                        SystemException
Throws:
PortalException
SystemException

deleteNode

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

getNode

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

getNode

public WikiNode getNode(long groupId,
                        String name)
                 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 status)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getNodes

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

getNodes

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

getNodesCount

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

getNodesCount

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

importPages

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

moveNodeToTrash

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

restoreNodeFromTrash

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

subscribeNode

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

unsubscribeNode

public void unsubscribeNode(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

Liferay 6.2-ce-ga5