public class PHierarchyMoveAcctBeanImpl extends PIAComponentCollectionBean implements PHierarchyMoveAcctBean
Modifier and Type | Field and Description |
---|---|
static String |
ERR_BAD_POID |
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PHierarchyMoveAcctBeanImpl() |
Modifier and Type | Method and Description |
---|---|
Object[] |
getBillInfoBalanceSummary(int nIncludeChildren,
PModelHandle hAcct)
Retrieve the account balance summary data
Call
PortalOp.AR_GET_ACCT_BAL_SUMMARY |
boolean |
isSubordAcct(Poid acctPoid)
Return true/false based on the account having any bill info
paid by parent.
|
void |
moveAccount(PModelHandle model,
PModelHandle destAcctModel,
Date deferredTo,
boolean billNowModel,
PModelHandle paymentModel)
Executes the CUSTCARE_MOVE_ACCT opcode to move
an account
|
void |
moveAccount(PModelHandle model,
PModelHandle destAcctModel,
Date deferredTo,
PModelHandle billNowModel,
PModelHandle paymentModel)
Executes the CUSTCARE_MOVE_ACCT opcode to move an account; can also be made
to perform a bill now and a payment change before the move
|
addChild, getCollectedData, getSelectionDataFor, removeChild, update
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 static String ERR_BAD_POID
public PHierarchyMoveAcctBeanImpl() throws RemoteException
RemoteException
public void moveAccount(PModelHandle model, PModelHandle destAcctModel, Date deferredTo, boolean billNowModel, PModelHandle paymentModel) throws RemoteException
moveAccount
in interface PHierarchyMoveAcctBean
model
- The PModelHandle of the account to be moveddestAcct
- The account number of the target account.
If null, the source account will be moved out of the hierarchydeferredTo
- The date the move is deferred to
If null, the move is not deferredRemoteException
public void moveAccount(PModelHandle model, PModelHandle destAcctModel, Date deferredTo, PModelHandle billNowModel, PModelHandle paymentModel) throws RemoteException
moveAccount
in interface PHierarchyMoveAcctBean
model
- PModelHandle of the account to be moveddestAcct
- PModelHandle The PModelHandle of the target account.
If null, the source account will be moved out of the hierarchydeferredTo
- Date The date the move is deferred to
If null, the move is not deferredbillNowModel
- PModelHandle The PModelHandle of billnow billinfos.paymentModel
- PModelHandle A modelhandle containing info required to make a
change in the payment method; set it to null if you don't want to
change the payment typeRemoteException
public boolean isSubordAcct(Poid acctPoid)
isSubordAcct
in interface PHierarchyMoveAcctBean
public Object[] getBillInfoBalanceSummary(int nIncludeChildren, PModelHandle hAcct) throws RemoteException
PortalOp.AR_GET_ACCT_BAL_SUMMARY
getBillInfoBalanceSummary
in interface PHierarchyMoveAcctBean
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objectRemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.