com.liferay.portlet.wiki.service
Interface WikiNodeService
- All Known Implementing Classes:
- WikiNodeServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface WikiNodeService
The interface for the wiki node remote service.
Never modify or reference this interface directly. Always use WikiNodeServiceUtil to access the wiki node remote service. Add custom service methods to com.liferay.portlet.wiki.service.impl.WikiNodeServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
WikiNodeServiceUtil,
com.liferay.portlet.wiki.service.base.WikiNodeServiceBaseImpl,
com.liferay.portlet.wiki.service.impl.WikiNodeServiceImpl- Generated:
|
Method Summary |
WikiNode |
addNode(java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
void |
deleteNode(long nodeId)
|
WikiNode |
getNode(long nodeId)
|
WikiNode |
getNode(long groupId,
java.lang.String name)
|
void |
importPages(long nodeId,
java.lang.String importer,
java.io.File[] files,
java.util.Map<java.lang.String,java.lang.String[]> options)
|
void |
subscribeNode(long nodeId)
|
void |
unsubscribeNode(long nodeId)
|
WikiNode |
updateNode(long nodeId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
addNode
WikiNode addNode(java.lang.String name,
java.lang.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,
java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importPages
void importPages(long nodeId,
java.lang.String importer,
java.io.File[] files,
java.util.Map<java.lang.String,java.lang.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,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException