Class BaseActionExecutor
java.lang.Object
com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutor
- All Implemented Interfaces:
ActionExecutor
- Direct Known Subclasses:
AddExecutor,ApplyDefinitionExecutor,AssignExecutor,DeleteExecutor,DiscoverConnectorsExecutor,EnableDisableExecutor,EvaluateExpressionExecutor,ExecuteScriptExecutor,GenerateValueExecutor,LogExecutor,ModifyExecutor,NotifyExecutor,PurgeSchemaExecutor,RecomputeExecutor,ReencryptExecutor,ResolveExecutor,ResumeTaskExecutor,SearchExecutor,TestResourceExecutor,UnassignExecutor,ValidateExecutor
Superclass for all action executors.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BulkActionExecutorRegistryprotected BulkActionsExecutorprotected RepositoryServiceprotected ExpressionFactoryprotected ExpressionHelperprotected MatchingRuleRegistryprotected MidpointFunctionsprotected ModelServiceprotected OperationsHelperprotected PrismContextprotected ProvisioningServiceprotected RelationRegistryprotected SchemaServiceprotected SecurityContextManagerprotected SecurityEnforcerprotected TaskService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckExecutionAllowed(ExecutionContext context, OperationResult result) Checks if the execution is allowed: both expression profile and authorizations are checked.protected StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.model.impl.scripting.ActionExecutor
execute, execute, getActionType
-
Field Details
-
bulkActionsExecutor
-
prismContext
-
operationsHelper
-
expressionFactory
-
expressionHelper
-
provisioningService
-
modelService
-
securityEnforcer
-
securityContextManager
-
taskService
-
cacheRepositoryService
-
actionExecutorRegistry
-
midpointFunctions
-
relationRegistry
-
matchingRuleRegistry
-
schemaService
-
-
Constructor Details
-
BaseActionExecutor
public BaseActionExecutor()
-
-
Method Details
-
exceptionSuffix
-
checkExecutionAllowed
public void checkExecutionAllowed(ExecutionContext context, OperationResult result) throws SecurityViolationException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectNotFoundException Description copied from interface:ActionExecutorChecks if the execution is allowed: both expression profile and authorizations are checked. We may put this inside theActionExecutor.execute(AbstractActionExpressionType, PipelineData, ExecutionContext, OperationResult)method later, if needed.
-