com.liferay.portlet.wiki.service
Interface WikiNodeService
- All Known Implementing Classes:
- WikiNodeServiceBaseImpl, WikiNodeServiceImpl, WikiNodeServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface WikiNodeService
The interface for the wiki node remote service.
This is a remote service. 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 |
WikiNode |
addNode(String name,
String description,
ServiceContext serviceContext)
|
void |
deleteNode(long nodeId)
|
WikiNode |
getNode(long nodeId)
|
WikiNode |
getNode(long groupId,
String name)
|
void |
importPages(long nodeId,
String importer,
InputStream[] inputStreams,
Map<String,String[]> options)
|
void |
subscribeNode(long nodeId)
|
void |
unsubscribeNode(long nodeId)
|
WikiNode |
updateNode(long nodeId,
String name,
String description,
ServiceContext serviceContext)
|
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
importPages
void importPages(long nodeId,
String importer,
InputStream[] inputStreams,
Map<String,String[]> options)
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