org.csapi.jr.se.am
Interface QueryBalance

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

public interface QueryBalance
extends Activity

This interface represents a QueryBalance activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addQueryBalanceListener(org.csapi.jr.se.am.QueryBalanceListener queryBalanceListener)
          Adds a QueryBalanceListener which is interested in events generated by the QueryBalance.
 org.csapi.jr.se.am.AccountManager getAccountManager()
          Returns a reference to the AccountManager responsible for creation of the QueryBalance.
 void queryBalanceReq(org.csapi.jr.se.Address[] users)
          Invokes the queryBalanceReq() method on the Parlay Gateway.
 void removeQueryBalanceListener(org.csapi.jr.se.am.QueryBalanceListener queryBalanceListener)
          Removes a QueryBalanceListener which is no longer interested events generated by the QueryBalance.
 
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 QueryBalance.

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

addQueryBalanceListener

public void addQueryBalanceListener(org.csapi.jr.se.am.QueryBalanceListener queryBalanceListener)
Adds a QueryBalanceListener which is interested in events generated by the QueryBalance.

Parameters:
queryBalanceListener - A reference to the QueryBalanceListener which is to be added as a listener.

removeQueryBalanceListener

public void removeQueryBalanceListener(org.csapi.jr.se.am.QueryBalanceListener queryBalanceListener)
Removes a QueryBalanceListener which is no longer interested events generated by the QueryBalance.

Parameters:
queryBalanceListener - A reference to the QueryBalanceListener which is to be removed as a listener.

queryBalanceReq

public void queryBalanceReq(org.csapi.jr.se.Address[] users)
                     throws PlatformException,
                            java.lang.IllegalStateException,
                            CommonException,
                            UnknownSubscriberException,
                            UnauthorizedApplicationException
Invokes the queryBalanceReq() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
UnknownSubscriberException
UnauthorizedApplicationException