Liferay 6.2.0

com.liferay.portlet.wiki.service
Interface WikiNodeService

All Superinterfaces:
BaseService
All Known Implementing Classes:
WikiNodeServiceBaseImpl, WikiNodeServiceImpl, WikiNodeServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface WikiNodeService
extends BaseService

Provides the remote service interface for WikiNode. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
WikiNodeServiceUtil, WikiNodeServiceBaseImpl, WikiNodeServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
abstract  WikiNode addNode(String name, String description, ServiceContext serviceContext)
           
abstract  void deleteNode(long nodeId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  WikiNode getNode(long nodeId)
           
abstract  WikiNode getNode(long groupId, String name)
           
abstract  List<WikiNode> getNodes(long groupId)
           
abstract  List<WikiNode> getNodes(long groupId, int status)
           
abstract  List<WikiNode> getNodes(long groupId, int start, int end)
           
abstract  List<WikiNode> getNodes(long groupId, int status, int start, int end)
           
abstract  int getNodesCount(long groupId)
           
abstract  int getNodesCount(long groupId, int status)
           
abstract  void importPages(long nodeId, String importer, InputStream[] inputStreams, Map<String,String[]> options)
           
abstract  WikiNode moveNodeToTrash(long nodeId)
           
abstract  void restoreNodeFromTrash(long nodeId)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  void subscribeNode(long nodeId)
           
abstract  void unsubscribeNode(long nodeId)
           
abstract  WikiNode updateNode(long nodeId, String name, String description, ServiceContext serviceContext)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addNode

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

deleteNode

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

getNode

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WikiNode getNode(long nodeId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getNode

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WikiNode getNode(long groupId,
                                                          String name)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getNodes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<WikiNode> getNodes(long groupId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getNodes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<WikiNode> getNodes(long groupId,
                                                                 int status)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getNodes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<WikiNode> getNodes(long groupId,
                                                                 int start,
                                                                 int end)
                        throws SystemException
Throws:
SystemException

getNodes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<WikiNode> getNodes(long groupId,
                                                                 int status,
                                                                 int start,
                                                                 int end)
                        throws SystemException
Throws:
SystemException

getNodesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getNodesCount(long groupId)
                  throws SystemException
Throws:
SystemException

getNodesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getNodesCount(long groupId,
                                                           int status)
                  throws SystemException
Throws:
SystemException

importPages

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

moveNodeToTrash

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

restoreNodeFromTrash

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

subscribeNode

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

unsubscribeNode

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

updateNode

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

Liferay 6.2.0