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 ch.tocco.nice2.dms.impl.entitydocs.AbstractRelatedEntityPersistTask
AbstractRelatedEntityPersistTask.GetRelatedEntityPersistTask, AbstractRelatedEntityPersistTask.Pair<T1,
T2>, AbstractRelatedEntityPersistTask.SetRelatedEntityPersistTask -
Field Summary
Fields inherited from class ch.tocco.nice2.dms.impl.entitydocs.AbstractRelatedEntityPersistTask
entityDocumentsService
-
Constructor Summary
ConstructorDescriptionSetRelatedEntityPersistTask
(EntityDocumentsService entityDocumentsService, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionrun
(Optional<AbstractRelatedEntityPersistTask.Pair<ContentTreeNode, Entity>> arguments, CommandContext commandContext) Methods inherited from class ch.tocco.nice2.dms.impl.entitydocs.AbstractRelatedEntityPersistTask
getEntityDocumentsRelations, requireRelation
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
-
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:
PersistException
InterruptedException
-