Class AbstractRelatedEntityPersistTask.SetRelatedEntityPersistTask
java.lang.Object
ch.tocco.nice2.dms.impl.entitydocs.AbstractRelatedEntityPersistTask<AbstractRelatedEntityPersistTask.Pair<ContentTreeNode, Entity>, Void>
ch.tocco.nice2.dms.impl.entitydocs.AbstractRelatedEntityPersistTask.SetRelatedEntityPersistTask
- All Implemented Interfaces:
PersistTask<AbstractRelatedEntityPersistTask.Pair<ContentTreeNode, Entity>, Void>
- Enclosing class:
AbstractRelatedEntityPersistTask<A,T>
public static class AbstractRelatedEntityPersistTask.SetRelatedEntityPersistTask
extends AbstractRelatedEntityPersistTask<AbstractRelatedEntityPersistTask.Pair<ContentTreeNode, Entity>, Void>
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractRelatedEntityPersistTask
AbstractRelatedEntityPersistTask.GetRelatedEntityPersistTask, AbstractRelatedEntityPersistTask.Pair<T1,T2>, AbstractRelatedEntityPersistTask.SetRelatedEntityPersistTask -
Field Summary
Fields inherited from class AbstractRelatedEntityPersistTask
entityDocumentsService -
Constructor Summary
ConstructorsConstructorDescriptionSetRelatedEntityPersistTask(EntityDocumentsService entityDocumentsService, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionrun(Optional<AbstractRelatedEntityPersistTask.Pair<ContentTreeNode, Entity>> arguments, CommandContext commandContext) Methods inherited from class AbstractRelatedEntityPersistTask
getEntityDocumentsRelations, requireRelationMethods 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
-
SetRelatedEntityPersistTask
public SetRelatedEntityPersistTask(EntityDocumentsService entityDocumentsService, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
run
public Void run(Optional<AbstractRelatedEntityPersistTask.Pair<ContentTreeNode, Entity>> arguments, CommandContext commandContext) throws PersistException, InterruptedException - Throws:
PersistExceptionInterruptedException
-