public class PAcctTreeBeanImpl extends PIAGroupTreeBeanImpl implements PAcctTreeBean
mLazymFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PAcctTreeBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
FList |
createAcctFlistForBillUnit(Poid p,
PFieldSpecification spec)
read in only the fields required as per the spec, and some
additional fields taht will be required irrespective of the
spec
|
HashMap |
getChildPayDetailMap(PModelHandle currentAcctHandle)
Prepares the payment type details of all the children of Current Account.
|
void |
getRootParentAccount(boolean viewType,
PModelHandle acctMh)
The method which gets root parent-childs for accounts
|
Object |
getTree()
returns the tree model built in update()
|
boolean |
isLight()
Determines whether this is a lightweight component.
|
boolean |
isPayingAccount(PModelHandle acct)
Checks the acct passed has an paying bill unit
|
Object |
loadChildParents()
Builds a tree model of accounts that are parents
|
Vector |
loadChildParents(PModelHandle acctHandle)
Builds a tree model of accounts that are parents
|
void |
loadChildPayTypes(HashMap acctPayTypeMap,
PModelHandle[] hChilds)
loads the hashmap with the poid and the paytype of the child accounts in the array
|
Object |
loadCompleteTree()
Builds a tree model of all accounts that are in hierarchy
|
Vector |
loadDefaultChildParents(PModelHandle acctHandle)
Builds a tree model of accounts that are parents
|
void |
update(int reason,
Object data)
Updates the field according to the
displayFieldDescription property,
if present. |
buildTree, createAccountFlist, getChildren, getDisplayData, getDisplayData, getSelectionDataFor, performSearch, prepareChildList, setLazygetDataDescriptor, getLightData, getRemoteListenerHandle, propertyChange, setLightDatagetAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondaryaddRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, handleDistributeToListener, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedpublic PAcctTreeBeanImpl()
throws RemoteException
RemoteExceptionpublic boolean isLight()
throws RemoteException
PControllerImplgetModel always returns null,
setModel is ignored, and no property change events
are generated.The default value is false.
isLight in interface PControllerBeanisLight in class PControllerImplRemoteException - thrown for errorspublic void update(int reason,
Object data)
throws RemoteException
PIAFieldBeandisplayFieldDescription property,
if present.update in class PIAGroupTreeBeanImplreason - the reason for the updatedata - the updated objectRemoteException - thrown for all errorspublic Object getTree() throws RemoteException
PAcctTreeBeangetTree in interface PAcctTreeBeanRemoteExceptionpublic Object loadChildParents() throws RemoteException
loadChildParents in interface PAcctTreeBeanRemoteExceptionpublic Vector loadChildParents(PModelHandle acctHandle) throws RemoteException
RemoteExceptionpublic Vector loadDefaultChildParents(PModelHandle acctHandle) throws RemoteException
RemoteExceptionpublic void getRootParentAccount(boolean viewType,
PModelHandle acctMh)
throws RemoteException
viewType - boolean value representing the context of
bill unit/account level hierarchyacctMh, - the account model handleRemoteExceptionpublic FList createAcctFlistForBillUnit(Poid p, PFieldSpecification spec) throws RemoteException
p - The account poidspec - The field specRemoteExceptionpublic boolean isPayingAccount(PModelHandle acct) throws RemoteException
isPayingAccount in interface PAcctTreeBeanRemoteExceptionpublic Object loadCompleteTree() throws RemoteException
loadCompleteTree in interface PAcctTreeBeanRemoteExceptionpublic void loadChildPayTypes(HashMap acctPayTypeMap, PModelHandle[] hChilds)
acctPayTypeMap - HashMaphChilds - PModelHandle[] child accountspublic HashMap getChildPayDetailMap(PModelHandle currentAcctHandle)
currentAcctHandle - PModelHandleCopyright © 2003, 2023, Oracle and/or its affiliates.