Package com.liferay.wiki.service
Class WikiNodeServiceUtil
java.lang.Object
com.liferay.wiki.service.WikiNodeServiceUtil
Provides the remote service utility for WikiNode. This utility wraps
com.liferay.wiki.service.impl.WikiNodeServiceImpl and is an
access point for service operations in application layer code running on a
remote server. 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WikiNodeaddNode(String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.static WikiNodeaddNode(String externalReferenceCode, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static voiddeleteNode(long nodeId) static WikiNodegetNode(long nodeId) static WikiNodegetNodes(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) static intgetNodesCount(long groupId) static intgetNodesCount(long groupId, int status) static StringReturns the OSGi service identifier.static WikiNodeServicestatic WikiNodegetWikiNodeByExternalReferenceCode(long groupId, String externalReferenceCode) static voidimportPages(long nodeId, InputStream[] inputStreams, Map<String, String[]> options) static WikiNodemoveNodeToTrash(long nodeId) static voidrestoreNodeFromTrash(long nodeId) static voidsubscribeNode(long nodeId) static voidunsubscribeNode(long nodeId) static WikiNodeupdateNode(long nodeId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
WikiNodeServiceUtil
public WikiNodeServiceUtil()
-
-
Method Details
-
addNode
@Deprecated public static 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
public static 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
public static void deleteNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNode
public static WikiNode getNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNode
public static WikiNode getNode(long groupId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNodes
public static List<WikiNode> getNodes(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNodes
public static 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
public static int getNodesCount(long groupId) -
getNodesCount
public static int getNodesCount(long groupId, int status) -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getWikiNodeByExternalReferenceCode
public static WikiNode getWikiNodeByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
importPages
public static 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
public static WikiNode moveNodeToTrash(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreNodeFromTrash
public static void restoreNodeFromTrash(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeNode
public static void subscribeNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeNode
public static void unsubscribeNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateNode
public static 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
-
getService
-
addNode(String, String, String, ServiceContext)