wt.notify
Class SimpleNotification

java.lang.Object
  extended bywt.notify.SimpleNotification
All Implemented Interfaces:
Notification, Serializable

public class SimpleNotification
extends Object
implements Notification



Supported API: false

Extendable: false

See Also:
Serialized Form

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

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

subject

private String subject

body

private String body

sender

private String sender

contentType

private String contentType

theDistributionList

private DistributionList theDistributionList

VERBOSE

private static final boolean VERBOSE
Constructor Detail

SimpleNotification

public SimpleNotification(DistributionList recipients)


Supported API: false

Parameters:
recipients -
Method Detail

getSubject

public String getSubject()
Gets the value of the attribute: subject.

Supported API: false

Specified by:
getSubject in interface Notification
Returns:
String

setSubject

public void setSubject(String a_Subject)
Sets the value of the attribute: subject.

Supported API: false

Parameters:
a_Subject -

getBody

public String getBody()
Gets the value of the attribute: body.

Supported API: false

Specified by:
getBody in interface Notification
Returns:
String

setBody

public void setBody(String a_Body)
Sets the value of the attribute: body.

Supported API: false

Specified by:
setBody in interface Notification
Parameters:
a_Body -

getSender

public String getSender()
Gets the value of the attribute: sender.

Supported API: false

Specified by:
getSender in interface Notification
Returns:
String

setSender

public void setSender(String a_Sender)
Sets the value of the attribute: sender.

Supported API: false

Specified by:
setSender in interface Notification
Parameters:
a_Sender -

getContentType

public String getContentType()
Gets the value of the attribute: contentType; "text/html" indicates a SimpleNotification, and "text/html" indicates a TemplateNotification.

Supported API: false

Specified by:
getContentType in interface Notification
Returns:
String

send

public void send()
          throws NotificationException
This method should no longer be used.

Supported API: false

Specified by:
send in interface Notification
Throws:
NotificationException
See Also:
wt.mail

getDistributionList

public DistributionList getDistributionList()
Gets the object for the association that plays role: theDistributionList.

Supported API: false

Specified by:
getDistributionList in interface Notification
Returns:
DistributionList

setDistributionList

public void setDistributionList(DistributionList a_DistributionList)
Sets the object for the association that plays role: theDistributionList.

Supported API: false

Specified by:
setDistributionList in interface Notification
Parameters:
a_DistributionList -

toString

public String toString()