org.csapi.jr.se.am
Interface QueryVoucher

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

public interface QueryVoucher
extends Activity

This interface represents a QueryVoucher activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addQueryVoucherListener(QueryVoucherListener queryVoucherListener)
          Adds a QueryVoucherListener which is interested in events generated by the QueryVoucher.
 AccountManager getAccountManager()
          Returns a reference to the AccountManager responsible for creation of the QueryVoucher.
 void queryVoucherReq()
          Invokes the queryVoucherReq() method on the Parlay Gateway.
 void removeQueryVoucherListener(QueryVoucherListener queryVoucherListener)
          Removes a QueryVoucherListener which is no longer interested events generated by the QueryVoucher.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getAccountManager

public AccountManager getAccountManager()
Returns a reference to the AccountManager responsible for creation of the QueryVoucher.

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

addQueryVoucherListener

public void addQueryVoucherListener(QueryVoucherListener queryVoucherListener)
Adds a QueryVoucherListener which is interested in events generated by the QueryVoucher.

Parameters:
queryVoucherListener - A reference to the QueryVoucherListener which is to be added as a listener.

removeQueryVoucherListener

public void removeQueryVoucherListener(QueryVoucherListener queryVoucherListener)
Removes a QueryVoucherListener which is no longer interested events generated by the QueryVoucher.

Parameters:
queryVoucherListener - A reference to the QueryVoucherListener which is to be removed as a listener.

queryVoucherReq

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

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
UnauthorizedApplicationException