@ProviderType
public class WikiNodeServiceUtil
extends java.lang.Object
com.liferay.wiki.service.impl.WikiNodeServiceImpl
and is the
primary 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.WikiNodeService
,
com.liferay.wiki.service.base.WikiNodeServiceBaseImpl
,
com.liferay.wiki.service.impl.WikiNodeServiceImpl
Constructor and Description |
---|
WikiNodeServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static WikiNode |
addNode(java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteNode(long nodeId) |
static WikiNode |
getNode(long nodeId) |
static WikiNode |
getNode(long groupId,
java.lang.String name) |
static java.util.List<WikiNode> |
getNodes(long groupId) |
static java.util.List<WikiNode> |
getNodes(long groupId,
int status) |
static java.util.List<WikiNode> |
getNodes(long groupId,
int start,
int end) |
static java.util.List<WikiNode> |
getNodes(long groupId,
int status,
int start,
int end) |
static java.util.List<WikiNode> |
getNodes(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiNode> obc) |
static int |
getNodesCount(long groupId) |
static int |
getNodesCount(long groupId,
int status) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static WikiNodeService |
getService() |
static void |
importPages(long nodeId,
java.lang.String importer,
java.io.InputStream[] inputStreams,
java.util.Map<java.lang.String,java.lang.String[]> options) |
static WikiNode |
moveNodeToTrash(long nodeId) |
static void |
restoreNodeFromTrash(long nodeId) |
static void |
subscribeNode(long nodeId) |
static void |
unsubscribeNode(long nodeId) |
static WikiNode |
updateNode(long nodeId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static WikiNode addNode(java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static WikiNode getNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static WikiNode getNode(long groupId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<WikiNode> getNodes(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<WikiNode> getNodes(long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<WikiNode> getNodes(long groupId, int start, int end)
public static java.util.List<WikiNode> getNodes(long groupId, int status, int start, int end)
public static java.util.List<WikiNode> getNodes(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiNode> obc)
public static int getNodesCount(long groupId)
public static int getNodesCount(long groupId, int status)
public static java.lang.String getOSGiServiceIdentifier()
public static void importPages(long nodeId, java.lang.String importer, java.io.InputStream[] inputStreams, java.util.Map<java.lang.String,java.lang.String[]> options) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static WikiNode moveNodeToTrash(long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void restoreNodeFromTrash(long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void subscribeNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsubscribeNode(long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static WikiNodeService getService()