Class CreateResourcePersistTask
java.lang.Object
ch.tocco.nice2.dms.impl.entitydocs.persisttask.CreateResourcePersistTask
- All Implemented Interfaces:
PersistTask<Entity,
ResourceNode>
-
Constructor Summary
ConstructorDescriptionCreateResourcePersistTask
(FolderNode folder, Binary binary, FieldModel fieldModel, ContentTreeService contentTreeService, InternalEntityDocumentsService internalEntityDocumentsService, EntityDefaultValueService defaultValueService) -
Method Summary
Modifier and TypeMethodDescription@Nullable ResourceNode
run
(Optional<Entity> 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
-
CreateResourcePersistTask
public CreateResourcePersistTask(FolderNode folder, Binary binary, FieldModel fieldModel, ContentTreeService contentTreeService, InternalEntityDocumentsService internalEntityDocumentsService, EntityDefaultValueService defaultValueService)
-
-
Method Details
-
run
@Nullable public @Nullable ResourceNode run(Optional<Entity> a, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
run
in interfacePersistTask<Entity,
ResourceNode> - Throws:
PersistException
InterruptedException
-