org.csapi.jr.se.am
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.am.NotificationListener notificationListener)
          Adds a NotificationListener which is interested in events generated by the Notification.
 void changeNotification(org.csapi.jr.se.am.ChargingEventCriteria eventCriteria)
          Invokes the changeNotification() method on the Parlay Gateway.
 void createNotification(org.csapi.jr.se.am.ChargingEventCriteria chargingEventCriteria)
          Invokes the createNotification() method on the Parlay Gateway.
 void destroyNotification()
          Invokes the destroyNotification() method on the Parlay Gateway.
 org.csapi.jr.se.am.AccountManager getAccountManager()
          Returns a reference to the AccountManager responsible for creation of the Notification.
 void removeNotificationListener(org.csapi.jr.se.am.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

getAccountManager

public org.csapi.jr.se.am.AccountManager getAccountManager()
Returns a reference to the AccountManager responsible for creation of the Notification.

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

addNotificationListener

public void addNotificationListener(org.csapi.jr.se.am.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.am.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(org.csapi.jr.se.am.ChargingEventCriteria chargingEventCriteria)
                        throws PlatformException,
                               java.lang.IllegalStateException,
                               CommonException,
                               InvalidAddressException,
                               InvalidCriteriaException,
                               InvalidEventTypeException,
                               UnknownSubscriberException
Invokes the createNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
InvalidAddressException
InvalidCriteriaException
InvalidEventTypeException
UnknownSubscriberException

destroyNotification

public void destroyNotification()
                         throws PlatformException,
                                java.lang.IllegalStateException,
                                CommonException
Invokes the destroyNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException

changeNotification

public void changeNotification(org.csapi.jr.se.am.ChargingEventCriteria eventCriteria)
                        throws PlatformException,
                               java.lang.IllegalStateException,
                               CommonException,
                               InvalidCriteriaException,
                               InvalidEventTypeException,
                               UnknownSubscriberException,
                               InvalidAddressException
Invokes the changeNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
InvalidCriteriaException
InvalidEventTypeException
UnknownSubscriberException
InvalidAddressException