public class ProgressReporter extends Object implements Serializable
Constructor and Description |
---|
ProgressReporter() |
Modifier and Type | Method and Description |
---|---|
void |
clearProgressPanel() |
static ProgressReporter |
create(String id,
ProgressReportingAwarePage parentPage)
Creates and initializes a progress reporter instance.
|
void |
executeChanges(Collection<ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> deltas,
boolean previewOnly,
ModelExecuteOptions options,
Task task,
OperationResult result,
org.apache.wicket.ajax.AjaxRequestTarget target)
Executes changes on behalf of the parent page.
|
ModelContext<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
getPreviewResult() |
ProgressPanel |
getProgressPanel() |
void |
hideAbortButton(org.apache.wicket.ajax.AjaxRequestTarget target) |
void |
hideBackButton(org.apache.wicket.ajax.AjaxRequestTarget target) |
void |
hideContinueEditingButton(org.apache.wicket.ajax.AjaxRequestTarget target) |
void |
hideProgressPanel() |
boolean |
isAllSuccess() |
void |
onAbortSubmit(org.apache.wicket.ajax.AjaxRequestTarget target)
You have to call this method when Abort button is pressed
|
void |
onSaveSubmit()
Should be called when "save" button is submitted.
|
void |
registerAbortButton(AjaxSubmitButton abortButton) |
void |
registerBackButton(AjaxSubmitButton backButton) |
void |
registerContinueEditingButton(AjaxSubmitButton continueEditingButton) |
void |
showAbortButton(org.apache.wicket.ajax.AjaxRequestTarget target) |
void |
showBackButton(org.apache.wicket.ajax.AjaxRequestTarget target) |
void |
showContinueEditingButton(org.apache.wicket.ajax.AjaxRequestTarget target) |
void |
showProgressPanel() |
public ProgressPanel getProgressPanel()
public static ProgressReporter create(String id, ProgressReportingAwarePage parentPage)
parentPage
- The parent page (user, org, role, ...)id
- Wicket ID of the progress panelpublic void onSaveSubmit()
public void executeChanges(Collection<ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> deltas, boolean previewOnly, ModelExecuteOptions options, Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target)
deltas
- Deltas to be executed.options
- Model execution options.task
- Task in context of which the changes have to be executed.result
- Operation result.target
- AjaxRequestTarget into which any synchronous changes are signalized.public void registerAbortButton(AjaxSubmitButton abortButton)
public void registerBackButton(AjaxSubmitButton backButton)
public void registerContinueEditingButton(AjaxSubmitButton continueEditingButton)
public void onAbortSubmit(org.apache.wicket.ajax.AjaxRequestTarget target)
public void hideAbortButton(org.apache.wicket.ajax.AjaxRequestTarget target)
public void showAbortButton(org.apache.wicket.ajax.AjaxRequestTarget target)
public void hideBackButton(org.apache.wicket.ajax.AjaxRequestTarget target)
public void hideContinueEditingButton(org.apache.wicket.ajax.AjaxRequestTarget target)
public void showBackButton(org.apache.wicket.ajax.AjaxRequestTarget target)
public void showContinueEditingButton(org.apache.wicket.ajax.AjaxRequestTarget target)
public boolean isAllSuccess()
public void showProgressPanel()
public void hideProgressPanel()
public void clearProgressPanel()
public ModelContext<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> getPreviewResult()
Copyright © 2016 evolveum. All rights reserved.