Class AssignmentOperationsExecutor
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutor
-
- com.evolveum.midpoint.model.impl.scripting.actions.AssignmentOperationsExecutor
-
- All Implemented Interfaces:
ActionExecutor
- Direct Known Subclasses:
AssignExecutor
,UnassignExecutor
public abstract class AssignmentOperationsExecutor extends BaseActionExecutor
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutor
cacheRepositoryService, expressionHelper, modelService, operationsHelper, prismContext, provisioningService, scriptingExpressionEvaluator, securityContextManager, securityEnforcer, taskService
-
-
Constructor Summary
Constructors Constructor Description AssignmentOperationsExecutor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ObjectDelta<? extends ObjectType>
createDelta(AssignmentHolderType object, Collection<ObjectReferenceType> resources, Collection<ObjectReferenceType> roles, Collection<QName> relationSpecifications)
PipelineData
execute(ActionExpressionType expression, PipelineData input, ExecutionContext context, OperationResult globalResult)
Executes given action command.protected abstract String
getName()
void
init()
-
Methods inherited from class com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutor
checkRootAuthorization, drySuffix, exceptionSuffix, getOptions, getParamDryRun, optionsSuffix, processActionException
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getName
protected abstract String getName()
-
execute
public PipelineData execute(ActionExpressionType expression, PipelineData input, ExecutionContext context, OperationResult globalResult) throws ScriptExecutionException
Description copied from interface:ActionExecutor
Executes given action command.- Throws:
ScriptExecutionException
-
createDelta
protected abstract ObjectDelta<? extends ObjectType> createDelta(AssignmentHolderType object, Collection<ObjectReferenceType> resources, Collection<ObjectReferenceType> roles, Collection<QName> relationSpecifications) throws SchemaException
- Throws:
SchemaException
-
-