Class MobileNumberConfirmationTemplateDef
- java.lang.Object
-
- pl.edu.icm.unity.base.msgtemplates.confirm.MobileNumberConfirmationTemplateDef
-
- All Implemented Interfaces:
MessageTemplateDefinition
@Component public class MobileNumberConfirmationTemplateDef extends java.lang.Object implements MessageTemplateDefinition
Message template definition for mobile number confirmation subsystem- Author:
- P. Piernik
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIRMATION_CODEstatic java.lang.StringNAME-
Fields inherited from interface pl.edu.icm.unity.base.msgtemplates.MessageTemplateDefinition
CUSTOM_VAR_PREFIX, INCLUDE_PREFIX
-
-
Constructor Summary
Constructors Constructor Description MobileNumberConfirmationTemplateDef()
-
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
-
CONFIRMATION_CODE
public static final java.lang.String CONFIRMATION_CODE
- 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.
-
-