public class PIABalanceInfoBeanImpl extends PIAComponentCollectionBean implements PIABalanceInfoBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PIABalanceInfoBeanImpl()
Creates a controller for the to retrive the balances array
|
| Modifier and Type | Method and Description |
|---|---|
Poid |
getAccountPoid()
Gets the account poid
|
PModelHandle |
getAcctLvlBalanceGroupAndBillinfoID(PModelHandle mHAcct,
ResourceBundle bundle)
Gets default account level billinfo and balance group
Poid.This is the
Action method for the bean. |
Hashtable |
getAcctLvlBillinfoDetails()
Gets the available billinfo to which default accoutn level
balance group is associated with for given account.
|
PModelHandle |
getAllBillInfoAndDetailsForAcct(PModelHandle mHAcct)
Gets all billinfo details for the the given account poid
|
Hashtable |
getAllNameinfo()
Gets the available nameinfo for given account.
|
Hashtable |
getAllSvcLvlBillinfos()
Gets the available billinfo's for given account.
|
Poid |
getBalanceGroupPoid()
Gets the Balance Group poid
|
Hashtable |
getBalancesForAcctAndBalGrpID(Poid pAcctPoid,
Poid pBalGrpPoid)
Gets balance details for the given account and balance group
Poid.This is the
Action method for the bean. |
Hashtable |
getBalancesForAcctAndBillinfo()
Gets the available balances for given account and billinfo poid
|
BigDecimal |
getBalanceSummaryForBillInfo(Poid billInfoPoid,
int nIncludeChildren)
method for geting the currency balance of selected bilInfo
|
void |
getBalGrpsAndSvcsForAcctAndBillInfo(Poid pAcctPoid,
Poid pBillinfoPoid)
Gets balance groups and services details associated to the given account and billinfo objects.
|
Hashtable |
getBalsOfAllBalGrpsOfAcctAndBillinfo()
Gets the available balances for each balance group for given account and billinfo poid
|
Object |
getBEIDData(int index,
boolean currency) |
Object |
getBEIDDescription(int index) |
Poid |
getBillinfoPoid()
Gets the Billinfo poid
|
BigDecimal |
getCurrencyCreditLimitForBillunit()
Gets the Credit limit for selected Billinfo .
|
BigDecimal |
getCurrencyCurrentBal()
Gets the Current balance for currency balance group
|
List |
getCurrencyData()
The getter method to access the Currency Resource when the bean is loaded.
|
Object |
getCurrencyData(int index)
The getter method to access the Currency Resource at index when the bean is loaded
|
Object |
getCurrencySymbol(int index)
Used to retrieve the currency symbol for a given row
|
List |
getNonCurrencyData()
The getter method to access the Non Currency Resource when the bean is loaded.
|
Object |
getNonCurrencyData(int index)
The getter method to access the Non Currency Reource at index when the bean is loaded
|
String |
getPrimaryCurrencySymbol()
Gets the primary currency symbol of the account.
|
Object |
getReasonData(Object eventData) |
Hashtable |
getSvcsForBalGrpOfAcctAndBillinfo()
Gets the available services for the balance group for given account and billinfo poid
|
Boolean |
isSecIDNonZero() |
protected void |
processAcctLvlBalGrpAndBillinfoMH(PModelHandle mHBalGrp)
Parses the output flist with default account level balance group, billinfo and account poid
|
protected void |
processBalGrpAndSvcOutputFlist(FList flOut)
Parses the output flist with balance groups and services
|
protected void |
processBillinfoArray(SparseArray billInfoArray) |
protected Hashtable |
processGetBalancesOutputFlist(FList flOut)
Parses the output flist with balances information.
|
protected void |
processNameinfoArray(SparseArray nameinfoArray) |
void |
processOutputFlistOfBillinfos(PModelHandle mhBillInfos)
Parses the output flist with all the billinfos and its details for the given account poid
|
void |
setAccountPoid(Poid pAcctPoid)
Sets the account poid
|
void |
setBalanceGroupPoid(Poid pBalGrpPoid)
Sets the Balance Group poid
|
void |
setBillinfoPoid(Poid pBillinfoPoid)
Sets the Billinfo poid
|
protected void |
setCurrencyData(Object Result)
The setter method used to set the Non Currency Resource indexed property at index
|
protected void |
setNonCurrencyData(Object Result)
The setter method used to set the Non Currency Resrouce indexed property at index
|
void |
update(int reason,
Object data)
Updates the balance panel with the balance information for the current
account.
|
addChild, getCollectedData, getSelectionDataFor, removeChildaddRemoteListener, 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, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PIABalanceInfoBeanImpl()
throws RemoteException
RemoteExceptionpublic List getCurrencyData()
getCurrencyData in interface PIABalanceInfoBeanpublic Object getCurrencyData(int index)
getCurrencyData in interface PIABalanceInfoBeanindex - protected void setCurrencyData(Object Result)
Result - - Objectpublic List getNonCurrencyData()
getNonCurrencyData in interface PIABalanceInfoBeanpublic Object getNonCurrencyData(int index)
getNonCurrencyData in interface PIABalanceInfoBeanindex - protected void setNonCurrencyData(Object Result)
Result - - Objectpublic void update(int reason,
Object data)
throws RemoteException
update in interface PIABalanceInfoBeanupdate in class PIAComponentCollectionBeanreason - data - RemoteExceptionpublic Object getCurrencySymbol(int index) throws RemoteException
getCurrencySymbol in interface PIABalanceInfoBeanindex - RemoteExceptionpublic Object getBEIDData(int index, boolean currency) throws RemoteException
getBEIDData in interface PIABalanceInfoBeanRemoteExceptionpublic Object getBEIDDescription(int index) throws RemoteException
getBEIDDescription in interface PIABalanceInfoBeanRemoteExceptionpublic Boolean isSecIDNonZero() throws RemoteException
isSecIDNonZero in interface PIABalanceInfoBeanRemoteExceptionpublic Object getReasonData(Object eventData) throws RemoteException
getReasonData in interface PIABalanceInfoBeanRemoteExceptionpublic void setAccountPoid(Poid pAcctPoid)
setAccountPoid in interface PIABalanceInfoBeanpAcctPoid - a Poid for an accountRemoteExceptionpublic Poid getAccountPoid()
getAccountPoid in interface PIABalanceInfoBeanPoid for an accountpublic void setBalanceGroupPoid(Poid pBalGrpPoid)
setBalanceGroupPoid in interface PIABalanceInfoBeanpBalGrpPoid - a Poid for Balance Grouppublic Poid getBalanceGroupPoid()
getBalanceGroupPoid in interface PIABalanceInfoBeanPoid for Balance Grouppublic void setBillinfoPoid(Poid pBillinfoPoid)
setBillinfoPoid in interface PIABalanceInfoBeanpBillinfoPoid - a Poid for billinfopublic Poid getBillinfoPoid()
getBillinfoPoid in interface PIABalanceInfoBeanPoid for Billinfopublic Hashtable getAllSvcLvlBillinfos()
getAllSvcLvlBillinfos in interface PIABalanceInfoBeanHashtable of billinfo details.public Hashtable getAcctLvlBillinfoDetails()
getAcctLvlBillinfoDetails in interface PIABalanceInfoBeanHashtable of billinfo details.public Hashtable getAllNameinfo()
getAllNameinfo in interface PIABalanceInfoBeanHashtable of nameinfo details.public BigDecimal getCurrencyCurrentBal()
getCurrencyCurrentBal in interface PIABalanceInfoBeanBigDecimal current balance amount for the currency balancepublic Hashtable getBalancesForAcctAndBillinfo()
Hashtable of balances details.public Hashtable getSvcsForBalGrpOfAcctAndBillinfo()
getSvcsForBalGrpOfAcctAndBillinfo in interface PIABalanceInfoBeanHashtable of services associated to all balances groups of given billinfo.public Hashtable getBalsOfAllBalGrpsOfAcctAndBillinfo()
getBalsOfAllBalGrpsOfAcctAndBillinfo in interface PIABalanceInfoBeanHashtable of balances details for all balances groups of given billinfo.public BigDecimal getCurrencyCreditLimitForBillunit()
getCurrencyCreditLimitForBillunit in interface PIABalanceInfoBeanBigDecimal Credit limit of given billinfo.public PModelHandle getAcctLvlBalanceGroupAndBillinfoID(PModelHandle mHAcct, ResourceBundle bundle) throws RemoteException
Action method for the bean.getAcctLvlBalanceGroupAndBillinfoID in interface PIABalanceInfoBeanmHAcct - the PModelHandle for the accountbundle - the resource bundlePModelHandle for Flist containing
account poid and default account level balance group and billinfo poid's.RemoteException - thrown if no billinfo and balance group found or for null POIDspublic Hashtable getBalancesForAcctAndBalGrpID(Poid pAcctPoid, Poid pBalGrpPoid) throws RemoteException
Action method for the bean.getBalancesForAcctAndBalGrpID in interface PIABalanceInfoBeanpAcctPoid - account POID.pBalGrpPoid - Balance Group POID.Hashtable of balances details.RemoteException - thrown if no balances found or for null POIDsprotected Hashtable processGetBalancesOutputFlist(FList flOut) throws RemoteException
flOut - the Flist containing balances information.Hashtable of balances details.RemoteException - thrown if no Balances are found or for null POIDsprotected void processAcctLvlBalGrpAndBillinfoMH(PModelHandle mHBalGrp) throws RemoteException
mHBalGrp - the PModelHandle for Flist containing
account poid and default account level balance group and billinfo poid's.RemoteException - thrown if no billinfo, balance group are found or for null POIDspublic void getBalGrpsAndSvcsForAcctAndBillInfo(Poid pAcctPoid, Poid pBillinfoPoid) throws RemoteException
getBalGrpsAndSvcsForAcctAndBillInfo in interface PIABalanceInfoBeanpAcctPoid - account POID.pBillinfoPoid - Billinfo POID.RemoteException - thrown if no balace groups and services are found or for null POIDsprotected void processBalGrpAndSvcOutputFlist(FList flOut) throws RemoteException
flOut - the Flist containing balance groups and services.RemoteException - thrown if no Balance groups and services are found or for null POIDspublic PModelHandle getAllBillInfoAndDetailsForAcct(PModelHandle mHAcct) throws RemoteException
getAllBillInfoAndDetailsForAcct in interface PIABalanceInfoBeanmHAcct - the PModelHandle for the accountPModelHandle for the list of all
the billinfo's and its details for given account.RemoteException - thrown if no billinfo's are found or for null POIDspublic void processOutputFlistOfBillinfos(PModelHandle mhBillInfos) throws RemoteException
processOutputFlistOfBillinfos in interface PIABalanceInfoBeanmhBillInfos - the PModelHandle for Flist containing
all the billinfos and its details for the given account poid.RemoteException - thrown if no billinfos are found or for null POIDsprotected void processNameinfoArray(SparseArray nameinfoArray) throws RemoteException
RemoteExceptionprotected void processBillinfoArray(SparseArray billInfoArray) throws RemoteException
RemoteExceptionpublic String getPrimaryCurrencySymbol()
getPrimaryCurrencySymbol in interface PIABalanceInfoBeanString of primary currency symbolpublic BigDecimal getBalanceSummaryForBillInfo(Poid billInfoPoid, int nIncludeChildren) throws RemoteException
getBalanceSummaryForBillInfo in interface PIABalanceInfoBeanbillInfoPoid - selected BillInfoPOID.nIncludeChildren - flag to include child AccountsRemoteExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.