@ProviderType
public class WikiNodeServiceUtil
extends java.lang.Object
com.liferay.portlet.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.portlet.wiki.service.base.WikiNodeServiceBaseImpl,
com.liferay.portlet.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,
ServiceContext serviceContext) |
static void |
deleteNode(long nodeId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
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 int |
getNodesCount(long groupId) |
static int |
getNodesCount(long groupId,
int status) |
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 |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(WikiNodeService service)
Deprecated.
As of 6.2.0
|
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 java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static WikiNode addNode(java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteNode(long nodeId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static WikiNode getNode(long nodeId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiNode getNode(long groupId, java.lang.String name) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiNode> getNodes(long groupId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiNode> getNodes(long groupId, int status) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiNode> getNodes(long groupId, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<WikiNode> getNodes(long groupId, int status, int start, int end) throws SystemException
SystemExceptionpublic static int getNodesCount(long groupId)
throws SystemException
SystemExceptionpublic static int getNodesCount(long groupId,
int status)
throws SystemException
SystemExceptionpublic 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,
SystemException
PortalExceptionSystemExceptionpublic static WikiNode moveNodeToTrash(long nodeId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void restoreNodeFromTrash(long nodeId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void subscribeNode(long nodeId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void unsubscribeNode(long nodeId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiNodeService getService()
public void setService(WikiNodeService service)