Class EmailNotifierVariableResolver
- java.lang.Object
-
- lumis.portal.el.PortalVariableResolver
-
- lumis.portal.activitystream.notifier.email.EmailNotifierVariableResolver
-
- All Implemented Interfaces:
javax.servlet.jsp.el.VariableResolver
@StableMinor(version="17.0", sinceVersion="8.2") public class EmailNotifierVariableResolver extends PortalVariableResolver
Resolves variables based on an activity. The implicit objects resolved by this class are:activity
: Corresponds to the activity.actor
: Corresponds to theactor
of the activity.action
: Corresponds to the activityaction
.objectType
: Corresponds to the activityobject type
.targetType
: Corresponds to the activitytarget type
.websiteUrl
: Corresponds to the website URL of the service that originated the activity.
PortalVariableResolver
to resolve it.- Since:
- 8.2.0
- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
EmailNotifierVariableResolver.ActionDecorator
Support class that extendsActivityAction
and implements new localization methods that use thelocale
and can be used with EL.class
EmailNotifierVariableResolver.ObjectTypeDecorator
Support class that extendsActivityObjectType
and implements new localization methods that use thelocale
and can be used with EL.-
Nested classes/interfaces inherited from class lumis.portal.el.PortalVariableResolver
PortalVariableResolver.EnvironmentBean
-
-
Constructor Summary
Constructors Constructor Description EmailNotifierVariableResolver(ActivityDocument.IActivity activity, java.util.Locale locale)
Creates a new resolver for the given activity and locale.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
resolveVariable(java.lang.String variableName)
-
-
-
Constructor Detail
-
EmailNotifierVariableResolver
public EmailNotifierVariableResolver(ActivityDocument.IActivity activity, java.util.Locale locale)
Creates a new resolver for the given activity and locale.- Since:
- 8.2.0
-
-
Method Detail
-
resolveVariable
public java.lang.Object resolveVariable(java.lang.String variableName) throws javax.servlet.jsp.el.ELException
- Specified by:
resolveVariable
in interfacejavax.servlet.jsp.el.VariableResolver
- Overrides:
resolveVariable
in classPortalVariableResolver
- Throws:
javax.servlet.jsp.el.ELException
-
-