Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@94370 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
71bc530f3f
commit
f1cdaed18e
|
@ -4891,7 +4891,22 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
templateData.setName(desc.getName());
|
||||
templateData.setDescription(desc.getDescription());
|
||||
templateData.setAgency(desc.getAgency());
|
||||
templateData.setCategory(desc.getTemplate().getCategory().name());
|
||||
switch (desc.getTemplate().getCategory()){
|
||||
case CODELIST:
|
||||
templateData.setCategory("Codelist");
|
||||
break;
|
||||
case DATASET:
|
||||
templateData.setCategory("Dataset");
|
||||
break;
|
||||
case GENERIC:
|
||||
templateData.setCategory("Generic");
|
||||
break;
|
||||
default:
|
||||
templateData.setCategory("No set");
|
||||
break;
|
||||
|
||||
};
|
||||
|
||||
templateDataList.add(templateData);
|
||||
}
|
||||
logger.debug("Retrieved TemplateData List");
|
||||
|
|
Loading…
Reference in New Issue