Class SetChangedStatusTask
java.lang.Object
ch.tocco.nice2.dms.spi.content.persist.SetChangedStatusTask
- All Implemented Interfaces:
PersistTask<PrimaryKey, Void>
This persist task sets publish status "changed" on a entity.
The entity of type
entityName must provide a
relationship "relPublish_status" to the "Publish_status" entity.
The status "changed" is only set if the current status is "published".-
Constructor Summary
Constructors -
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
-
SetChangedStatusTask
-
-
Method Details
-
run
public Void run(Optional<PrimaryKey> key, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
runin interfacePersistTask<PrimaryKey, Void>- Throws:
PersistExceptionInterruptedException
-