Class RecursiveGetChildNodesTask
java.lang.Object
ch.tocco.nice2.dms.api.tree.persisttask.RecursiveGetChildNodesTask
- All Implemented Interfaces:
PersistTask<ContentTreeNode,
Set<ContentTreeNode>>
public class RecursiveGetChildNodesTask
extends Object
implements PersistTask<ContentTreeNode,Set<ContentTreeNode>>
PersistTask to recursively get all child nodes of a given node. The returned set does not include the node itself.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Set
<ContentTreeNode> run
(Optional<ContentTreeNode> 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
-
RecursiveGetChildNodesTask
public RecursiveGetChildNodesTask() -
RecursiveGetChildNodesTask
-
-
Method Details
-
run
@Nullable public @Nullable Set<ContentTreeNode> run(Optional<ContentTreeNode> a, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
run
in interfacePersistTask<ContentTreeNode,
Set<ContentTreeNode>> - Throws:
PersistException
InterruptedException
-