Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@90478 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
18d7805bd0
commit
4b268dc70b
|
@ -886,8 +886,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
return State.IN_PROGRESS;
|
return State.IN_PROGRESS;
|
||||||
case SUCCEDED:
|
case SUCCEDED:
|
||||||
return State.SUCCEDED;
|
return State.SUCCEDED;
|
||||||
case FALLBACK:
|
case STOPPED:
|
||||||
return State.FAILED;
|
return State.STOPPED;
|
||||||
default:
|
default:
|
||||||
return State.FAILED;
|
return State.FAILED;
|
||||||
}
|
}
|
||||||
|
@ -955,6 +955,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
}
|
}
|
||||||
importMonitor.setProgress(task.getProgress());
|
importMonitor.setProgress(task.getProgress());
|
||||||
break;
|
break;
|
||||||
|
case STOPPED:
|
||||||
|
break;
|
||||||
case ABORTED:
|
case ABORTED:
|
||||||
break;
|
break;
|
||||||
case WAITING:
|
case WAITING:
|
||||||
|
@ -1312,6 +1314,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
csvImportTabResource);
|
csvImportTabResource);
|
||||||
SessionUtil.setTRId(session, trId);
|
SessionUtil.setTRId(session, trId);
|
||||||
break;
|
break;
|
||||||
|
case STOPPED:
|
||||||
|
break;
|
||||||
case IN_PROGRESS:
|
case IN_PROGRESS:
|
||||||
importMonitor.setProgress(task.getProgress());
|
importMonitor.setProgress(task.getProgress());
|
||||||
break;
|
break;
|
||||||
|
@ -1771,6 +1775,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
.format(exportMetadata.getExportDate()));
|
.format(exportMetadata.getExportDate()));
|
||||||
exportMonitor.setTabExportMetadata(tabExportMetadata);
|
exportMonitor.setTabExportMetadata(tabExportMetadata);
|
||||||
break;
|
break;
|
||||||
|
case STOPPED:
|
||||||
|
break;
|
||||||
case IN_PROGRESS:
|
case IN_PROGRESS:
|
||||||
exportMonitor.setProgress(task.getProgress());
|
exportMonitor.setProgress(task.getProgress());
|
||||||
break;
|
break;
|
||||||
|
@ -1934,6 +1940,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
break;
|
break;
|
||||||
case ABORTED:
|
case ABORTED:
|
||||||
break;
|
break;
|
||||||
|
case STOPPED:
|
||||||
|
break;
|
||||||
case INITIALIZING:
|
case INITIALIZING:
|
||||||
break;
|
break;
|
||||||
case WAITING:
|
case WAITING:
|
||||||
|
|
|
@ -16,6 +16,7 @@ public enum State implements Serializable{
|
||||||
IN_PROGRESS,
|
IN_PROGRESS,
|
||||||
SUCCEDED,
|
SUCCEDED,
|
||||||
FAILED,
|
FAILED,
|
||||||
ABORTED;
|
ABORTED,
|
||||||
|
STOPPED;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
package org.gcube.portlets.user.td.gwtservice.shared.tr;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author "Giancarlo Panichi"
|
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public class ColumnTypeCode implements Serializable {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -564910517277612291L;
|
|
||||||
|
|
||||||
protected String id; // For insert in table only
|
|
||||||
protected org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnTypeCode code;
|
|
||||||
|
|
||||||
public String getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(String id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnTypeCode getCode() {
|
|
||||||
return code;
|
|
||||||
}
|
|
||||||
public void setCode(
|
|
||||||
org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnTypeCode code) {
|
|
||||||
this.code = code;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getLabel() {
|
|
||||||
return code.getColumnTypeCodeLabel();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return "ColumnTypeCode [id=" + id + ", code=" + code + ", getLabel()="
|
|
||||||
+ getLabel() + "]";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue