|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NotificationManagerSvr provides methods for notification services that
can only be invoked from classes running on the server. These methods
are executed on the server side.
Supported API: false
Extendable: false
Method Summary | |
Enumeration |
getNotificationSets(WTStringSet rule_set,
ObjectIdentifier obj_id)
Returns an enumeration of NotificationSet from notification
rules in the rule set that match the specified object, as far as attribute
values are concerned. |
void |
queueMoveSubscriptions(Notifiable target,
ObjectReference predecessor_ref)
Queues a request to move subscriptions from one target object to another. |
void |
queueMoveSubscriptions(WTList targets,
WTList predecessors)
Multi-Object version of the API to Queue requests to move subscriptions from one target object to another. |
void |
queueObjectNotification(Notifiable target,
String event_key)
Queues a notification generated from an object subscription. |
void |
queueObjectNotification(WTList targets,
String event_key)
Multi-object version of this method. |
void |
queueObjectSubscriptionNotification(ObjectSubscription subscription)
Queues a subscription object for an event that has occurred when the subscriber is an ObjectSubscriptionListener (as
opposed to a user). |
void |
queuePolicyListenerNotification(ObjectIdentifier obj_id,
String event_key,
NotificationSet set)
Queues a request for notification of an event that has occurred, based on a notification policy rule, when the subscriber is an ObjectSubscriptionListener
(as opposed to a user). |
void |
queuePolicyNotification(Notifiable target,
String event_key,
NotificationList list)
Queues a notification of an event generated based on a notification policy rule. |
void |
queuePolicyNotification(WTList targets,
String event_key,
WTList lists)
Multi-object version of this method. |
void |
queueSubscriptionExpiration(ObjectSubscription subscription)
Queues a request to delete a subscription at the expiration time. |
Method Detail |
public Enumeration getNotificationSets(WTStringSet rule_set, ObjectIdentifier obj_id) throws WTException
NotificationSet
from notification
rules in the rule set that match the specified object, as far as attribute
values are concerned.
rule_set
- rule setobj_id
- identifier of object to compare against rule set
WTException
public void queueMoveSubscriptions(Notifiable target, ObjectReference predecessor_ref) throws WTException
target
- predecessor_ref
-
WTException
public void queueMoveSubscriptions(WTList targets, WTList predecessors) throws WTException
targets
- predecessors
- Collection of predecessor objects or object references; this method works with either.
WTException
public void queueObjectNotification(Notifiable target, String event_key) throws WTException
target
- event_key
-
WTException
public void queueObjectNotification(WTList targets, String event_key) throws WTException
targets
- event_key
-
WTException
public void queueObjectSubscriptionNotification(ObjectSubscription subscription) throws WTException
ObjectSubscriptionListener
(as
opposed to a user). When the request is processed, the subscriber's
notifyObjectEvent method is called.
subscription
-
WTException
public void queuePolicyListenerNotification(ObjectIdentifier obj_id, String event_key, NotificationSet set) throws WTException
ObjectSubscriptionListener
(as opposed to a user). When the request is processed, the subscriber's
notifyObjectEvent method is called.
obj_id
- event_key
- set
-
WTException
public void queuePolicyNotification(Notifiable target, String event_key, NotificationList list) throws WTException
target
- event_key
- list
-
WTException
public void queuePolicyNotification(WTList targets, String event_key, WTList lists) throws WTException
targets
- event_key
- lists
-
WTException
public void queueSubscriptionExpiration(ObjectSubscription subscription) throws WTException
subscription
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |