Class EmailNotifierVariableResolver
- java.lang.Object
-
- lumis.portal.el.PortalVariableResolver
-
- lumis.portal.activitystream.notifier.email.EmailNotifierVariableResolver
-
- All Implemented Interfaces:
VariableResolver
@StableMinor(version="14.1", 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: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
-
-
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
-
-