public class WarningMailMessage extends MailMessage
ACTIVATION_LINK_PREFIX| Constructor and Description |
|---|
WarningMailMessage(User recipient,
Collection<String> unresolvableUsers,
Collection<String> uninformableUsers,
Collection<String> unresolvableBlogs,
Collection<String> unwritableBlogs,
String blogTitle,
boolean isDirect)
Creates a warning e-mail message.
|
| 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 WarningMailMessage(User recipient, Collection<String> unresolvableUsers, Collection<String> uninformableUsers, Collection<String> unresolvableBlogs, Collection<String> unwritableBlogs, String blogTitle, boolean isDirect)
recipient - the user to send the email tounresolvableUsers - collection of user aliases that could not be resolved to existing usersuninformableUsers - collection of user aliases that could not be informed because they do not have
write access to the blogunresolvableBlogs - a collection of crosspost blog name identifiers that could not be resolved to
existing blogsunwritableBlogs - a collection of crosspost blog name IDs for which the user has no write accessblogTitle - the title of the blog in which the note was createdisDirect - True, if this message is private message.public 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.