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, removeChild
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public PIABalanceInfoBeanImpl() throws RemoteException
RemoteException
public List getCurrencyData()
getCurrencyData
in interface PIABalanceInfoBean
public Object getCurrencyData(int index)
getCurrencyData
in interface PIABalanceInfoBean
index
- protected void setCurrencyData(Object Result)
Result
- - Objectpublic List getNonCurrencyData()
getNonCurrencyData
in interface PIABalanceInfoBean
public Object getNonCurrencyData(int index)
getNonCurrencyData
in interface PIABalanceInfoBean
index
- protected void setNonCurrencyData(Object Result)
Result
- - Objectpublic void update(int reason, Object data) throws RemoteException
update
in interface PIABalanceInfoBean
update
in class PIAComponentCollectionBean
reason
- data
- RemoteException
public Object getCurrencySymbol(int index) throws RemoteException
getCurrencySymbol
in interface PIABalanceInfoBean
index
- RemoteException
public Object getBEIDData(int index, boolean currency) throws RemoteException
getBEIDData
in interface PIABalanceInfoBean
RemoteException
public Object getBEIDDescription(int index) throws RemoteException
getBEIDDescription
in interface PIABalanceInfoBean
RemoteException
public Boolean isSecIDNonZero() throws RemoteException
isSecIDNonZero
in interface PIABalanceInfoBean
RemoteException
public Object getReasonData(Object eventData) throws RemoteException
getReasonData
in interface PIABalanceInfoBean
RemoteException
public void setAccountPoid(Poid pAcctPoid)
setAccountPoid
in interface PIABalanceInfoBean
pAcctPoid
- a Poid
for an accountRemoteException
public Poid getAccountPoid()
getAccountPoid
in interface PIABalanceInfoBean
Poid
for an accountpublic void setBalanceGroupPoid(Poid pBalGrpPoid)
setBalanceGroupPoid
in interface PIABalanceInfoBean
pBalGrpPoid
- a Poid
for Balance Grouppublic Poid getBalanceGroupPoid()
getBalanceGroupPoid
in interface PIABalanceInfoBean
Poid
for Balance Grouppublic void setBillinfoPoid(Poid pBillinfoPoid)
setBillinfoPoid
in interface PIABalanceInfoBean
pBillinfoPoid
- a Poid
for billinfopublic Poid getBillinfoPoid()
getBillinfoPoid
in interface PIABalanceInfoBean
Poid
for Billinfopublic Hashtable getAllSvcLvlBillinfos()
getAllSvcLvlBillinfos
in interface PIABalanceInfoBean
Hashtable
of billinfo details.public Hashtable getAcctLvlBillinfoDetails()
getAcctLvlBillinfoDetails
in interface PIABalanceInfoBean
Hashtable
of billinfo details.public Hashtable getAllNameinfo()
getAllNameinfo
in interface PIABalanceInfoBean
Hashtable
of nameinfo details.public BigDecimal getCurrencyCurrentBal()
getCurrencyCurrentBal
in interface PIABalanceInfoBean
BigDecimal
current balance amount for the currency balancepublic Hashtable getBalancesForAcctAndBillinfo()
Hashtable
of balances details.public Hashtable getSvcsForBalGrpOfAcctAndBillinfo()
getSvcsForBalGrpOfAcctAndBillinfo
in interface PIABalanceInfoBean
Hashtable
of services associated to all balances groups of given billinfo.public Hashtable getBalsOfAllBalGrpsOfAcctAndBillinfo()
getBalsOfAllBalGrpsOfAcctAndBillinfo
in interface PIABalanceInfoBean
Hashtable
of balances details for all balances groups of given billinfo.public BigDecimal getCurrencyCreditLimitForBillunit()
getCurrencyCreditLimitForBillunit
in interface PIABalanceInfoBean
BigDecimal
Credit limit of given billinfo.public PModelHandle getAcctLvlBalanceGroupAndBillinfoID(PModelHandle mHAcct, ResourceBundle bundle) throws RemoteException
Action
method for the bean.getAcctLvlBalanceGroupAndBillinfoID
in interface PIABalanceInfoBean
mHAcct
- 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 PIABalanceInfoBean
pAcctPoid
- 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 PIABalanceInfoBean
pAcctPoid
- 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 PIABalanceInfoBean
mHAcct
- 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 PIABalanceInfoBean
mhBillInfos
- 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
RemoteException
protected void processBillinfoArray(SparseArray billInfoArray) throws RemoteException
RemoteException
public String getPrimaryCurrencySymbol()
getPrimaryCurrencySymbol
in interface PIABalanceInfoBean
String
of primary currency symbolpublic BigDecimal getBalanceSummaryForBillInfo(Poid billInfoPoid, int nIncludeChildren) throws RemoteException
getBalanceSummaryForBillInfo
in interface PIABalanceInfoBean
billInfoPoid
- selected BillInfoPOID.nIncludeChildren
- flag to include child AccountsRemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.