public class PARRefundBeanImpl extends PControllerImpl implements PARRefundBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PARRefundBeanImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getAcctOrBillNo() |
Vector |
getBillInfoPoids() |
BigDecimal |
getRefundAmount(String program) |
Object |
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.
|
String |
refund(String program) |
void |
setModelHandleAndLevel(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.
|
void |
update(int reason,
Object data)
The
update method is called by various internal methods when
the data has changed enough to require changing the client display. |
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
public PARRefundBeanImpl() throws RemoteException
RemoteException
public BigDecimal getRefundAmount(String program) throws RemoteException
getRefundAmount
in interface PARRefundBean
RemoteException
public String refund(String program) throws RemoteException
refund
in interface PARRefundBean
RemoteException
public void update(int reason, Object data) throws RemoteException
PControllerImpl
update
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.update
in class PControllerImpl
reason
- an integer constant that indicates the reason for the update
(UPDATE_NEW_MODEL
, UPDATE_PROPERTY
,
UPDATE_MODEL_CHANGE
, or UPDATE_CLIENT
)data
- the data associated with update
RemoteException
- thrown for errorspublic Object getSelectionDataFor(String dataItem, int index) throws RemoteException
PControllerBean
getSelectionDataFor
in interface PControllerBean
dataItem
- the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent
.index
- an optional index into an array data itemRemoteException
- thrown for errorspublic void setModelHandleAndLevel(PModelHandle mh, String level) throws RemoteException
setModelHandleAndLevel
in interface PARRefundBean
mh
- /account or /bill object to refundlevel
- refund level, "account" or "bill"RemoteException
- if an error occurspublic String getAcctOrBillNo() throws RemoteException
getAcctOrBillNo
in interface PARRefundBean
RemoteException
public Vector getBillInfoPoids()
Copyright © 2003, 2023, Oracle and/or its affiliates.