Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@99005 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
18cfc593a1
commit
a19878e07d
|
@ -436,13 +436,13 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
TabularResource tr = service
|
||||
.getTabularResource(new TabularResourceId(Long
|
||||
.valueOf(currentTR.getTrId().getId())));
|
||||
|
||||
logger.debug("GetTabResourceInformation() TR on service: "+tr);
|
||||
|
||||
currentTR.setDate(sdf.format(tr.getCreationDate().getTime()));
|
||||
currentTR.setValid(tr.isValid());
|
||||
currentTR.setFinalized(tr.isFinalized());
|
||||
Contacts owner = new Contacts("", tr.getOwner(), false);
|
||||
currentTR.setOwner(owner);
|
||||
|
||||
logger.debug("GetTabResourceInformation() updated information:"
|
||||
+ currentTR);
|
||||
return currentTR;
|
||||
|
@ -3181,7 +3181,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
TabularResource tr = service
|
||||
.getTabularResource(new TabularResourceId(Long.valueOf(trId
|
||||
.getId())));
|
||||
|
||||
|
||||
Collection<TabularResourceMetadata> trMetas = tr.getAllMetadata();
|
||||
|
||||
logger.debug("GetTRMetadata size: " + trMetas.size());
|
||||
|
@ -5392,7 +5392,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
new Long(tabResource.getTrId().getId()));
|
||||
|
||||
TabularResource tr = service.getTabularResource(tabularResourceId);
|
||||
|
||||
logger.debug("setTabResourceInformation - old information:"+tr);
|
||||
|
||||
|
||||
if (tabResource.getName() != null) {
|
||||
NameMetadata name = new NameMetadata(tabResource.getName());
|
||||
tr.setMetadata(name);
|
||||
|
@ -5421,6 +5423,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
tr.finalize();
|
||||
}
|
||||
}
|
||||
logger.debug("setTabResourceInformation - new information:"+tr);
|
||||
|
||||
|
||||
} catch (TDGWTSessionExpiredException e) {
|
||||
throw e;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<Description>${project.description}</Description>
|
||||
<Class>PortletsUser</Class>
|
||||
<Name>${project.name}</Name>
|
||||
<Version>1.0.0</Version>
|
||||
<Version>${version}</Version>
|
||||
<Packages>
|
||||
<Software>
|
||||
<Description>${project.description}</Description>
|
||||
|
|
Loading…
Reference in New Issue