|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.mail.NotificationMessage
Represents an email message with recipients, subject, a plain text message, and an optional HTML message. Both a plain text AND HTML formatted body is supported within the same message.
Constructor Summary | |
NotificationMessage()
Default constructor. |
|
NotificationMessage(java.util.Collection addresses,
java.lang.String subject,
java.lang.String textMessage,
java.lang.String htmlMessage)
The constructor of NotificationMessage. |
Method Summary | |
java.util.Collection |
getEmailAddresses()
Returns the recipients of the message. |
java.lang.String |
getHtmlMessage()
Returns the HTML message body (if any). |
java.lang.String |
getMessage()
Returns the text message body. |
java.lang.String |
getSubject()
Returns the subject of the message. |
void |
setEmailAddresses(java.util.Collection addresses)
Changes the recipients of the message. |
void |
setHtmlMessage(java.lang.String htmlMessage)
Change sthe HTML message body. |
void |
setMessage(java.lang.String textMessage)
Changes the text body of the message. |
void |
setSubject(java.lang.String subject)
Changes the subject of the message. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NotificationMessage()
public NotificationMessage(java.util.Collection addresses, java.lang.String subject, java.lang.String textMessage, java.lang.String htmlMessage)
addresses
- The collection of email address (Strings).subject
- The subject.textMessage
- The plain text message.htmlMessage
- The HTML message.Method Detail |
public java.util.Collection getEmailAddresses()
public void setEmailAddresses(java.util.Collection addresses)
addresses
- Collection of the new recipients (Strings).public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
aSubject
- New message subject.public java.lang.String getMessage()
public void setMessage(java.lang.String textMessage)
aMsg
- New text body.public java.lang.String getHtmlMessage()
public void setHtmlMessage(java.lang.String htmlMessage)
aMsg
- String holding the new HTML formatted message body.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |