Package com.evolveum.midpoint.model.api
Interface BulkActionsService
- All Known Implementing Classes:
ModelController
public interface BulkActionsService
Interface of the Model subsystem that provides scripting (bulk actions) operations.
-
Method Summary
Modifier and TypeMethodDescriptionexecuteBulkAction
(@NotNull ExecuteScriptConfigItem executeScriptCommand, @NotNull VariablesMap initialVariables, @NotNull BulkActionExecutionOptions options, @NotNull Task task, @NotNull OperationResult result) Synchronously executes any scripting expression (with no input data).
-
Method Details
-
executeBulkAction
BulkActionExecutionResult executeBulkAction(@NotNull @NotNull ExecuteScriptConfigItem executeScriptCommand, @NotNull @NotNull VariablesMap initialVariables, @NotNull @NotNull BulkActionExecutionOptions options, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws SchemaException, SecurityViolationException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, ObjectAlreadyExistsException Synchronously executes any scripting expression (with no input data). Determines and respects the execution profile with regards to the origin of the script.- Parameters:
executeScriptCommand
- Scripting request to execute.task
- Task in context of which the script should execute (in foreground!)result
- Operation result TODO consider returning ExecutionContext (requires moving the context to model api)- Throws:
SchemaException
SecurityViolationException
ObjectNotFoundException
ExpressionEvaluationException
CommunicationException
ConfigurationException
PolicyViolationException
ObjectAlreadyExistsException
-