Removed behaviors not supported

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@115561 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-06-25 16:31:20 +00:00
parent 91d893390c
commit d446f67283
3 changed files with 15 additions and 5 deletions

View File

@ -103,6 +103,7 @@ public class SessionUtil {
httpSession.getId(), username); httpSession.getId(), username);
session.setScope(scope); session.setScope(scope);
*/ */
} else { } else {
session = SessionManager.getInstance().getASLSession( session = SessionManager.getInstance().getASLSession(
httpSession.getId(), username); httpSession.getId(), username);

View File

@ -3645,6 +3645,12 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
public ArrayList<Codelist> getCodelists() throws TDGWTServiceException { public ArrayList<Codelist> getCodelists() throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
//Remove this for multiple source
SDMXRegistrySource sdmxRegistrySource = new SDMXRegistrySource();
SessionUtil.setSDMXRegistrySource(session, sdmxRegistrySource);
//
return SessionUtil.retrieveCodelists(session); return SessionUtil.retrieveCodelists(session);
} catch (TDGWTServiceException e) { } catch (TDGWTServiceException e) {
@ -3657,6 +3663,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
} }
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */

View File

@ -16,11 +16,11 @@ public class Codelist implements Serializable {
private static final long serialVersionUID = -8353499109124097114L; private static final long serialVersionUID = -8353499109124097114L;
protected String id; private String id;
protected String name; private String name;
protected String agencyId; private String agencyId;
protected String version; private String version;
protected String description; private String description;
public Codelist(){} public Codelist(){}