diff --git a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistOperationInProgressCard.java b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistOperationInProgressCard.java index c17dca3..b0832ea 100644 --- a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistOperationInProgressCard.java +++ b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistOperationInProgressCard.java @@ -10,6 +10,7 @@ import org.gcube.portlets.user.td.monitorwidget.client.MonitorDialog; import org.gcube.portlets.user.td.monitorwidget.client.MonitorDialogListener; import org.gcube.portlets.user.td.widgetcommonevent.client.event.SessionExpiredEvent; import org.gcube.portlets.user.td.widgetcommonevent.client.type.SessionExpiredType; +import org.gcube.portlets.user.td.widgetcommonevent.shared.OperationResult; import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; import org.gcube.portlets.user.td.wizardwidget.client.WizardCard; @@ -99,8 +100,8 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard } @Override - public void operationComplete(TRId trId) { - newTrId = trId; + public void operationComplete(OperationResult operationResult) { + newTrId = operationResult.getTrId(); SafeHtmlBuilder safeHtmlBuilder = new SafeHtmlBuilder(); safeHtmlBuilder .appendHtmlConstant("
Operation Completed
" @@ -149,8 +150,8 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard } @Override - public void operationStopped(TRId trId, String reason, String details) { - newTrId = trId; + public void operationStopped(OperationResult operationResult, String reason, String details) { + newTrId = operationResult.getTrId(); SafeHtmlBuilder safeHtmlBuilder = new SafeHtmlBuilder(); safeHtmlBuilder .appendHtmlConstant("
Problems in the Operation
");