Class SearchExecutor
java.lang.Object
com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutor
com.evolveum.midpoint.model.impl.scripting.actions.SearchExecutor
- All Implemented Interfaces:
- ActionExecutor
Evaluates "search" scripting expression.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutorBaseActionExecutor.ConsoleFailureMessageWriter, BaseActionExecutor.ItemProcessor
- 
Field SummaryFields inherited from class com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutoractionExecutorRegistry, bulkActionsExecutor, cacheRepositoryService, matchingRuleRegistry, midpointFunctions, modelService, prismContext, provisioningService, relationRegistry, schemaService, securityContextManager, securityEnforcer, taskService
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionexecute(AbstractActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult globalResult) To be used only if the "dynamic" version is not supported.execute(ActionExpressionType command, PipelineData input, ExecutionContext context, OperationResult globalResult) Executes given action command.@NotNull BulkActionReturns the type of action supported by this executor.voidinit()Methods inherited from class com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutorcheckExecutionAllowed, exceptionSuffix
- 
Constructor Details- 
SearchExecutorpublic SearchExecutor()
 
- 
- 
Method Details- 
init@PostConstruct public void init()
- 
getActionTypeDescription copied from interface:ActionExecutorReturns the type of action supported by this executor.
- 
executepublic PipelineData execute(AbstractActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult globalResult) throws SchemaException, ObjectNotFoundException, ObjectAlreadyExistsException, SecurityViolationException, PolicyViolationException, CommunicationException, ConfigurationException, ExpressionEvaluationException Description copied from interface:ActionExecutorTo be used only if the "dynamic" version is not supported.
- 
executepublic PipelineData execute(ActionExpressionType command, PipelineData input, ExecutionContext context, OperationResult globalResult) Description copied from interface:ActionExecutorExecutes given action command.- Parameters:
- command- Command to be executed. Its parameters can be defined statically (using "new" specific subclasses in the schema) or dynamically (using "old fashioned" dynamic name-value parameters) or in a mixed style, where dynamic definitions take precedence.
- input- Input data (pipeline) that the action has to be executed on.
- context- Overall execution context.
- globalResult- Global operation result. This is the parent result that receives subresults related to actions executions. (But individual results are stored also into the pipeline, to indicate success/failure of individual pipeline items processing.)
 
 
-