Class GetOrCreateEntityDocumentsFolderPersistTask
java.lang.Object
ch.tocco.nice2.dms.impl.entitydocs.persisttask.GetOrCreateEntityDocumentsFolderPersistTask
- All Implemented Interfaces:
PersistTask<Entity,
FolderNode>
public class GetOrCreateEntityDocumentsFolderPersistTask
extends Object
implements PersistTask<Entity,FolderNode>
Returns the
FolderNode
for a given Entity
representing the Entity
's root folder. If the
FolderNode
does not yet exist (if the argument Entity
is in
Entity.State
'Entity.State.CONCEPTION
',
it will be created.-
Constructor Summary
ConstructorDescriptionGetOrCreateEntityDocumentsFolderPersistTask
(QueryBuilderFactory queryBuilderFactory, ContentTreeService contentTreeService, InternalEntityDocumentsService internalEntityDocumentsService, BusinessUnitManager businessUnitManager, org.slf4j.Logger log) -
Method Summary
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
-
GetOrCreateEntityDocumentsFolderPersistTask
public GetOrCreateEntityDocumentsFolderPersistTask(QueryBuilderFactory queryBuilderFactory, ContentTreeService contentTreeService, InternalEntityDocumentsService internalEntityDocumentsService, BusinessUnitManager businessUnitManager, org.slf4j.Logger log)
-
-
Method Details
-
run
- Specified by:
run
in interfacePersistTask<Entity,
FolderNode>
-