Class DuplicateResourceContentTask
java.lang.Object
ch.tocco.nice2.dms.spi.content.persist.DuplicateContentTask
ch.tocco.nice2.dms.spi.content.persist.DuplicateResourceContentTask
- All Implemented Interfaces:
PersistTask<Entity,Entity>
Creates a copy of a resource content.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Entityrun(Optional<Entity> resourceContentEntity, CommandContext commandContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
DuplicateResourceContentTask
public DuplicateResourceContentTask()
-
-
Method Details
-
run
@Nullable public @Nullable Entity run(Optional<Entity> resourceContentEntity, CommandContext commandContext) throws PersistException, InterruptedException - Throws:
PersistExceptionInterruptedException
-