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
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Set<ContentTreeNode> run(Optional<ContentTreeNode> a, CommandContext commandContext) 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
-
RecursiveGetChildNodesTask
public RecursiveGetChildNodesTask() -
RecursiveGetChildNodesTask
-
-
Method Details
-
run
@Nullable public @Nullable Set<ContentTreeNode> run(Optional<ContentTreeNode> a, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
runin interfacePersistTask<ContentTreeNode, Set<ContentTreeNode>>- Throws:
PersistExceptionInterruptedException
-