public class PAcctTreeBeanImpl extends PIAGroupTreeBeanImpl implements PAcctTreeBean
mLazy
mFList, 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, setLazy
getDataDescriptor, getLightData, getRemoteListenerHandle, propertyChange, setLightData
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondary
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, handleDistributeToListener, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
public PAcctTreeBeanImpl() throws RemoteException
RemoteException
public boolean isLight() throws RemoteException
PControllerImpl
getModel
always returns null,
setModel
is ignored, and no property change events
are generated.The default value is false.
isLight
in interface PControllerBean
isLight
in class PControllerImpl
RemoteException
- thrown for errorspublic void update(int reason, Object data) throws RemoteException
PIAFieldBean
displayFieldDescription
property,
if present.update
in class PIAGroupTreeBeanImpl
reason
- the reason for the updatedata
- the updated objectRemoteException
- thrown for all errorspublic Object getTree() throws RemoteException
PAcctTreeBean
getTree
in interface PAcctTreeBean
RemoteException
public Object loadChildParents() throws RemoteException
loadChildParents
in interface PAcctTreeBean
RemoteException
public Vector loadChildParents(PModelHandle acctHandle) throws RemoteException
RemoteException
public Vector loadDefaultChildParents(PModelHandle acctHandle) throws RemoteException
RemoteException
public void getRootParentAccount(boolean viewType, PModelHandle acctMh) throws RemoteException
viewType
- boolean value representing the context of
bill unit/account level hierarchyacctMh,
- the account model handleRemoteException
public FList createAcctFlistForBillUnit(Poid p, PFieldSpecification spec) throws RemoteException
p
- The account poidspec
- The field specRemoteException
public boolean isPayingAccount(PModelHandle acct) throws RemoteException
isPayingAccount
in interface PAcctTreeBean
RemoteException
public Object loadCompleteTree() throws RemoteException
loadCompleteTree
in interface PAcctTreeBean
RemoteException
public void loadChildPayTypes(HashMap acctPayTypeMap, PModelHandle[] hChilds)
acctPayTypeMap
- HashMaphChilds
- PModelHandle[] child accountspublic HashMap getChildPayDetailMap(PModelHandle currentAcctHandle)
currentAcctHandle
- PModelHandleCopyright © 2003, 2023, Oracle and/or its affiliates.