Package com.portal.app.ccare.comp
Class PARRefundBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.app.ccare.comp.PARRefundBeanImpl
- All Implemented Interfaces:
PARRefundBean,PControllerBean,Serializable,Remote,Unreferenced
- Version:
- %version: 7 % %date_modified: Wed Nov 28 13:22:15 2001 %
- Author:
- simonw
- 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 TypeMethodDescriptiongetRefundAmount(String program) getSelectionDataFor(String dataItem, int index) Given the name of a display data item and an optional index, returns the information needed for a Selection event.voidsetModelHandleAndLevel(PModelHandle mh, String level) Sets model handle to the controller, and sets the refund level; shall be the first function to call before all other three functions.voidTheupdatemethod 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.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
-
Constructor Details
-
PARRefundBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
getRefundAmount
- Specified by:
getRefundAmountin interfacePARRefundBean- Throws:
RemoteException
-
refund
- Specified by:
refundin interfacePARRefundBean- Throws:
RemoteException
-
update
Description copied from class:PControllerImplTheupdatemethod 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.- Specified by:
updatein classPControllerImpl- Parameters:
reason- an integer constant that indicates the reason for the update (UPDATE_NEW_MODEL,UPDATE_PROPERTY,UPDATE_MODEL_CHANGE, orUPDATE_CLIENT)data- the data associated withupdate- Throws:
RemoteException- thrown for errors
-
getSelectionDataFor
Description copied from interface:PControllerBeanGiven the name of a display data item and an optional index, returns the information needed for a Selection event. The information returned is usually model data.- Specified by:
getSelectionDataForin interfacePControllerBean- Parameters:
dataItem- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEvent.index- an optional index into an array data item- Returns:
- Usually, a model handle or array of model handles.
- Throws:
RemoteException- thrown for errors
-
setModelHandleAndLevel
Sets model handle to the controller, and sets the refund level; shall be the first function to call before all other three functions.- Specified by:
setModelHandleAndLevelin interfacePARRefundBean- Parameters:
mh- /account or /bill object to refundlevel- refund level, "account" or "bill"- Throws:
RemoteException- if an error occurs
-
getAcctOrBillNo
- Specified by:
getAcctOrBillNoin interfacePARRefundBean- Throws:
RemoteException
-
getBillInfoPoids
-