Class ResourceContentServiceImpl

java.lang.Object
ch.tocco.nice2.dms.impl.content.ResourceContentServiceImpl
All Implemented Interfaces:
ContentService, ResourceContentService

@Component public class ResourceContentServiceImpl extends Object implements ResourceContentService
  • Constructor Details

  • Method Details

    • publish

      public void publish(PrimaryKey documentKey)
      Description copied from interface: ContentService
      Publish current content of the node.
      Specified by:
      publish in interface ContentService
      Parameters:
      documentKey - The key of the node to publish.
    • publishAll

      public void publishAll(PrimaryKey key, String entityName)
      Description copied from interface: ContentService
      Publish current content of the node and his child nodes.
      Specified by:
      publishAll in interface ContentService
      Parameters:
      key - The key.
      entityName - The entityName, Domain or Page for example.
    • revert

      public void revert(PrimaryKey documentKey)
      Description copied from interface: ContentService
      Revert the pending changes.
      Specified by:
      revert in interface ContentService
      Parameters:
      documentKey - The key of the node.
    • revertAll

      public void revertAll(PrimaryKey key, String entityName)
      Description copied from interface: ContentService
      Revert the pending changes.
      Specified by:
      revertAll in interface ContentService
      Parameters:
      key - The key.
      entityName - The entityName, Domain or Page for example.
    • unpublish

      public void unpublish(PrimaryKey documentKey)
      Description copied from interface: ContentService
      Set node state to offline and delete published content
      Specified by:
      unpublish in interface ContentService
      Parameters:
      documentKey - The key of the node.
    • unpublishAll

      public void unpublishAll(PrimaryKey key, String entityName)
      Description copied from interface: ContentService
      Set node state of the current node and all his children to offline.
      Specified by:
      unpublishAll in interface ContentService
      Parameters:
      key - The key.
      entityName - The entityName, Domain or Page for example.
    • setChanged

      public void setChanged(PrimaryKey documentKey)
      Description copied from interface: ContentService
      Set node state to changed.
      Specified by:
      setChanged in interface ContentService
      Parameters:
      documentKey - The key of the node.