public class PARBalancePageBeanImpl extends PIAComponentCollectionBean implements PARBalancePageBean
PARBalancePage
component.
The following opcodes are used by this controller:
PortalOp.AR_GET_ACCT_BILLS
PortalOp.PortalOp.AR_GET_ACCT_BILLS
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PARBalancePageBeanImpl() |
Modifier and Type | Method and Description |
---|---|
void |
appendCurrentAccount(PModelHandle mhBillInfo,
PModelHandle mhAccount)
Appends the account object to the account model handle
|
PModelHandle |
getAccountModelForSelectedBill(PModelHandle mhSheet,
PModelHandle mhSelected)
Return PModelHandle for the selected model handel
|
BigDecimal |
getAllCurrencyLimit(PModelHandle hBillinfo,
PModelHandle hAcct)
Return all credit limit of currency resource
|
Object[] |
getBalanceSummary(int nIncludeChildren,
PModelHandle hAcct,
PModelHandle hArAcct)
Retrieve the account balance summary data
Call
PortalOp.AR_GET_ACCT_BAL_SUMMARY |
PModelHandle |
getBalnceGroups(Poid billInfoPoid,
Poid accPoid)
Returns Balance groups for given bill info or returns all balance groups for given account
|
Object[] |
getBillInfoBalanceSummary(int nIncludeChildren,
PModelHandle hAcct,
PModelHandle mARBillInfo)
Retrieve the account balance summary data
Call
PortalOp.AR_GET_ACCT_BAL_SUMMARY |
BigDecimal |
getBillinfoCurrencyLimit(FList fBillinfo,
PModelHandle hAcct)
Return credit limit of currency resource
|
PModelHandle |
getBillItems(int nIncludeChildren,
PModelHandle hAcct,
PModelHandle hArAcct,
PARBillSearchData sData,
Vector billInfos,
Integer threshold)
Retrieve a list of bill items based on given search criteria
Call
PortalOp.AR_GET_BILL_ITEMS |
PModelHandle |
getBills(int nIncludeChildren,
PModelHandle mhAccount,
PModelHandle mARBillInfo,
PARBillSearchData sData)
Retrieve a list of bills based on given search criteria
Call
PortalOp.AR_GET_ACCT_BILLS |
PModelHandle |
getBills(int nIncludeChildren,
PModelHandle mhAccount,
PModelHandle mARBillInfo,
PARBillSearchData sData,
boolean excNegBills)
Retrieve a list of bills based on given search criteria
Call
PortalOp.AR_GET_ACCT_BILLS |
PModelHandle |
getCurrencyBalances(Poid accPoid,
Poid balGrpPoid,
int currency)
Returns Currency balances for given balance group
|
BigDecimal |
getCurrencyLimit(PModelHandle hAcct)
Return the credit limit of currency resource
|
BigDecimal |
getCurrencyLimit(PModelHandle hBillinfo,
PModelHandle hAcct)
Return the credit limit of currency resource
|
BigDecimal |
getCurrencyLimitForSelectedBillUnit(PModelHandle hBillinfo,
PModelHandle hAcct,
PModelHandle selectedBillUnitMH)
Return credit limit of currency resource for selected bill unit
|
Object |
getInvoice(PModelHandle mhBill)
Return an Invoice object given the bill handle
|
PModelHandle |
getNonCurrencyBalances(Poid accPoid,
Poid balGrpPoid)
Returns Non Currency balances for given balance group
|
Vector |
getNonCurrencyResources(PModelHandle hAcct)
Return a vector that contains vectors of non-currency resources
|
Vector |
getNonCurrencyVector(PModelHandle hAcct)
Return a vector that contains vectors of non-currency resources
|
PModelHandle |
getOpenBills(int nIncludeChildren,
PModelHandle mhAccount,
PModelHandle mARBillInfo)
Retrieve a list of open bills
Call
PortalOp.AR_GET_ACCT_BILLS |
boolean |
hasPositveBills(PModelHandle mhAllocBills)
Returns true if the billmodel handle has even one positive bill
|
boolean |
hasPrevLifeOpenBill(PModelHandle mhARBillInfo)
Check if the current subordinate bill info had a previous life as a
standalone bill info with open balance
|
void |
intializeContext() |
void |
reset()
Reset the controller to clear the cached data
|
void |
update(int reason,
Object incoming)
The
update method is called by various internal methods when
the data has changed enough to require changing the client display. |
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 PARBalancePageBeanImpl() throws RemoteException
RemoteException
public void update(int reason, Object incoming) throws RemoteException
PControllerImpl
update
method is called by various internal methods when
the data has changed enough to require changing the client display. Must
be overridden by a specific controller subclass.update
in class PIAComponentCollectionBean
reason
- incoming
- RemoteException
public void intializeContext()
public Object[] getBillInfoBalanceSummary(int nIncludeChildren, PModelHandle hAcct, PModelHandle mARBillInfo) throws RemoteException
PARBalancePageBean
PortalOp.AR_GET_ACCT_BAL_SUMMARY
getBillInfoBalanceSummary
in interface PARBalancePageBean
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objectmARBillInfo
- Handle for the BillInfo poid
Return an object array of 3 items:
objs[0] = PModelHandle of PortalOp.AR_GET_ACCT_BAL_SUMMARY flist
objs[1] = Integer object with number of immediate children for this acct
objs[2] = BigDecimal value for unapplied amount
objs[3] = BigDecimal value for pending amount
objs[4] = BigDecimal value for disputed amountRemoteException
public Object[] getBalanceSummary(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) throws RemoteException
PortalOp.AR_GET_ACCT_BAL_SUMMARY
getBalanceSummary
in interface PARBalancePageBean
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objecthArAcct
- Handle for the AR account poid
Return an object array of 5 items:
objs[0] = PModelHandle of PortalOp.AR_GET_ACCT_BAL_SUMMARY flist
objs[1] = Integer object with number of immediate children for this acct
objs[2] = BigDecimal value for unapplied amount
objs[3] = BigDecimal value for pending amount
objs[4] = BigDecimal value for disputed amount
objs[5] = Model Handle of the Pending billRemoteException
public PModelHandle getOpenBills(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mARBillInfo) throws RemoteException
PortalOp.AR_GET_ACCT_BILLS
getOpenBills
in interface PARBalancePageBean
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objecthArAcct
- Handle for the AR account poidRemoteException
public PModelHandle getBills(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mARBillInfo, PARBillSearchData sData, boolean excNegBills) throws RemoteException
PortalOp.AR_GET_ACCT_BILLS
getBills
in interface PARBalancePageBean
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objecthArAcct
- Handle for the AR account poidsData
- Search criteria dataRemoteException
public PModelHandle getBills(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mARBillInfo, PARBillSearchData sData) throws RemoteException
PortalOp.AR_GET_ACCT_BILLS
getBills
in interface PARBalancePageBean
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objecthArAcct
- Handle for the AR account poidsData
- Search criteria dataRemoteException
public void appendCurrentAccount(PModelHandle mhBillInfo, PModelHandle mhAccount) throws RemoteException
appendCurrentAccount
in interface PARBalancePageBean
mhBillinfo
- Handle for the billinfo objectmhAccount
- Handle for the previous account objectRemoteException
public PModelHandle getAccountModelForSelectedBill(PModelHandle mhSheet, PModelHandle mhSelected) throws RemoteException
getAccountModelForSelectedBill
in interface PARBalancePageBean
mhSheet
- The bill handle for the table objectRemoteException
public PModelHandle getBillItems(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct, PARBillSearchData sData, Vector billInfos, Integer threshold) throws RemoteException
PortalOp.AR_GET_BILL_ITEMS
getBillItems
in interface PARBalancePageBean
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objecthArAcct
- Handle for the AR account poidsData
- Search criteria databillInfos
- Billinfo datathreshold
- the maximum items to returnRemoteException
public boolean hasPrevLifeOpenBill(PModelHandle mhARBillInfo) throws RemoteException
hasPrevLifeOpenBill
in interface PARBalancePageBean
hAcct
- Handle for the current account objectRemoteException
public BigDecimal getCurrencyLimit(PModelHandle hAcct) throws RemoteException
getCurrencyLimit
in interface PARBalancePageBean
hAcct
- Handle for the current account objectRemoteException
public BigDecimal getCurrencyLimit(PModelHandle hBillinfo, PModelHandle hAcct) throws RemoteException
getCurrencyLimit
in interface PARBalancePageBean
hBillinfo
- Handle for account bill infohAcct
- Handle for the current account objectRemoteException
public BigDecimal getAllCurrencyLimit(PModelHandle hBillinfo, PModelHandle hAcct) throws RemoteException
getAllCurrencyLimit
in interface PARBalancePageBean
hBillinfo
- Handle for account bill infohAcct
- Handle for the current account objectRemoteException
public BigDecimal getBillinfoCurrencyLimit(FList fBillinfo, PModelHandle hAcct) throws RemoteException
hBillinfo
- Handle for account bill infohAcct
- Handle for the current account objectRemoteException
public PModelHandle getCurrencyBalances(Poid accPoid, Poid balGrpPoid, int currency)
getCurrencyBalances
in interface PARBalancePageBean
accPoid
- Poid for the current account objectbalGrpPoid
- Poid of balance groupcurrency
- int primary currencypublic PModelHandle getNonCurrencyBalances(Poid accPoid, Poid balGrpPoid)
getNonCurrencyBalances
in interface PARBalancePageBean
accPoid
- Poid for the current account objectbalGrpPoid
- Poid of balance grouppublic Vector getNonCurrencyVector(PModelHandle hAcct) throws RemoteException
getNonCurrencyVector
in interface PARBalancePageBean
hAcct
- Handle for the current account object
vector data in order:
String - Resource Description,
Bigdecimal - Amount, and
BigDecimal - Credit LimitRemoteException
public Vector getNonCurrencyResources(PModelHandle hAcct) throws RemoteException
getNonCurrencyResources
in interface PARBalancePageBean
hAcct
- Handle for the current account object
vector data in order:
Integer - Resource id, and
String - DescriptionRemoteException
public Object getInvoice(PModelHandle mhBill) throws RemoteException
getInvoice
in interface PARBalancePageBean
mhBill
- The bill handle for the returned invoice objectRemoteException
public void reset() throws RemoteException
reset
in interface PARBalancePageBean
RemoteException
public BigDecimal getCurrencyLimitForSelectedBillUnit(PModelHandle hBillinfo, PModelHandle hAcct, PModelHandle selectedBillUnitMH) throws RemoteException
getCurrencyLimitForSelectedBillUnit
in interface PARBalancePageBean
hBillinfo
- Handle for the bill infohAcct
- Handle for the current account objectselectedBillUnitMH
- Handle for the selected bill unit objectRemoteException
public PModelHandle getBalnceGroups(Poid billInfoPoid, Poid accPoid)
getBalnceGroups
in interface PARBalancePageBean
billInfoPoid
- Poid poid for the bill infohAcct
- PModelHandle Handle for the current account objectpublic boolean hasPositveBills(PModelHandle mhAllocBills)
hasPositveBills
in interface PARBalancePageBean
mhAllocBills
- Copyright © 2003, 2023, Oracle and/or its affiliates.