Package com.liferay.wiki.service
Interface WikiNodeService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
WikiNodeServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface WikiNodeService
extends com.liferay.portal.kernel.service.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:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddNode
(String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.addNode
(String externalReferenceCode, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteNode
(long nodeId) getNode
(long nodeId) getNodes
(long groupId) getNodes
(long groupId, int status) getNodes
(long groupId, int start, int end) getNodes
(long groupId, int status, int start, int end) getNodes
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiNode> orderByComparator) int
getNodesCount
(long groupId) int
getNodesCount
(long groupId, int status) Returns the OSGi service identifier.getWikiNodeByExternalReferenceCode
(long groupId, String externalReferenceCode) void
importPages
(long nodeId, InputStream[] inputStreams, Map<String, String[]> options) moveNodeToTrash
(long nodeId) void
restoreNodeFromTrash
(long nodeId) void
subscribeNode
(long nodeId) void
unsubscribeNode
(long nodeId) updateNode
(long nodeId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addNode
@Deprecated WikiNode addNode(String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Cavanaugh (7.4.x), replaced byaddNode(String, String, String, ServiceContext)
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addNode
WikiNode addNode(String externalReferenceCode, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteNode
void deleteNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNode
@Transactional(propagation=SUPPORTS, readOnly=true) WikiNode getNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNode
@Transactional(propagation=SUPPORTS, readOnly=true) WikiNode getNode(long groupId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNodes
@Transactional(propagation=SUPPORTS, readOnly=true) List<WikiNode> getNodes(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNodes
@Transactional(propagation=SUPPORTS, readOnly=true) List<WikiNode> getNodes(long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNodes
-
getNodes
-
getNodes
-
getNodesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getNodesCount(long groupId) -
getNodesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getNodesCount(long groupId, int status) -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getWikiNodeByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) WikiNode getWikiNodeByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
importPages
void importPages(long nodeId, InputStream[] inputStreams, Map<String, String[]> options) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveNodeToTrash
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreNodeFromTrash
void restoreNodeFromTrash(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeNode
void subscribeNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeNode
void unsubscribeNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateNode
WikiNode updateNode(long nodeId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addNode(String, String, String, ServiceContext)