Class ProgressAwareChangesExecutorImpl
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.page.admin.ProgressAwareChangesExecutorImpl
-
- All Implemented Interfaces:
ObjectChangeExecutor
public class ProgressAwareChangesExecutorImpl extends Object implements ObjectChangeExecutor
-
-
Constructor Summary
Constructors Constructor Description ProgressAwareChangesExecutorImpl(ExecuteChangeOptionsDto options, ProgressReportingAwarePage progressAwarePage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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)Collection<ObjectDeltaOperation<? extends ObjectType>>executeChangesInBackground(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, com.evolveum.midpoint.task.api.Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target)
-
-
-
Constructor Detail
-
ProgressAwareChangesExecutorImpl
public ProgressAwareChangesExecutorImpl(ExecuteChangeOptionsDto options, ProgressReportingAwarePage progressAwarePage)
-
-
Method Detail
-
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:
executeChangesin 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.
-
executeChangesInBackground
public Collection<ObjectDeltaOperation<? extends ObjectType>> executeChangesInBackground(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, com.evolveum.midpoint.task.api.Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target)
-
-