Class AbstractAllChangesTask
java.lang.Object
ch.tocco.nice2.dms.spi.content.persist.AbstractAllChangesTask
- All Implemented Interfaces:
OptionalTask<KeyEntityNameObject,,Void> PersistTask<KeyEntityNameObject,Void>
- Direct Known Subclasses:
AbstractCmsAllChangesTask,AbstractDmsAllChangesTask
public abstract class AbstractAllChangesTask
extends Object
implements OptionalTask<KeyEntityNameObject,Void>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CascadingDeleteServiceprotected final ContentTreeService -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAllChangesTask(ContentTreeService contentTreeService, CascadingDeleteService cascadingDeleteService) -
Method Summary
Modifier and TypeMethodDescriptiondoRun(KeyEntityNameObject keyEntityNameObject, CommandContext commandContext) protected abstract ContentTreeContextprotected abstract PersistTask<PrimaryKey, Void> getTask()protected voidupdateNode(ContentTreeNode treeNode, 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.OptionalTask
runMethods 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
-
Field Details
-
contentTreeService
-
cascadingDeleteService
-
-
Constructor Details
-
AbstractAllChangesTask
public AbstractAllChangesTask(ContentTreeService contentTreeService, CascadingDeleteService cascadingDeleteService)
-
-
Method Details
-
doRun
public Void doRun(KeyEntityNameObject keyEntityNameObject, CommandContext commandContext) throws Exception - Specified by:
doRunin interfaceOptionalTask<KeyEntityNameObject,Void> - Throws:
Exception
-
updateNode
- Throws:
Exception
-
getContentTreeContext
-
getTask
-