public class SessionUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
static String |
TD_TASKS_CACHE |
static String |
TD_TASKS_SERVICE_CLENT |
| Constructor and Description |
|---|
SessionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Map<Long,org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationDefinition> |
getMapOperationDescription(javax.servlet.http.HttpSession aslSession,
String scope)
Gets the map operation description.
|
static PortalContextInfo |
getMinPortalContext(javax.servlet.http.HttpServletRequest request)
Gets the portal context.
|
static PortalContextInfo |
getPortalContext(javax.servlet.http.HttpServletRequest request)
Gets the portal context.
|
static LinkedHashMap<String,TdTaskModel> |
getTasksCache(javax.servlet.http.HttpSession aslSession,
String scope)
Gets the tasks cache.
|
static TaskTabularDataService |
getTaskTdServiceClient(javax.servlet.http.HttpSession aslSession,
String scope)
Gets the task td service client.
|
static void |
setMapOperationDescription(javax.servlet.http.HttpSession aslSession,
String scope,
Map<Long,org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationDefinition> map)
Sets the map operation description.
|
static void |
setTasksCache(javax.servlet.http.HttpSession aslSession,
String scope,
LinkedHashMap<String,TdTaskModel> hashTaskModel)
Sets the tasks cache.
|
static void |
setTaskServiceClient(javax.servlet.http.HttpSession aslSession,
String scope,
TaskTabularDataService service)
Sets the task service client.
|
public static final String TD_TASKS_CACHE
public static final String TD_TASKS_SERVICE_CLENT
public static org.slf4j.Logger logger
public static PortalContextInfo getPortalContext(javax.servlet.http.HttpServletRequest request)
request - the requestpublic static PortalContextInfo getMinPortalContext(javax.servlet.http.HttpServletRequest request)
request - the requestpublic static LinkedHashMap<String,TdTaskModel> getTasksCache(javax.servlet.http.HttpSession aslSession, String scope)
aslSession - the asl sessionscope - the scopepublic static void setTasksCache(javax.servlet.http.HttpSession aslSession,
String scope,
LinkedHashMap<String,TdTaskModel> hashTaskModel)
aslSession - the asl sessionscope - the scopehashTaskModel - the hash task modelpublic static TaskTabularDataService getTaskTdServiceClient(javax.servlet.http.HttpSession aslSession, String scope)
aslSession - the asl sessionscope - the scopepublic static void setTaskServiceClient(javax.servlet.http.HttpSession aslSession,
String scope,
TaskTabularDataService service)
aslSession - the asl sessionscope - the scopeservice - the servicepublic static Map<Long,org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationDefinition> getMapOperationDescription(javax.servlet.http.HttpSession aslSession, String scope)
aslSession - the asl sessionscope - the scopepublic static void setMapOperationDescription(javax.servlet.http.HttpSession aslSession,
String scope,
Map<Long,org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationDefinition> map)
aslSession - the asl sessionscope - the scopemap - the mapCopyright © 2018. All Rights Reserved.