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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@Nullable Set<ContentTreeNode> run(Optional<ContentTreeNode> a, CommandContext commandContext) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTaskandThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
- 
Constructor Details- 
RecursiveGetChildNodesTaskpublic RecursiveGetChildNodesTask()
- 
RecursiveGetChildNodesTask
 
- 
- 
Method Details- 
run@Nullable public @Nullable Set<ContentTreeNode> run(Optional<ContentTreeNode> a, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
- runin interface- PersistTask<ContentTreeNode,- Set<ContentTreeNode>> 
- Throws:
- PersistException
- InterruptedException
 
 
-