use of org.activityinfo.legacy.shared.command.UpdateReportModel in project activityinfo by bedatadriven.
the class ReportDesignPage method performUpdate.
private void performUpdate(final AsyncMonitor monitor, final AsyncCallback<VoidResult> callback) {
UpdateReportModel updateReport = new UpdateReportModel();
updateReport.setModel(currentModel);
dispatcher.execute(updateReport, monitor, new AsyncCallback<VoidResult>() {
@Override
public void onFailure(final Throwable caught) {
callback.onFailure(caught);
}
@Override
public void onSuccess(final VoidResult result) {
dirty = false;
callback.onSuccess(result);
}
});
}
Aggregations