public abstract class AbstractRequestVariableResolver extends PortalVariableResolver
VariableResolver
that resolves general request variables. The implicit
objects resolved by this class are:
PortletSession
.
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractRequestVariableResolver.GetOnlyMap<K,V>
A map base class that is to be used only for calling
AbstractRequestVariableResolver.GetOnlyMap.get(Object) . |
PortalVariableResolver.EnvironmentBean
Constructor and Description |
---|
AbstractRequestVariableResolver() |
Modifier and Type | Method and Description |
---|---|
protected abstract Map<String,Object> |
getApplicationScopeMap()
Returns the application scope map.
|
protected abstract Object |
getAttribute(String attributeName)
Returns the attribute with the given name.
|
protected abstract String |
getBusinessContextProperty(String key)
Returns the value with the given property id.
|
protected abstract Cookie[] |
getCookies()
Returns the cookies.
|
protected abstract String |
getHeader(String headerName)
Returns the header with the given name.
|
protected abstract Enumeration |
getHeaders(String headerName)
Returns the headers with the given name.
|
protected abstract Map<String,Object> |
getInitParamMap()
Returns the init parameters.
|
protected abstract String |
getParameter(String parameterName)
Returns the parameter with the given name.
|
protected abstract Object |
getParameterMap()
Returns the parameter map.
|
protected abstract Map<String,Object> |
getSessionScopeMap()
Returns the session scope map.
|
Object |
resolveVariable(String variableName) |
protected abstract String getParameter(String parameterName)
parameterName
- the parameter name.protected abstract Object getAttribute(String attributeName)
attributeName
- the attribute name.protected abstract Cookie[] getCookies()
protected abstract Enumeration getHeaders(String headerName)
headerName
- the header name.protected abstract String getHeader(String headerName)
headerName
- protected abstract Object getParameterMap()
protected abstract Map<String,Object> getSessionScopeMap()
protected abstract Map<String,Object> getInitParamMap()
protected abstract Map<String,Object> getApplicationScopeMap()
public Object resolveVariable(String variableName) throws ELException
resolveVariable
in interface VariableResolver
resolveVariable
in class PortalVariableResolver
ELException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.