Class EmailNotifierVariableResolver
- java.lang.Object
-
- lumis.portal.el.PortalVariableResolver
-
- lumis.portal.activitystream.notifier.email.EmailNotifierVariableResolver
-
- All Implemented Interfaces:
VariableResolver
@StableMinor(version="14.2", 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: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
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, Locale locale)
Creates a new resolver for the given activity and locale.
-
-
-
Constructor Detail
-
EmailNotifierVariableResolver
public EmailNotifierVariableResolver(ActivityDocument.IActivity activity, Locale locale)
Creates a new resolver for the given activity and locale.- Since:
- 8.2.0
-
-
Method Detail
-
resolveVariable
public Object resolveVariable(String variableName) throws ELException
- Specified by:
resolveVariable
in interfaceVariableResolver
- Overrides:
resolveVariable
in classPortalVariableResolver
- Throws:
ELException
-
-