Package lumis.content.webresource
Class ContentPageWebResourceTitleVariableResolver
- java.lang.Object
-
- lumis.portal.el.PortalVariableResolver
-
- lumis.portal.page.PageWebResourceVariableResolver
-
- lumis.portal.page.webresource.PageWebResourceTitlePatternVariableResolver
-
- lumis.content.webresource.ContentPageWebResourceTitleVariableResolver
-
- All Implemented Interfaces:
VariableResolver
public class ContentPageWebResourceTitleVariableResolver extends PageWebResourceTitlePatternVariableResolver
Variable resolver that resolves, besides the variables provided byPageWebResourceTitlePatternVariableResolver
, the following variables:- publishedDay
- The -- two letter -- day of month that the content was published or
null
if there's no such information. - publishedMonth
- The -- two letter -- month number that the content was published or
null
if there's no such information. - publishedYear
- The -- four letter -- year that the content was published or
null
if there's no such information.
- Since:
- 10.2.0
- Version:
- $Revision: 20412 $ $Date: 2017-07-20 16:55:43 -0300 (Thu, 20 Jul 2017) $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class lumis.portal.el.PortalVariableResolver
PortalVariableResolver.EnvironmentBean
-
-
Field Summary
-
Fields inherited from class lumis.portal.page.PageWebResourceVariableResolver
pageWebResource
-
-
Constructor Summary
Constructors Constructor Description ContentPageWebResourceTitleVariableResolver(ContentVersion contentVersion, PageWebResource pageWebResource, String simpleTitle)
-
-
-
Constructor Detail
-
ContentPageWebResourceTitleVariableResolver
public ContentPageWebResourceTitleVariableResolver(ContentVersion contentVersion, PageWebResource pageWebResource, String simpleTitle)
-
-
Method Detail
-
resolveVariable
public Object resolveVariable(String variableName) throws ELException
- Specified by:
resolveVariable
in interfaceVariableResolver
- Overrides:
resolveVariable
in classPageWebResourceTitlePatternVariableResolver
- Throws:
ELException
-
-