Package com.portal.app.ccare.comp
Class PARBillAdjBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PARBillAdjBeanImpl
- All Implemented Interfaces:
PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
Controller class for the
PARBillAdjustPanel
component.
The following opcodes are used by this controller:
PortalOp.AR_GET_BAL_SUMMARY
PortalOp.AR_GET_ACCT_BILLS
PortalOp.AR_BILL_ADJUSTMENT
- 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 TypeMethodDescriptionadjustBill
(PModelHandle mHandle, BigDecimal amount, Date transDate, String notes, String prog_name, Integer Reasoncode, Integer domainType, Integer taxInfo, boolean bPerAdjustment, BigDecimal percentage) This method will form the Input Flist and call PortalOp.AR_BILL_ADJUSTMENT opcode for performing bill adjustment.getBills
(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mhBillInfo, PARBillSearchData sData) Retrieve a list of open bills based on given bill unit CallPortalOp.AR_GET_ACCT_BAL_SUMMARY
andPortalOp.AR_GET_ACCT_BILLS
Since controller separation will be implemented, UI Dialog classes will be calling this method to get the model handle.getReasonCodes
(int reasonType, Locale locale) return reason code for given reason typeint
Returns the selected bill index.void
reset()
Reset the controller to clear the cached datavoid
setModelHandle
(PModelHandle mHandle) Since controller separation will be implemented, UI Dialog classes will be calling this method to set the model handle.void
Theupdate
method is called by various internal methods when the data has changed enough to require changing the client display.Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild
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
-
PARBillAdjBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
update
Description copied from class:PControllerImpl
Theupdate
method is called by various internal methods when the data has changed enough to require changing the client display. Must be overridden by a specific controller subclass.- Overrides:
update
in classPIAComponentCollectionBean
- Parameters:
reason
-incoming
-- Throws:
RemoteException
-
getSelectedBillIndex
public int getSelectedBillIndex()Returns the selected bill index. -
getBills
public PModelHandle getBills(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mhBillInfo, PARBillSearchData sData) throws RemoteException Retrieve a list of open bills based on given bill unit CallPortalOp.AR_GET_ACCT_BAL_SUMMARY
andPortalOp.AR_GET_ACCT_BILLS
- Parameters:
nIncludeChildren
- intmhAccount
- PModelHandlemhBillInfo
- PModelHandlesData
- PARBillSearchData- Returns:
- PModelHandle
- Throws:
RemoteException
-
adjustBill
public String adjustBill(PModelHandle mHandle, BigDecimal amount, Date transDate, String notes, String prog_name, Integer Reasoncode, Integer domainType, Integer taxInfo, boolean bPerAdjustment, BigDecimal percentage) throws RemoteException This method will form the Input Flist and call PortalOp.AR_BILL_ADJUSTMENT opcode for performing bill adjustment.- Parameters:
mHandle
- PModelHandleamount
- BigDecimaltransDate
- Datenotes
- Stringprog_name
- StringReasoncode
- IntegerdomainType
- IntegertaxInfo
- Integer- Returns:
- String
- Throws:
RemoteException
-
getReasonCodes
return reason code for given reason type- Throws:
RemoteException
-
setModelHandle
Since controller separation will be implemented, UI Dialog classes will be calling this method to set the model handle.- Parameters:
mHandle
- PModelHandle
-
getModelHandle
Since controller separation will be implemented, UI Dialog classes will be calling this method to get the model handle.- Returns:
- PModelHandle
-
reset
Reset the controller to clear the cached data- Throws:
RemoteException
-