Class ProgressAwareChangesExecutorImpl
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.ProgressAwareChangesExecutorImpl
- All Implemented Interfaces:
ObjectChangeExecutor
-
Constructor Summary
ConstructorDescriptionProgressAwareChangesExecutorImpl
(ExecuteChangeOptionsDto options, ProgressReportingAwarePage progressAwarePage) -
Method Summary
Modifier and TypeMethodDescriptionCollection<ObjectDeltaOperation<? extends ObjectType>>
executeChanges
(Collection<ObjectDelta<? extends ObjectType>> deltas, boolean previewOnly, ModelExecuteOptions options, com.evolveum.midpoint.task.api.Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target) Executes changes on behalf of the parent page.Collection<ObjectDeltaOperation<? extends ObjectType>>
executeChanges
(Collection<ObjectDelta<? extends ObjectType>> deltas, boolean previewOnly, com.evolveum.midpoint.task.api.Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target)
-
Constructor Details
-
ProgressAwareChangesExecutorImpl
public ProgressAwareChangesExecutorImpl(ExecuteChangeOptionsDto options, ProgressReportingAwarePage progressAwarePage)
-
-
Method Details
-
executeChanges
public Collection<ObjectDeltaOperation<? extends ObjectType>> executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, boolean previewOnly, com.evolveum.midpoint.task.api.Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target) - Specified by:
executeChanges
in interfaceObjectChangeExecutor
-
executeChanges
public Collection<ObjectDeltaOperation<? extends ObjectType>> executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, boolean previewOnly, ModelExecuteOptions options, com.evolveum.midpoint.task.api.Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target) Executes changes on behalf of the parent page. By default, changes are executed asynchronously (in a separate thread). However, when set in the midpoint configuration, changes are executed synchronously.- Parameters:
deltas
- Deltas to be executed.options
- Model execution options.task
- Task in context of which the changes have to be executed.result
- Operation result.
-