Package com.portal.app.cc.comp
Class PHierarchyMoveAcctBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.cc.comp.PHierarchyMoveAcctBeanImpl
- All Implemented Interfaces:
PHierarchyMoveAcctBean,PIACollectionBean,PControllerBean,Serializable,Remote,Unreferenced
public class PHierarchyMoveAcctBeanImpl
extends PIAComponentCollectionBean
implements PHierarchyMoveAcctBean
- See Also:
-
Field Summary
FieldsFields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]getBillInfoBalanceSummary(int nIncludeChildren, PModelHandle hAcct) Retrieve the account balance summary data CallPortalOp.AR_GET_ACCT_BAL_SUMMARYbooleanisSubordAcct(Poid acctPoid) Return true/false based on the account having any bill info paid by parent.voidmoveAccount(PModelHandle model, PModelHandle destAcctModel, Date deferredTo, boolean billNowModel, PModelHandle paymentModel) Executes the CUSTCARE_MOVE_ACCT opcode to move an accountvoidmoveAccount(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 moveMethods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, updateMethods inherited from class com.portal.bas.PControllerImpl
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, unreferencedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Field Details
-
ERR_BAD_POID
-
-
Constructor Details
-
PHierarchyMoveAcctBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
moveAccount
public void moveAccount(PModelHandle model, PModelHandle destAcctModel, Date deferredTo, boolean billNowModel, PModelHandle paymentModel) throws RemoteException Executes the CUSTCARE_MOVE_ACCT opcode to move an account- Specified by:
moveAccountin interfacePHierarchyMoveAcctBean- Parameters:
model- The PModelHandle of the account to be moveddestAcctModel- The PModelHandle 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 deferredbillNowModel- set to true, if the pending charges are to be billed before the move; otherwise, set it to falsepaymentModel- 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 typedestAcct- The account number of the target account. If null, the source account will be moved out of the hierarchy- Throws:
RemoteException
-
moveAccount
public void moveAccount(PModelHandle model, PModelHandle destAcctModel, Date deferredTo, PModelHandle billNowModel, PModelHandle paymentModel) throws RemoteException 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- Specified by:
moveAccountin interfacePHierarchyMoveAcctBean- Parameters:
model- PModelHandle of the account to be moveddestAcctModel- 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 typedestAcct- PModelHandle The PModelHandle of the target account. If null, the source account will be moved out of the hierarchy- Throws:
RemoteException
-
isSubordAcct
Return true/false based on the account having any bill info paid by parent.- Specified by:
isSubordAcctin interfacePHierarchyMoveAcctBean
-
getBillInfoBalanceSummary
public Object[] getBillInfoBalanceSummary(int nIncludeChildren, PModelHandle hAcct) throws RemoteException Retrieve the account balance summary data CallPortalOp.AR_GET_ACCT_BAL_SUMMARY- Specified by:
getBillInfoBalanceSummaryin interfacePHierarchyMoveAcctBean- Parameters:
nIncludeChildren- Include children amounts flaghAcct- Handle for the current account object- Returns:
- Object[]
- Throws:
RemoteException
-