|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.notify.SimpleNotification
Supported API: false
Extendable: false
Field Summary | |
private String |
body
|
private static String |
CLASSNAME
|
private String |
contentType
|
private static String |
RESOURCE
|
private String |
sender
|
private String |
subject
|
private DistributionList |
theDistributionList
|
private static boolean |
VERBOSE
|
Fields inherited from interface wt.notify.Notification |
BODY, CONTENT_TYPE, DISTRIBUTION_LIST, SENDER, SUBJECT |
Constructor Summary | |
SimpleNotification(DistributionList recipients)
Supported API: false |
Method Summary | |
String |
getBody()
Gets the value of the attribute: body. |
String |
getContentType()
Gets the value of the attribute: contentType; "text/html" indicates a SimpleNotification, and "text/html" indicates a TemplateNotification. |
DistributionList |
getDistributionList()
Gets the object for the association that plays role: theDistributionList. |
String |
getSender()
Gets the value of the attribute: sender. |
String |
getSubject()
Gets the value of the attribute: subject. |
void |
send()
This method should no longer be used. |
void |
setBody(String a_Body)
Sets the value of the attribute: body. |
void |
setDistributionList(DistributionList a_DistributionList)
Sets the object for the association that plays role: theDistributionList. |
void |
setSender(String a_Sender)
Sets the value of the attribute: sender. |
void |
setSubject(String a_Subject)
Sets the value of the attribute: subject. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String subject
private String body
private String sender
private String contentType
private DistributionList theDistributionList
private static final boolean VERBOSE
Constructor Detail |
public SimpleNotification(DistributionList recipients)
recipients
- Method Detail |
public String getSubject()
getSubject
in interface Notification
public void setSubject(String a_Subject)
a_Subject
- public String getBody()
getBody
in interface Notification
public void setBody(String a_Body)
setBody
in interface Notification
a_Body
- public String getSender()
getSender
in interface Notification
public void setSender(String a_Sender)
setSender
in interface Notification
a_Sender
- public String getContentType()
getContentType
in interface Notification
public void send() throws NotificationException
send
in interface Notification
NotificationException
wt.mail
public DistributionList getDistributionList()
getDistributionList
in interface Notification
public void setDistributionList(DistributionList a_DistributionList)
setDistributionList
in interface Notification
a_DistributionList
- public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |