org.csapi.jr.se.am
Interface Notifications

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

public interface Notifications
extends Activity

This interface represents a Notifications activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addNotificationsListener(org.csapi.jr.se.am.NotificationsListener notificationsListener)
          Adds a NotificationsListener which is interested in events generated by the Notifications.
 void enableNotifications()
          Invokes the enableNotifications() method on the Parlay Gateway.
 org.csapi.jr.se.am.AccountManager getAccountManager()
          Returns a reference to the AccountManager responsible for creation of the Notifications.
 void removeNotificationsListener(org.csapi.jr.se.am.NotificationsListener notificationsListener)
          Removes a NotificationsListener which is no longer interested events generated by the Notifications.
 
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 Notifications.

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

addNotificationsListener

public void addNotificationsListener(org.csapi.jr.se.am.NotificationsListener notificationsListener)
Adds a NotificationsListener which is interested in events generated by the Notifications.

Parameters:
notificationsListener - A reference to the NotificationsListener which is to be added as a listener.

removeNotificationsListener

public void removeNotificationsListener(org.csapi.jr.se.am.NotificationsListener notificationsListener)
Removes a NotificationsListener which is no longer interested events generated by the Notifications.

Parameters:
notificationsListener - A reference to the NotificationsListener which is to be removed as a listener.

enableNotifications

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

PlatformException
java.lang.IllegalStateException
CommonException