wt.notify
Interface NotificationManagerSvr

All Known Implementing Classes:
StandardNotificationManager

public interface NotificationManagerSvr

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

getNotificationSets

public Enumeration getNotificationSets(WTStringSet rule_set,
                                       ObjectIdentifier obj_id)
                                throws WTException
Returns an enumeration of NotificationSet from notification rules in the rule set that match the specified object, as far as attribute values are concerned.

Supported API: false

Parameters:
rule_set - rule set
obj_id - identifier of object to compare against rule set
Returns:
Enumeration
Throws:
WTException

queueMoveSubscriptions

public void queueMoveSubscriptions(Notifiable target,
                                   ObjectReference predecessor_ref)
                            throws WTException
Queues a request to move subscriptions from one target object to another. Used when a new iteration of an object is created.

Supported API: false

Parameters:
target -
predecessor_ref -
Throws:
WTException

queueMoveSubscriptions

public void queueMoveSubscriptions(WTList targets,
                                   WTList predecessors)
                            throws WTException
Multi-Object version of the API to Queue requests to move subscriptions from one target object to another. Used when a new iterations of objects are created.

Supported API: false

Parameters:
targets -
predecessors - Collection of predecessor objects or object references; this method works with either.
Throws:
WTException

queueObjectNotification

public void queueObjectNotification(Notifiable target,
                                    String event_key)
                             throws WTException
Queues a notification generated from an object subscription.

Supported API: false

Parameters:
target -
event_key -
Throws:
WTException

queueObjectNotification

public void queueObjectNotification(WTList targets,
                                    String event_key)
                             throws WTException
Multi-object version of this method. Queues a notification generated from an object subscription.

Supported API: false

Parameters:
targets -
event_key -
Throws:
WTException

queueObjectSubscriptionNotification

public void queueObjectSubscriptionNotification(ObjectSubscription subscription)
                                         throws WTException
Queues a subscription object for an event that has occurred when the subscriber is an ObjectSubscriptionListener (as opposed to a user). When the request is processed, the subscriber's notifyObjectEvent method is called.

Supported API: false

Parameters:
subscription -
Throws:
WTException

queuePolicyListenerNotification

public void queuePolicyListenerNotification(ObjectIdentifier obj_id,
                                            String event_key,
                                            NotificationSet set)
                                     throws WTException
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). When the request is processed, the subscriber's notifyObjectEvent method is called.

Supported API: false

Parameters:
obj_id -
event_key -
set -
Throws:
WTException

queuePolicyNotification

public void queuePolicyNotification(Notifiable target,
                                    String event_key,
                                    NotificationList list)
                             throws WTException
Queues a notification of an event generated based on a notification policy rule.

Supported API: false

Parameters:
target -
event_key -
list -
Throws:
WTException

queuePolicyNotification

public void queuePolicyNotification(WTList targets,
                                    String event_key,
                                    WTList lists)
                             throws WTException
Multi-object version of this method. Queues a notification of an event generated based on a notification policy rule.

Supported API: false

Parameters:
targets -
event_key -
lists -
Throws:
WTException

queueSubscriptionExpiration

public void queueSubscriptionExpiration(ObjectSubscription subscription)
                                 throws WTException
Queues a request to delete a subscription at the expiration time.

Supported API: false

Parameters:
subscription -
Throws:
WTException