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
Modifier and TypeFieldDescriptionprotected final CascadingDeleteService
protected final ContentTreeService
-
Constructor Summary
ConstructorDescriptionAbstractAllChangesTask
(ContentTreeService contentTreeService, CascadingDeleteService cascadingDeleteService) -
Method Summary
Modifier and TypeMethodDescriptiondoRun
(KeyEntityNameObject keyEntityNameObject, CommandContext commandContext) protected abstract ContentTreeContext
protected abstract PersistTask
<PrimaryKey, Void> getTask()
protected void
updateNode
(ContentTreeNode treeNode, 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.OptionalTask
run
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
-
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:
doRun
in interfaceOptionalTask<KeyEntityNameObject,
Void> - Throws:
Exception
-
updateNode
- Throws:
Exception
-
getContentTreeContext
-
getTask
-