Class NewEnquiryTemplateDef

  • All Implemented Interfaces:
    MessageTemplateDefinition

    @Component
    public class NewEnquiryTemplateDef
    extends java.lang.Object
    implements MessageTemplateDefinition
    Defines a template for new enquiry notification - intended for end users.
    Author:
    Krzysztof Benedyczak
    • Constructor Detail

      • NewEnquiryTemplateDef

        public NewEnquiryTemplateDef()
    • Method Detail

      • getDescriptionKey

        public java.lang.String getDescriptionKey()
        Specified by:
        getDescriptionKey in interface MessageTemplateDefinition
        Returns:
        message bundle key with the description of the template definition, with information on the purpose of the messages created with this template.
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface MessageTemplateDefinition
        Returns:
        unique name of the message template definition
      • getVariables

        public java.util.Map<java.lang.String,​MessageTemplateVariable> getVariables()
        Specified by:
        getVariables in interface MessageTemplateDefinition
        Returns:
        map of variables supported by this template consumer. The map keys are variable names. The values are the keys in the message bundle with descriptions.