public class WikiNodeServiceUtil
extends java.lang.Object
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.WikiNodeService| Constructor and Description |
|---|
WikiNodeServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static WikiNode |
addNode(java.lang.String name,
java.lang.String description,
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,
OrderByComparator<WikiNode> orderByComparator) |
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,
ServiceContext serviceContext) |
public static WikiNode addNode(java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteNode(long nodeId)
throws PortalException
PortalExceptionpublic static WikiNode getNode(long nodeId) throws PortalException
PortalExceptionpublic static WikiNode getNode(long groupId, java.lang.String name) throws PortalException
PortalExceptionpublic static java.util.List<WikiNode> getNodes(long groupId) throws PortalException
PortalExceptionpublic static java.util.List<WikiNode> getNodes(long groupId, int status) throws PortalException
PortalExceptionpublic 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, OrderByComparator<WikiNode> orderByComparator)
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 PortalException
PortalExceptionpublic static WikiNode moveNodeToTrash(long nodeId) throws PortalException
PortalExceptionpublic static void restoreNodeFromTrash(long nodeId)
throws PortalException
PortalExceptionpublic static void subscribeNode(long nodeId)
throws PortalException
PortalExceptionpublic static void unsubscribeNode(long nodeId)
throws PortalException
PortalExceptionpublic static WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static WikiNodeService getService()