Class EnquiryFilledTemplateDef
- java.lang.Object
-
- pl.edu.icm.unity.base.msgtemplates.reg.EnquiryFilledTemplateDef
-
- All Implemented Interfaces:
MessageTemplateDefinition
@Component public class EnquiryFilledTemplateDef extends java.lang.Object implements MessageTemplateDefinition
Defines a template for admin oriented notification about a filled enquiry form.- Author:
- Krzysztof Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFORM_NAMEstatic java.lang.StringNAMEstatic java.lang.StringUSER-
Fields inherited from interface pl.edu.icm.unity.base.msgtemplates.MessageTemplateDefinition
CUSTOM_VAR_PREFIX, INCLUDE_PREFIX
-
-
Constructor Summary
Constructors Constructor Description EnquiryFilledTemplateDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.EnumSet<CommunicationTechnology>getCompatibleTechnologies()java.lang.StringgetDescriptionKey()java.lang.StringgetName()java.util.Map<java.lang.String,MessageTemplateVariable>getVariables()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pl.edu.icm.unity.base.msgtemplates.MessageTemplateDefinition
allowCustomVariables
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
FORM_NAME
public static final java.lang.String FORM_NAME
- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptionKey
public java.lang.String getDescriptionKey()
- Specified by:
getDescriptionKeyin interfaceMessageTemplateDefinition- 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:
getNamein interfaceMessageTemplateDefinition- Returns:
- unique name of the message template definition
-
getVariables
public java.util.Map<java.lang.String,MessageTemplateVariable> getVariables()
- Specified by:
getVariablesin interfaceMessageTemplateDefinition- 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.
-
getCompatibleTechnologies
public java.util.EnumSet<CommunicationTechnology> getCompatibleTechnologies()
- Specified by:
getCompatibleTechnologiesin interfaceMessageTemplateDefinition- Returns:
- set of supported facilities. Message from the template can be sent only by notification channels which are using this facilities.
-
-