|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.notify.NotificationSet
public class NotificationSet
A notification set associates a message with a list of recipients. This
class is the "workhorse" of the policy based notification functionality.
Message recipients can be users or groups (principals). Groups are resolved
to users at the time the event occurs.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
addRecipient(Object recipient)
Adds a recipient to the notification set. |
String |
getMessageBody()
Gets the value of the attribute: messageBody; Body of notification message. |
EnumeratorVector |
getRecipients()
Returns an enumeration consisting of references to the recipients. |
String |
getSubject()
Gets the value of the attribute: subject; Notification message subject. |
String |
getTemplateName()
Gets the value of the attribute: templateName; Name of the template used to create notification. |
static NotificationSet |
newNotificationSet()
No-arg constructor. |
void |
removeAllRecipients()
Removes all recipients from the notification set. |
void |
removeRecipient(Object recipient)
Removes a recipient from the notification set. |
void |
setMessageBody(String a_MessageBody)
Sets the value of the attribute: messageBody; Body of notification message. |
void |
setSubject(String a_Subject)
Sets the value of the attribute: subject; Notification message subject. |
void |
setTemplateName(String a_TemplateName)
Sets the value of the attribute: templateName; Name of the template used to create notification. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getTemplateName()
public void setTemplateName(String a_TemplateName)
throws WTPropertyVetoException
a_TemplateName -
WTPropertyVetoExceptionpublic String getSubject()
public void setSubject(String a_Subject)
throws WTPropertyVetoException
a_Subject -
WTPropertyVetoExceptionpublic String getMessageBody()
public void setMessageBody(String a_MessageBody)
throws WTPropertyVetoException
a_MessageBody -
WTPropertyVetoException
public static NotificationSet newNotificationSet()
throws WTException
WTExceptionpublic String toString()
toString in class Object
public void addRecipient(Object recipient)
throws WTException
recipient -
WTException
public void removeRecipient(Object recipient)
throws WTException
recipient -
WTException
public void removeAllRecipients()
throws WTException
WTException
public EnumeratorVector getRecipients()
throws WTException
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||