public class UserLockedMailMessage extends SecurityCodeMailMessage
ACTIVATION_LINK_PREFIX
Constructor and Description |
---|
UserLockedMailMessage(User receiver,
ChannelType channel,
UnlockUserSecurityCode securityCode)
Construct a user-locked mail message
|
Modifier and Type | Method and Description |
---|---|
void |
prepareModel(Map<String,Object> model)
Does nothing.
|
getLinkParamAction, getLinkParamCode, getLinkPrefix, getSecurityCodeConfirmationLink, getSecurityCodeConfirmationLink
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, setInsertRecipientPersonalName
public UserLockedMailMessage(User receiver, ChannelType channel, UnlockUserSecurityCode securityCode)
receiver
- The one who is locked by systemchannel
- type of channelsecurityCode
- The code which needs confirmation by the receiverpublic void prepareModel(Map<String,Object> model)
SecurityCodeMailMessage
prepareModel
in class SecurityCodeMailMessage
model
- The model to prepare. It will be initialized with the settings returned by
MailMessage.getGlobalModel()
.Copyright © 2019 Communote team. All rights reserved.