Package lumis.portal.page
Class PageWebResourceVariableResolver
- java.lang.Object
-
- lumis.portal.el.PortalVariableResolver
-
- lumis.portal.page.PageWebResourceVariableResolver
-
- All Implemented Interfaces:
VariableResolver
- Direct Known Subclasses:
BusinessContextVariableResolver
,PageWebResourceTitlePatternVariableResolver
public class PageWebResourceVariableResolver extends PortalVariableResolver
VariableResolver
that resolves the following variables:- pageWebResource: Returns the
PageWebResource
thisPageWebResourceVariableResolver
refers to.
PageWebResourceVariableResolver
it will be resolved byHttpServletRequestVariableResolver
.- Since:
- 7.0.0
- Version:
- $Revision: 20118 $ $Date: 2017-04-12 11:28:57 -0300 (Wed, 12 Apr 2017) $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class lumis.portal.el.PortalVariableResolver
PortalVariableResolver.EnvironmentBean
-
-
Field Summary
Fields Modifier and Type Field Description protected PageWebResource
pageWebResource
ThePageWebResource
thisPageWebResourceVariableResolver
refers to.
-
Constructor Summary
Constructors Constructor Description PageWebResourceVariableResolver(PageWebResource pageWebResource)
Creates a new instance with the given parameters.PageWebResourceVariableResolver(PageWebResource pageWebResource, HttpServletRequest httpServletRequest)
Creates a new instance with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
resolveVariable(java.lang.String variableName)
-
-
-
Field Detail
-
pageWebResource
protected final PageWebResource pageWebResource
ThePageWebResource
thisPageWebResourceVariableResolver
refers to.- Since:
- 7.0.0
-
-
Constructor Detail
-
PageWebResourceVariableResolver
public PageWebResourceVariableResolver(PageWebResource pageWebResource, HttpServletRequest httpServletRequest)
Creates a new instance with the given parameters.- Parameters:
pageWebResource
- the page web resource.httpServletRequest
- the HTTP servlet request.- Since:
- 7.0.0
-
PageWebResourceVariableResolver
public PageWebResourceVariableResolver(PageWebResource pageWebResource)
Creates a new instance with the given parameters.- Parameters:
pageWebResource
- the page web resource.- Since:
- 7.0.0
-
-
Method Detail
-
resolveVariable
public java.lang.Object resolveVariable(java.lang.String variableName) throws ELException
- Specified by:
resolveVariable
in interfaceVariableResolver
- Overrides:
resolveVariable
in classPortalVariableResolver
- Throws:
ELException
-
-