Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@95811 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5673851e97
commit
d0b009e63c
|
@ -15,8 +15,10 @@ import java.util.Collection;
|
|||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
|
@ -6483,11 +6485,20 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
}
|
||||
InvocationS invocationS=null;
|
||||
if (job.getInvocation() != null) {
|
||||
Map<String,Object> mapSent=new HashMap<String,Object>();
|
||||
Map<String,Object> map=job.getInvocation().getParameters();
|
||||
Set<String> keys=map.keySet();
|
||||
Iterator<String> iterator=keys.iterator();
|
||||
while(iterator.hasNext()){
|
||||
String key=iterator.next();
|
||||
Object o=map.get(key);
|
||||
mapSent.put(key, o.toString());
|
||||
}
|
||||
|
||||
invocationS = new InvocationS(job.getInvocation()
|
||||
.getColumnId(), job.getInvocation()
|
||||
.getIdentifier(), job.getInvocation()
|
||||
.getOperationId(), job.getInvocation()
|
||||
.getParameters());
|
||||
.getOperationId(), mapSent);
|
||||
}
|
||||
JobS jobS = new JobS(String.valueOf(j), job.getProgress(),
|
||||
job.getHumaReadableStatus(), job.getDescription(),
|
||||
|
|
|
@ -18,8 +18,9 @@ public class JobS implements Serializable {
|
|||
protected float progress;
|
||||
protected String humaReadableStatus;
|
||||
protected String description;
|
||||
protected ArrayList<Validations> validations;
|
||||
protected InvocationS invocation;
|
||||
protected ArrayList<Validations> validations;
|
||||
|
||||
|
||||
public JobS() {
|
||||
|
||||
|
@ -87,11 +88,12 @@ public class JobS implements Serializable {
|
|||
public String toString() {
|
||||
return "JobS [id=" + id + ", progress=" + progress
|
||||
+ ", humaReadableStatus=" + humaReadableStatus
|
||||
+ ", description=" + description + ", validations="
|
||||
+ validations + ", invocation=" + invocation + "]";
|
||||
+ ", description=" + description + ", invocation=" + invocation
|
||||
+ ", validations=" + validations + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue