Class 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 the actor of the activity.
    • action: Corresponds to the activity action.
    • objectType: Corresponds to the activity object type.
    • targetType: Corresponds to the activity target type.
    • websiteUrl: Corresponds to the website URL of the service that originated the activity.
    If this class cannot resolve a variable, it delegates the PortalVariableResolver to resolve it.
    Since:
    8.2.0
    Version:
    $Revision$ $Date$
    • 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 interface javax.servlet.jsp.el.VariableResolver
        Overrides:
        resolveVariable in class PortalVariableResolver
        Throws:
        javax.servlet.jsp.el.ELException