Package com.portal.app.ccare.comp
Interface PIABalanceInfoBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PIABalanceInfoBeanImpl
Controller bean interface for the Account Balance Panel
- Author:
- Kapono Carter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the account poidgetAcctLvlBalanceGroupAndBillinfoID
(PModelHandle mHAcct, ResourceBundle bundle) Gets default account level billinfo and balance group details.This is theAction
method for the bean.Gets the available billinfo to which default accoutn level balance group is associated with for given account.Gets all billinfo details for the the given account poidGets the available nameinfo for given account.Gets the available billinfo's for given account.Gets the Balance Group poidgetBalancesForAcctAndBalGrpID
(Poid pAcctPoid, Poid pBalGrpPoid) Gets balance details for the given account and balance group Poid.This is theAction
method for the bean.getBalanceSummaryForBillInfo
(Poid billInfoPoid, int nIncludeChildren) method for geting the currency balance of selected bilInfovoid
getBalGrpsAndSvcsForAcctAndBillInfo
(Poid pAcctPoid, Poid pBillinfoPoid) Gets balance groups and services details associated to the given account and billinfo objects.Gets the available balances for each balance group for given account and billinfo poidgetBEIDData
(int index, boolean currency) getBEIDDescription
(int index) Gets the Billinfo poidGets the Credit limit for selected Billinfo .Gets the Current balance for currency balance groupgetCurrencyData
(int index) getCurrencySymbol
(int index) Used to retrieve the currency symbol for a given row or to get a modelFieldDescription for a given row.getNonCurrencyData
(int index) Gets the primary currency symbol of the account.getReasonData
(Object eventData) Gets the available services for the balance group for given account and billinfo poidvoid
processOutputFlistOfBillinfos
(PModelHandle mhBillInfos) Parses the output flist with all the billinfos and its details for the given account poidvoid
setAccountPoid
(Poid pAcctPoid) Sets the account poidvoid
setBalanceGroupPoid
(Poid pBalGrpPoid) Sets the Balance Group poidvoid
setBillinfoPoid
(Poid pBillinfoPoid) Sets the Billinfo poidvoid
Updates the balance panel with the balance information for the current account.
-
Field Details
-
C_D_COL
static final int C_D_COL- See Also:
-
C_CL_COL
static final int C_CL_COL- See Also:
-
C_A_COL
static final int C_A_COL- See Also:
-
C_B_COL
static final int C_B_COL- See Also:
-
NC_D_COL
static final int NC_D_COL- See Also:
-
NC_CL_COL
static final int NC_CL_COL- See Also:
-
NC_B_COL
static final int NC_B_COL- See Also:
-
-
Method Details
-
getCurrencyData
- Throws:
RemoteException
-
getCurrencyData
- Throws:
RemoteException
-
getNonCurrencyData
- Throws:
RemoteException
-
getNonCurrencyData
- Throws:
RemoteException
-
update
Updates the balance panel with the balance information for the current account. The primary and secondary currency (if any) is retrieved, as well as the current balance and credit limit. Data is sent to the client in 2 shots - once for each table.- Parameters:
reason
-data
-- Throws:
RemoteException
-
getCurrencySymbol
Used to retrieve the currency symbol for a given row or to get a modelFieldDescription for a given row.- Parameters:
index
-- Throws:
RemoteException
-
getBEIDData
- Throws:
RemoteException
-
getBEIDDescription
- Throws:
RemoteException
-
isSecIDNonZero
- Throws:
RemoteException
-
getReasonData
- Throws:
RemoteException
-
setAccountPoid
Sets the account poid- Parameters:
pAcctPoid
- aPoid
for an account
-
getAccountPoid
Poid getAccountPoid()Gets the account poid- Returns:
- pAcctPoid a
Poid
for an account
-
setBalanceGroupPoid
Sets the Balance Group poid- Parameters:
pBalGrpPoid
- aPoid
for Balance Group
-
getBalanceGroupPoid
Poid getBalanceGroupPoid()Gets the Balance Group poid- Returns:
- pBalGrpPoid a
Poid
for Balance Group
-
setBillinfoPoid
Sets the Billinfo poid- Parameters:
pBillinfoPoid
- aPoid
for billinfo
-
getBillinfoPoid
Poid getBillinfoPoid()Gets the Billinfo poid- Returns:
- pBillinfoPoid a
Poid
for Billinfo
-
getAllSvcLvlBillinfos
Hashtable getAllSvcLvlBillinfos()Gets the available billinfo's for given account.- Returns:
- A
Hashtable
of billinfo details.
-
getAcctLvlBillinfoDetails
Hashtable getAcctLvlBillinfoDetails()Gets the available billinfo to which default accoutn level balance group is associated with for given account.- Returns:
- A
Hashtable
of billinfo details.
-
getAllNameinfo
Hashtable getAllNameinfo()Gets the available nameinfo for given account.- Returns:
- A
Hashtable
of nameinfo details.
-
getSvcsForBalGrpOfAcctAndBillinfo
Hashtable getSvcsForBalGrpOfAcctAndBillinfo()Gets the available services for the balance group for given account and billinfo poid- Returns:
- A
Hashtable
of services associated to all balances groups of given billinfo.
-
getBalsOfAllBalGrpsOfAcctAndBillinfo
Hashtable getBalsOfAllBalGrpsOfAcctAndBillinfo()Gets the available balances for each balance group for given account and billinfo poid- Returns:
- A
Hashtable
of balances details for all balances groups of given billinfo.
-
getAcctLvlBalanceGroupAndBillinfoID
PModelHandle getAcctLvlBalanceGroupAndBillinfoID(PModelHandle mHAcct, ResourceBundle bundle) throws RemoteException Gets default account level billinfo and balance group details.This is theAction
method for the bean.- Parameters:
mHAcct
- thePModelHandle
for the accountbundle
- the resource bundle- Returns:
- mHBalGrp the
PModelHandle
for Flist containing account poid and default account level balance group and billinfo poid's. - Throws:
RemoteException
- thrown if no billinfo and balance group found or for null POIDs
-
getBalGrpsAndSvcsForAcctAndBillInfo
Gets balance groups and services details associated to the given account and billinfo objects.- Parameters:
pAcctPoid
- account POID.pBillinfoPoid
- Billinfo POID.- Throws:
RemoteException
- thrown if no balace groups and services are found or for null POIDs
-
getAllBillInfoAndDetailsForAcct
Gets all billinfo details for the the given account poid- Parameters:
mHAcct
- thePModelHandle
for the account- Returns:
- mhBillInfos the
PModelHandle
for the list of all the billinfo's and its details for given account. - Throws:
RemoteException
- thrown if no billinfo's are found or for null POIDs
-
processOutputFlistOfBillinfos
Parses the output flist with all the billinfos and its details for the given account poid- Parameters:
mhBillInfos
- thePModelHandle
for Flist containing all the billinfos and its details for the given account poid.- Throws:
RemoteException
- thrown if no billinfos are found or for null POIDs
-
getBalancesForAcctAndBalGrpID
Gets balance details for the given account and balance group Poid.This is theAction
method for the bean.- Parameters:
pAcctPoid
- account POID.pBalGrpPoid
- Balance group POID.- Returns:
- A
Hashtable
of balances details. - Throws:
RemoteException
- thrown if no balances found or for null POIDs
-
getCurrencyCurrentBal
BigDecimal getCurrencyCurrentBal()Gets the Current balance for currency balance group- Returns:
- mCurrentBalance a
BigDecimal
current balance amount for the currency balance
-
getPrimaryCurrencySymbol
String getPrimaryCurrencySymbol()Gets the primary currency symbol of the account.- Returns:
- mPrimaryCurrencySymbol a
String
of primary currency symbol of the account.
-
getBalanceSummaryForBillInfo
BigDecimal getBalanceSummaryForBillInfo(Poid billInfoPoid, int nIncludeChildren) throws RemoteException method for geting the currency balance of selected bilInfo- Parameters:
billInfoPoid
- selected BillInfoPOID.nIncludeChildren
- flag to include child Accounts- Returns:
- BigDecimal Currency balance of selected bilInfo
- Throws:
RemoteException
-
getCurrencyCreditLimitForBillunit
BigDecimal getCurrencyCreditLimitForBillunit()Gets the Credit limit for selected Billinfo . This method does a summation of the Credit limit of all Balance Groups of a given Billinfo. If the Credit Limit of any Balance Group is unlimited then this method will return a null.- Returns:
- A
BigDecimal
Credit Limit of given billinfo.
-