Class CreateEntityDocumentsFolderPersistTask
java.lang.Object
ch.tocco.nice2.dms.impl.entitydocs.persisttask.CreateEntityDocumentsFolderPersistTask
- All Implemented Interfaces:
PersistTask<CreateEntityDocumentsFolderArgument,
FolderNode>
public class CreateEntityDocumentsFolderPersistTask
extends Object
implements PersistTask<CreateEntityDocumentsFolderArgument,FolderNode>
Creates the folder for an entity's documents
-
Constructor Summary
ConstructorDescriptionCreateEntityDocumentsFolderPersistTask
(ContentTreeService contentTreeService, InternalEntityDocumentsService internalEntityDocumentsService, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionrun
(Optional<CreateEntityDocumentsFolderArgument> a, CommandContext commandContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
CreateEntityDocumentsFolderPersistTask
public CreateEntityDocumentsFolderPersistTask(ContentTreeService contentTreeService, InternalEntityDocumentsService internalEntityDocumentsService, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
run
public FolderNode run(Optional<CreateEntityDocumentsFolderArgument> a, CommandContext commandContext) throws Exception - Specified by:
run
in interfacePersistTask<CreateEntityDocumentsFolderArgument,
FolderNode> - Throws:
Exception
-