Class WikiNodeServiceUtil

java.lang.Object
com.liferay.wiki.service.WikiNodeServiceUtil

public class WikiNodeServiceUtil extends Object
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 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 by addNode(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

      public static List<WikiNode> getNodes(long groupId, int start, int end)
    • getNodes

      public static List<WikiNode> getNodes(long groupId, int status, int start, int end)
    • getNodes

      public static List<WikiNode> getNodes(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiNode> orderByComparator)
    • getNodesCount

      public static int getNodesCount(long groupId)
    • getNodesCount

      public static int getNodesCount(long groupId, int status)
    • getOSGiServiceIdentifier

      public static String 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

      public static WikiNodeService getService()