lumis.portal.el
Class AbstractRequestVariableResolver

Package class diagram package AbstractRequestVariableResolver
java.lang.Object
  extended by lumis.portal.el.AbstractRequestVariableResolver
All Implemented Interfaces:
VariableResolver
Direct Known Subclasses:
HttpServletRequestVariableResolver, ServiceContainerRequestVariableResolver

public abstract class AbstractRequestVariableResolver
extends Object
implements VariableResolver

Abstract VariableResolver that resolves general request variables. The implicit objects resolved by this class are:

Since:
7.0.0

Nested Class Summary
protected static class AbstractRequestVariableResolver.GetOnlyMap<K,V>
          A map base class that is to be used only for calling AbstractRequestVariableResolver.GetOnlyMap.get(Object).
 
Constructor Summary
AbstractRequestVariableResolver()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRequestVariableResolver

public AbstractRequestVariableResolver()
Method Detail

getParameter

protected abstract String getParameter(String parameterName)
Returns the parameter with the given name.

Parameters:
parameterName - the parameter name.
Returns:
the parameter with the given name.
Since:
7.0.0

getAttribute

protected abstract Object getAttribute(String attributeName)
Returns the attribute with the given name.

Parameters:
attributeName - the attribute name.
Returns:
the attribute with the given name.
Since:
7.0.0

getCookies

protected abstract Cookie[] getCookies()
Returns the cookies.

Returns:
the cookies.
Since:
7.0.0

getHeaders

protected abstract Enumeration getHeaders(String headerName)
Returns the headers with the given name.

Parameters:
headerName - the header name.
Returns:
the headers with the given name.
Since:
7.0.0

getHeader

protected abstract String getHeader(String headerName)
Returns the header with the given name.

Parameters:
headerName -
Returns:
the header with the given name.
Since:
7.0.0

getParameterMap

protected abstract Object getParameterMap()
Returns the parameter map.

Returns:
the parameter map.
Since:
7.0.0

getSessionScopeMap

protected abstract Map<String,Object> getSessionScopeMap()
Returns the session scope map.

Returns:
the session scope map.
Since:
7.0.0

getInitParamMap

protected abstract Map<String,Object> getInitParamMap()
Returns the init parameters.

Returns:
the init parameters.
Since:
7.0.0

getApplicationScopeMap

protected abstract Map<String,Object> getApplicationScopeMap()
Returns the application scope map.

Returns:
the application scope map.
Since:
7.0.0

resolveVariable

public Object resolveVariable(String variableName)
                       throws ELException
Specified by:
resolveVariable in interface VariableResolver
Throws:
ELException

getBusinessContextProperty

protected abstract String getBusinessContextProperty(String key)
Returns the value with the given property id.

Parameters:
key - the property id.
Returns:
the value of the property with the given id.
Since:
7.0.0


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.