org.csapi.jr.se.policy.evaluation
Interface Notification

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface Notification
extends Activity

This interface represents a Notification activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addNotificationListener(org.csapi.jr.se.policy.evaluation.NotificationListener notificationListener)
          Adds a NotificationListener which is interested in events generated by the Notification.
 void createNotification(java.lang.String domainName, java.lang.String[] events)
          Invokes the createNotification() method on the Parlay Gateway.
 void destroyNotification(java.lang.String[] events)
          Invokes the destroyNotification() method on the Parlay Gateway.
 org.csapi.jr.se.policy.evaluation.PolicyEvalManager getPolicyEvalManager()
          Returns a reference to the PolicyEvalManager responsible for creation of the Notification.
 void removeNotificationListener(org.csapi.jr.se.policy.evaluation.NotificationListener notificationListener)
          Removes a NotificationListener which is no longer interested events generated by the Notification.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getPolicyEvalManager

public org.csapi.jr.se.policy.evaluation.PolicyEvalManager getPolicyEvalManager()
Returns a reference to the PolicyEvalManager responsible for creation of the Notification.

Returns:
A reference to the PolicyEvalManager responsible for creation of the Notification.

addNotificationListener

public void addNotificationListener(org.csapi.jr.se.policy.evaluation.NotificationListener notificationListener)
Adds a NotificationListener which is interested in events generated by the Notification.

Parameters:
notificationListener - A reference to the NotificationListener which is to be added as a listener.

removeNotificationListener

public void removeNotificationListener(org.csapi.jr.se.policy.evaluation.NotificationListener notificationListener)
Removes a NotificationListener which is no longer interested events generated by the Notification.

Parameters:
notificationListener - A reference to the NotificationListener which is to be removed as a listener.

createNotification

public void createNotification(java.lang.String domainName,
                               java.lang.String[] events)
                        throws PlatformException,
                               java.lang.IllegalStateException,
                               CommonException,
                               AccessViolationException,
                               SyntaxErrorException,
                               NameSpaceErrorException
Invokes the createNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
AccessViolationException
SyntaxErrorException
NameSpaceErrorException

destroyNotification

public void destroyNotification(java.lang.String[] events)
                         throws PlatformException,
                                java.lang.IllegalStateException,
                                CommonException,
                                SyntaxErrorException
Invokes the destroyNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
SyntaxErrorException