Class ResourceContentServiceImpl
java.lang.Object
ch.tocco.nice2.dms.impl.content.ResourceContentServiceImpl
- All Implemented Interfaces:
ContentService, ResourceContentService
-
Constructor Summary
ConstructorsConstructorDescriptionResourceContentServiceImpl(CommandExecutor commandExecutor, CascadingDeleteService cascadingDeleteService, ContentTreeService contentTreeService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidpublish(PrimaryKey documentKey) Publish current content of the node.voidpublishAll(PrimaryKey key, String entityName) Publish current content of the node and his child nodes.voidrevert(PrimaryKey documentKey) Revert the pending changes.voidrevertAll(PrimaryKey key, String entityName) Revert the pending changes.voidsetChanged(PrimaryKey documentKey) Set node state to changed.voidunpublish(PrimaryKey documentKey) Set node state to offline and delete published contentvoidunpublishAll(PrimaryKey key, String entityName) Set node state of the current node and all his children to offline.
-
Constructor Details
-
ResourceContentServiceImpl
public ResourceContentServiceImpl(CommandExecutor commandExecutor, CascadingDeleteService cascadingDeleteService, ContentTreeService contentTreeService, SecurityManager securityManager)
-
-
Method Details
-
publish
Description copied from interface:ContentServicePublish current content of the node.- Specified by:
publishin interfaceContentService- Parameters:
documentKey- The key of the node to publish.
-
publishAll
Description copied from interface:ContentServicePublish current content of the node and his child nodes.- Specified by:
publishAllin interfaceContentService- Parameters:
key- The key.entityName- The entityName, Domain or Page for example.
-
revert
Description copied from interface:ContentServiceRevert the pending changes.- Specified by:
revertin interfaceContentService- Parameters:
documentKey- The key of the node.
-
revertAll
Description copied from interface:ContentServiceRevert the pending changes.- Specified by:
revertAllin interfaceContentService- Parameters:
key- The key.entityName- The entityName, Domain or Page for example.
-
unpublish
Description copied from interface:ContentServiceSet node state to offline and delete published content- Specified by:
unpublishin interfaceContentService- Parameters:
documentKey- The key of the node.
-
unpublishAll
Description copied from interface:ContentServiceSet node state of the current node and all his children to offline.- Specified by:
unpublishAllin interfaceContentService- Parameters:
key- The key.entityName- The entityName, Domain or Page for example.
-
setChanged
Description copied from interface:ContentServiceSet node state to changed.- Specified by:
setChangedin interfaceContentService- Parameters:
documentKey- The key of the node.
-