Class AbstractGetNodesArgumentTask
java.lang.Object
ch.tocco.nice2.dms.impl.security.permissionsaving.AbstractGetNodesArgumentTask
- All Implemented Interfaces:
PersistTask<Tuple3<EntityExplorerActionSelection,
,PermissionsSaveActionService.PermissionValue[], ContentTreeContext>, Iterable<AbstractSaveNodeRightsTask.SaveNodeRightsArgument>> PersistTaskIterable<Tuple3<EntityExplorerActionSelection,
PermissionsSaveActionService.PermissionValue[], ContentTreeContext>, AbstractSaveNodeRightsTask.SaveNodeRightsArgument>
- Direct Known Subclasses:
GetNodesArgumentTask
,GetRecursiveNodesArgumentTask
public abstract class AbstractGetNodesArgumentTask
extends Object
implements PersistTaskIterable<Tuple3<EntityExplorerActionSelection,PermissionsSaveActionService.PermissionValue[],ContentTreeContext>,AbstractSaveNodeRightsTask.SaveNodeRightsArgument>
abstract task used to get arguments for
AbstractSaveNodeRightsTask
implementations-
Field Summary
Modifier and TypeFieldDescriptionprotected final ContentTreeService
protected final EntityExplorerActionSelectionService
-
Constructor Summary
ConstructorDescriptionAbstractGetNodesArgumentTask
(EntityExplorerActionSelectionService selectionService, ContentTreeService contentTreeService) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Set
<ContentTreeNode> getNodes
(ContentTreeNode node, CommandContext commandContext) run
(Optional<Tuple3<EntityExplorerActionSelection, PermissionsSaveActionService.PermissionValue[], ContentTreeContext>> argumentOptional, 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
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTaskIterable
filter, find, flatMap, forEach, get, get, get, getOnlyElement, getOnlyElement, getOnlyElement, map
-
Field Details
-
selectionService
-
contentTreeService
-
-
Constructor Details
-
AbstractGetNodesArgumentTask
public AbstractGetNodesArgumentTask(EntityExplorerActionSelectionService selectionService, ContentTreeService contentTreeService)
-
-
Method Details
-
run
@Nullable public @Nullable Iterable<AbstractSaveNodeRightsTask.SaveNodeRightsArgument> run(Optional<Tuple3<EntityExplorerActionSelection, PermissionsSaveActionService.PermissionValue[], throws ExceptionContentTreeContext>> argumentOptional, CommandContext commandContext) - Specified by:
run
in interfacePersistTask<Tuple3<EntityExplorerActionSelection,
PermissionsSaveActionService.PermissionValue[], ContentTreeContext>, Iterable<AbstractSaveNodeRightsTask.SaveNodeRightsArgument>> - Throws:
Exception
-
getNodes
protected abstract Set<ContentTreeNode> getNodes(ContentTreeNode node, CommandContext commandContext) throws Exception - Throws:
Exception
-