public interface PersonalizedEmailContent extends EmailContent
EmailContent interface that identifies implementors as
e-mail content that is capable of personalizing its content based on the recipient ID passed
to it. Implementations of this class are to be used when one wishes to have EmailDistributor
implementations iterate through each EmailRecipient object's id, passing it to an implementator of this
interface before request the content of the message from it.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
| Modifier and Type | Method and Description |
|---|---|
Recipient |
getRecipient()
Returns the
Recipient on behalf of which the e-mail content will be personalized. |
boolean |
getSendEmail()
This method gets the setting whether the e-mail should be sent to the customer.
|
void |
setRecipient(Recipient recipient)
Sets the
Recipient on behalf of which the e-mail content will be personalized. |
getContent, getSubjectstatic final java.lang.String COPYRIGHT
Recipient getRecipient()
Recipient on behalf of which the e-mail content will be personalized.Recipient for which the content will be personalized.boolean getSendEmail()
void setRecipient(Recipient recipient)
Recipient on behalf of which the e-mail content will be personalized.recipient - the Recipient for which the content will be personalized.