Package com.portal.app.ccare.comp
Class PVoucherPaymentBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PVoucherPaymentBeanImpl
- All Implemented Interfaces:
PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
Controller class for obtaining Voucher payment related information
Opcodes used
PortalOp.BAL_GET_ACCT_BAL_GRP_AND_SVC
PortalOp.BAL_GET_BALANCES
PortalOp.PYMT_TOPUP
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyVoucherDetails
(PModelHandle accModel, Poid billinfoPoid, Poid balanceGroupPoid, String voucher_id, String voucher_pin, boolean allocateNow) This method does the smae function as doVoucherPayment .getBEIDDescription
(int index) getModelDataForBillInfo
(PModelHandle accModel, Poid BillinfoPoid, Poid AcctPoid) This method will parse the EBufException invalid input: '&' returns the error code as a String All these error code strings are stored in Webkit.properties file.boolean
isCurrency
(int id) searchVoucherDetails
(PModelHandle accModel, Poid billinfoPoid, Poid balanceGroupPoid, String voucher_id, String voucher_pin) This method is called from webkit to search voucher details.Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, update
Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PVoucherPaymentBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
getModelDataForBillInfo
public HashMap getModelDataForBillInfo(PModelHandle accModel, Poid BillinfoPoid, Poid AcctPoid) throws RemoteException - Parameters:
accModel
-AccPoid
-billinfoPoid
-- Returns:
- Hashtable
- Throws:
RemoteException
-
getBEIDDescription
- Throws:
RemoteException
-
isCurrency
- Throws:
RemoteException
-
searchVoucherDetails
public ArrayList searchVoucherDetails(PModelHandle accModel, Poid billinfoPoid, Poid balanceGroupPoid, String voucher_id, String voucher_pin) throws RemoteException This method is called from webkit to search voucher details.- Parameters:
accModel
-billinfoPoid
-balanceGroupPoid
-voucher_id
-voucher_pin
-billinfoPoid
-- Returns:
- Vector
- Throws:
RemoteException
-
applyVoucherDetails
public ArrayList applyVoucherDetails(PModelHandle accModel, Poid billinfoPoid, Poid balanceGroupPoid, String voucher_id, String voucher_pin, boolean allocateNow) throws RemoteException This method does the smae function as doVoucherPayment . This method is called from webkit to apply voucher topup- Parameters:
accModel
-billinfoPoid
-balanceGroupPoid
-voucher_id
-voucher_pin
-billinfoPoid
-- Returns:
- ArrayList
- Throws:
RemoteException
-
getVoucherErrorMessage
This method will parse the EBufException invalid input: '&' returns the error code as a String All these error code strings are stored in Webkit.properties file.- Parameters:
EBufException
- e- Returns:
- ArrayList arrayErrMsg
-