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
ConstructorsConstructorDescriptionGetOrCreateEntityDocumentsFolderPersistTask(QueryBuilderFactory queryBuilderFactory, ContentTreeService contentTreeService, InternalEntityDocumentsService internalEntityDocumentsService, BusinessUnitManager businessUnitManager, org.slf4j.Logger log) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
runin interfacePersistTask<Entity, FolderNode>
-