Updated to new service client library

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-export-widget@90816 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-01-31 17:37:15 +00:00
parent 3d750e50e8
commit 6488b4ec32
1 changed files with 7 additions and 1 deletions

View File

@ -60,17 +60,23 @@ public class CSVExportProgressUpdater extends Timer {
case IN_PROGRESS:
fireOperationUpdate(result.getProgress());
break;
case VALIDATING_RULES:
fireOperationUpdate(result.getProgress());
break;
case FAILED:
cancel();
errorMessage(result);
break;
case STOPPED:
cancel();
errorMessage(result);
break;
case SUCCEDED:
cancel();
Log.info("Export fisnish ExportMetadata:"
+ result.getTrExportMetadata());
fireOperationComplete();
break;
default:
Log.info("Unknow State");
break;