public class SessionUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
protected static String |
TDT_TEMPLATE_DEF |
| Constructor and Description |
|---|
SessionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CacheServerExpressions |
getCacheExpression(javax.servlet.http.HttpSession session,
String scope)
Gets the cache expression.
|
static List<ViolationDescription> |
getConstraintsViolations(javax.servlet.http.HttpSession session,
String scope)
Gets the constraints violations.
|
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 org.gcube.data.analysis.tabulardata.commons.templates.model.Template |
getTemplate(javax.servlet.http.HttpSession session,
String scope)
Gets the template.
|
static TdTemplateDefinition |
getTemplateDefinition(javax.servlet.http.HttpSession session,
String scope)
Gets the template definition.
|
static void |
setCacheExpression(javax.servlet.http.HttpSession session,
String scope,
CacheServerExpressions cache)
Sets the cache expression.
|
static void |
setConstraintsViolations(javax.servlet.http.HttpSession session,
String scope,
List<ViolationDescription> violations)
Sets the constraints violations.
|
static void |
setTemplate(javax.servlet.http.HttpSession session,
String scope,
org.gcube.data.analysis.tabulardata.commons.templates.model.Template template)
Sets the template.
|
static void |
setTemplateDefinition(javax.servlet.http.HttpSession session,
String scope,
TdTemplateDefinition templateType)
Sets the template definition.
|
protected static final String TDT_TEMPLATE_DEF
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 void setTemplateDefinition(javax.servlet.http.HttpSession session,
String scope,
TdTemplateDefinition templateType)
session - the sessionscope - the scopetemplateType - the template typepublic static TdTemplateDefinition getTemplateDefinition(javax.servlet.http.HttpSession session, String scope)
session - the sessionscope - the scopepublic static void setConstraintsViolations(javax.servlet.http.HttpSession session,
String scope,
List<ViolationDescription> violations)
session - the sessionscope - the scopeviolations - the violationspublic static List<ViolationDescription> getConstraintsViolations(javax.servlet.http.HttpSession session, String scope)
session - the sessionscope - the scopepublic static CacheServerExpressions getCacheExpression(javax.servlet.http.HttpSession session, String scope)
session - the sessionscope - the scopepublic static void setCacheExpression(javax.servlet.http.HttpSession session,
String scope,
CacheServerExpressions cache)
session - the sessionscope - the scopecache - the cachepublic static org.gcube.data.analysis.tabulardata.commons.templates.model.Template getTemplate(javax.servlet.http.HttpSession session,
String scope)
session - the sessionscope - the scopepublic static void setTemplate(javax.servlet.http.HttpSession session,
String scope,
org.gcube.data.analysis.tabulardata.commons.templates.model.Template template)
session - the sessionscope - the scopetemplate - the templateCopyright © 2017. All Rights Reserved.