public class NotifyUserCountLimitReachedMailMessage extends MailMessage
ACTIVATION_LINK_PREFIX| Constructor and Description |
|---|
NotifyUserCountLimitReachedMailMessage(Collection<User> managers,
Locale locale,
String clientName,
boolean userActivationHasChanged,
int userCountAsPercent,
String userCntLimit)
Construct a new mail message for notifying the client manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
prepareModel(Map<String,Object> model)
Prepare a model of key-value pairs which will be passed to the template engine when the
content and subject templates should be rendered.
|
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 NotifyUserCountLimitReachedMailMessage(Collection<User> managers, Locale locale, String clientName, boolean userActivationHasChanged, int userCountAsPercent, String userCntLimit)
managers - a list of client managers to informclientName - The Name of the client for which this message should be sentuserActivationHasChanged - whether the automatic user activation has been deactivated by the system after
reaching the limituserCountAsPercent - the current count of active user accounts in percentuserCntLimit - the current limit of active user accountslocale - the localepublic void prepareModel(Map<String,Object> model)
MailMessageprepareModel 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.