Package com.portal.app.ccare.comp
Class PARAllocateBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PARAllocateBeanImpl
- All Implemented Interfaces:
PARAllocateBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
Controller class implementing bill level allocation of payment/adjustment
The following opcodes are used by this controller:
PortalOp.BILL_SELECT_ITEMS
PortalOp.BILL_ITEM_TRANSFER
- See Also:
-
Field Summary
Fields 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 TypeMethodDescriptionvoid
allocate
(PModelHandle hAcct, int iCurrency, PModelHandle hBills, int nIncludeChildren, PModelHandle hItem, BigDecimal decDue, ArrayList alAlloc) perform bill level allocation of payment or adjustment opcodes used:PortalOp.BILL_SELECT_ITEMS
PortalOp.BILL_ITEM_TRANSFER
void
allocate
(PModelHandle hAcct, int iCurrency, PModelHandle hBills, int nIncludeChildren, PModelHandle hItem, BigDecimal decDue, ArrayList alAlloc, boolean isNegativeBill, ArrayList billNum) perform bill level allocation of payment or adjustment opcodes used:PortalOp.BILL_SELECT_ITEMS
PortalOp.BILL_ITEM_TRANSFER
void
allocate
(PModelHandle hAcct, int iCurrency, PModelHandle hBills, int nIncludeChildren, PModelHandle hItem, BigDecimal decDue, ArrayList alAlloc, ArrayList billNum) perform bill level allocation of payment or adjustment opcodes used:PortalOp.BILL_SELECT_ITEMS
PortalOp.BILL_ITEM_TRANSFER
void
allocate
(PModelHandle hAcct, int iCurrency, PModelHandle hBillItem, PModelHandle hItem, int decAmount) perform bill level allocation of debit adjustment opcodes used:PortalOp.BILL_ITEM_TRANSFER
void
allocate
(PModelHandle hAcct, int iCurrency, PModelHandle hBillItem, PModelHandle hItem, BigDecimal decAmount) perform bill level allocation of debit adjustment opcodes used:PortalOp.BILL_ITEM_TRANSFER
Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, update
Methods 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, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PARAllocateBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
allocate
public void allocate(PModelHandle hAcct, int iCurrency, PModelHandle hBills, int nIncludeChildren, PModelHandle hItem, BigDecimal decDue, ArrayList alAlloc, ArrayList billNum) throws Exception perform bill level allocation of payment or adjustment opcodes used:PortalOp.BILL_SELECT_ITEMS
PortalOp.BILL_ITEM_TRANSFER
- Specified by:
allocate
in interfacePARAllocateBean
- Parameters:
hAcct
- The model handle for the current account objectiCurrency
- The currency resource idhBills
- The model handle for the list of billsnIncludeChildren
- Include children amounts flaghItem
- The modelHandle of the item to be allocateddecDue
- The due amount of item in nCurrencyalAlloc
- The list of amounts to be allocated to each open billsbillNum
- The list of billnumbers used to preserve the order of allocationnCurrency
- The currency resource id- Throws:
Exception
-
allocate
public void allocate(PModelHandle hAcct, int iCurrency, PModelHandle hBills, int nIncludeChildren, PModelHandle hItem, BigDecimal decDue, ArrayList alAlloc) throws RemoteException perform bill level allocation of payment or adjustment opcodes used:PortalOp.BILL_SELECT_ITEMS
PortalOp.BILL_ITEM_TRANSFER
- Specified by:
allocate
in interfacePARAllocateBean
- Parameters:
hAcct
- The model handle for the current account objectiCurrency
- The currency resource idhBills
- The model handle for the list of billsnIncludeChildren
- Include children amounts flaghItem
- The modelHandle of the item to be allocateddecDue
- The due amount of item in nCurrencyalAlloc
- The list of amounts to be allocated to each open billsnCurrency
- The currency resource id- Throws:
RemoteException
-
allocate
public void allocate(PModelHandle hAcct, int iCurrency, PModelHandle hBills, int nIncludeChildren, PModelHandle hItem, BigDecimal decDue, ArrayList alAlloc, boolean isNegativeBill, ArrayList billNum) throws Exception perform bill level allocation of payment or adjustment opcodes used:PortalOp.BILL_SELECT_ITEMS
PortalOp.BILL_ITEM_TRANSFER
- Specified by:
allocate
in interfacePARAllocateBean
- Parameters:
hAcct
- The model handle for the current account objectiCurrency
- The currency resource idhBills
- The model handle for the list of billsnIncludeChildren
- Include children amounts flaghItem
- The modelHandle of the item to be allocateddecDue
- The due amount of item in nCurrencyalAlloc
- The list of amounts to be allocated to each open billsisNegativeBill
- allocate from negative billibillNum
- list of billnumbers used to preserve the order of allocationnCurrency
- The currency resource id- Throws:
Exception
-
allocate
public void allocate(PModelHandle hAcct, int iCurrency, PModelHandle hBillItem, PModelHandle hItem, BigDecimal decAmount) throws RemoteException perform bill level allocation of debit adjustment opcodes used:PortalOp.BILL_ITEM_TRANSFER
- Specified by:
allocate
in interfacePARAllocateBean
- Parameters:
hAcct
- The model handle for the current account objectiCurrency
- The currency resource idhBillItem
- The model handle for the billitem that is selectedhItem
- The modelHandle of the item to be allocateddecAmount
- The due amount to be allocated in BigDecimal- Throws:
RemoteException
-
allocate
public void allocate(PModelHandle hAcct, int iCurrency, PModelHandle hBillItem, PModelHandle hItem, int decAmount) throws RemoteException perform bill level allocation of debit adjustment opcodes used:PortalOp.BILL_ITEM_TRANSFER
- Specified by:
allocate
in interfacePARAllocateBean
- Parameters:
hAcct
- The model handle for the current account objectiCurrency
- The currency resource idhBillItem
- The model handle for the billitem that is selectedhItem
- The modelHandle of the item to be allocateddecAmount
- The due amount to be allocated in integer- Throws:
RemoteException
-