Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@111824 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e02e81ad30
commit
d44ecc622f
|
@ -1824,8 +1824,8 @@ public class SessionUtil {
|
|||
chartTopRatingSession);
|
||||
|
||||
}
|
||||
|
||||
//Geospatial
|
||||
|
||||
// Geospatial
|
||||
public static GeospatialCreateCoordinatesSession getGeospatialCreateCoordinatesSession(
|
||||
HttpSession httpSession) {
|
||||
GeospatialCreateCoordinatesSession geospatialCreateCoordinatesSession = (GeospatialCreateCoordinatesSession) httpSession
|
||||
|
@ -1834,25 +1834,27 @@ public class SessionUtil {
|
|||
return geospatialCreateCoordinatesSession;
|
||||
} else {
|
||||
geospatialCreateCoordinatesSession = new GeospatialCreateCoordinatesSession();
|
||||
httpSession.setAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION,
|
||||
httpSession.setAttribute(
|
||||
SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION,
|
||||
geospatialCreateCoordinatesSession);
|
||||
return geospatialCreateCoordinatesSession;
|
||||
}
|
||||
}
|
||||
|
||||
public static void setGeospatialCreateCoordinatesSession(HttpSession httpSession,
|
||||
public static void setGeospatialCreateCoordinatesSession(
|
||||
HttpSession httpSession,
|
||||
GeospatialCreateCoordinatesSession geospatialCreateCoordinateSession) {
|
||||
GeospatialCreateCoordinatesSession sc = (GeospatialCreateCoordinatesSession) httpSession
|
||||
.getAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION);
|
||||
if (sc != null) {
|
||||
httpSession.removeAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION);
|
||||
httpSession
|
||||
.removeAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION);
|
||||
}
|
||||
httpSession.setAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION,
|
||||
httpSession.setAttribute(
|
||||
SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION,
|
||||
geospatialCreateCoordinateSession);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Retrieve task started
|
||||
|
|
Loading…
Reference in New Issue