public class SecurityCodeMailMessage extends MailMessage
ACTIVATION_LINK_PREFIX| Constructor and Description |
|---|
SecurityCodeMailMessage(String messageKey,
Locale locale,
User... recipients)
Construct a new message with the given message key and locale.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLinkParamAction()
Get the name of the request parameter which should be set to the action of the SecurityCode.
|
String |
getLinkParamCode()
Get the name of the request parameter which should be set to the actual code of the
SecurityCode.
|
String |
getLinkPrefix()
Gets the link prefix.
|
String |
getSecurityCodeConfirmationLink(SecurityCode securityCode)
Get the link for confirmation of the security code.
|
String |
getSecurityCodeConfirmationLink(SecurityCode securityCode,
String query) |
void |
prepareModel(Map<String,Object> model)
Does nothing.
|
addBcc, addCc, addTo, addTo, addTo, getBcc, getCc, getContentTemplate, getContentTemplateId, getFromAddress, getFromAddressName, getGlobalModel, getLocale, getMessageIdentifier, getReplyToAddress, getReplyToAddressName, getSubjectTemplate, getSubjectTemplateId, getTo, getToAddresses, getToAddressPersonalName, isHtmlMail, isInsertRecipientPersonalName, setFromAddress, setFromAddressName, setInsertRecipientPersonalNamepublic String getLinkParamAction()
public String getLinkParamCode()
public String getLinkPrefix()
public String getSecurityCodeConfirmationLink(SecurityCode securityCode)
securityCode - the security codepublic String getSecurityCodeConfirmationLink(SecurityCode securityCode, String query)
securityCode - the security codequery - some addtional parameters to be append to the urlpublic void prepareModel(Map<String,Object> model)
prepareModel in class MailMessagemodel - The model to prepare. It will be initialized with the settings returned by
MailMessage.getGlobalModel().Copyright © 2019 Communote team. All rights reserved.