wt.notify
Interface Notification

All Superinterfaces:
Serializable
All Known Implementing Classes:
SimpleNotification, TemplateNotification

public interface Notification
extends Serializable

Represents a notification e-mail message.

Supported API: false

Extendable: false


Field Summary
static String BODY
          Label for the attribute.
static String CONTENT_TYPE
          Label for the attribute; "text/html" indicates a SimpleNotification, and "text/html" indicates a TemplateNotification.
static String DISTRIBUTION_LIST
          Label for the attribute.
static String SENDER
          Label for the attribute.
static String SUBJECT
          Label for the attribute.
 
Method Summary
 String getBody()
          Gets the value of the attribute: BODY.
 String getContentType()
          Gets the value of the attribute: CONTENT_TYPE.
 DistributionList getDistributionList()
          Gets the object for the association that plays role: DISTRIBUTION_LIST.
 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: DISTRIBUTION_LIST.
 void setSender(String a_Sender)
          Sets the value of the attribute: SENDER.
 

Field Detail

SUBJECT

public static final String SUBJECT
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

SENDER

public static final String SENDER
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

BODY

public static final String BODY
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

CONTENT_TYPE

public static final String CONTENT_TYPE
Label for the attribute; "text/html" indicates a SimpleNotification, and "text/html" indicates a TemplateNotification.

Supported API: false

See Also:
Constant Field Values

DISTRIBUTION_LIST

public static final String DISTRIBUTION_LIST
Label for the attribute.

Supported API: false

See Also:
Constant Field Values
Method Detail

getSubject

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

Supported API: false

Returns:
String

getSender

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

Supported API: false

Returns:
String

setSender

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

Supported API: false

Parameters:
a_Sender -

getBody

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

Supported API: false

Returns:
String

setBody

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

Supported API: false

Parameters:
a_Body -

getContentType

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

Supported API: false

Returns:
String

getDistributionList

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

Supported API: false

Returns:
DistributionList

setDistributionList

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

Supported API: false

Parameters:
a_DistributionList -

send

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

Supported API: false

Throws:
NotificationException
See Also:
wt.mail