180: TDM - Portlets must support Storage Id in communications with service

Task-Url: https://support.d4science.org/issues/180

Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-statistical-widget@115280 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-06-09 17:07:11 +00:00 committed by Giancarlo Panichi
parent 33681a18f8
commit cdc9dc0c05
1 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ public class TDSubmissionHandler implements SubmissionHandler,
public void operationComplete(OperationResult operationResult) {
ChangeTableWhy why = ChangeTableWhy.TABLEUPDATED;
ChangeTableRequestEvent changeTableRequestEvent = new ChangeTableRequestEvent(
ChangeTableRequestType.ROLLBACK, operationResult.getTrId(), why);
ChangeTableRequestType.STATISTICALOPERATION, operationResult.getTrId(), why);
eventBus.fireEvent(changeTableRequestEvent);
}
@ -122,7 +122,7 @@ public class TDSubmissionHandler implements SubmissionHandler,
public void operationStopped(OperationResult operationResult, String reason, String details) {
ChangeTableWhy why = ChangeTableWhy.TABLECURATION;
ChangeTableRequestEvent changeTableRequestEvent = new ChangeTableRequestEvent(
ChangeTableRequestType.ROLLBACK, operationResult.getTrId(), why);
ChangeTableRequestType.STATISTICALOPERATION, operationResult.getTrId(), why);
eventBus.fireEvent(changeTableRequestEvent);
}