public class PARBillAdjBeanImpl extends PIAComponentCollectionBean
PARBillAdjustPanel component.
The following opcodes are used by this controller:
PortalOp.AR_GET_BAL_SUMMARY
PortalOp.AR_GET_ACCT_BILLS
PortalOp.AR_BILL_ADJUSTMENT
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PARBillAdjBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
adjustBill(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.
|
PModelHandle |
getBills(int nIncludeChildren,
PModelHandle mhAccount,
PModelHandle mhBillInfo,
PARBillSearchData sData)
Retrieve a list of open bills based on given bill unit
Call
PortalOp.AR_GET_ACCT_BAL_SUMMARY and PortalOp.AR_GET_ACCT_BILLS |
PModelHandle |
getModelHandle()
Since controller separation will be implemented, UI Dialog classes will be calling this method
to get the model handle.
|
ReasonCodeData[] |
getReasonCodes(int reasonType,
Locale locale)
return reason code for given reason type
|
int |
getSelectedBillIndex()
Returns the selected bill index.
|
void |
reset()
Reset the controller to clear the cached data
|
void |
setModelHandle(PModelHandle mHandle)
Since controller separation will be implemented, UI Dialog classes will be calling this method
to set the model handle.
|
void |
update(int reason,
Object incoming)
The
update method is called by various internal methods when
the data has changed enough to require changing the client display. |
addChild, getCollectedData, getSelectionDataFor, removeChildaddRemoteListener, 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, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PARBillAdjBeanImpl()
throws RemoteException
RemoteExceptionpublic void update(int reason,
Object incoming)
throws RemoteException
PControllerImplupdate 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 PIAComponentCollectionBeanreason - incoming - RemoteExceptionpublic int getSelectedBillIndex()
public PModelHandle getBills(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mhBillInfo, PARBillSearchData sData) throws RemoteException
PortalOp.AR_GET_ACCT_BAL_SUMMARY and PortalOp.AR_GET_ACCT_BILLSnIncludeChildren - intmhAccount - PModelHandlemhBillInfo - PModelHandlesData - PARBillSearchDataRemoteExceptionpublic 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
mHandle - PModelHandleamount - BigDecimaltransDate - Datenotes - Stringprog_name - StringReasoncode - IntegerdomainType - IntegertaxInfo - IntegerRemoteExceptionpublic ReasonCodeData[] getReasonCodes(int reasonType, Locale locale) throws RemoteException
RemoteExceptionpublic void setModelHandle(PModelHandle mHandle)
mHandle - PModelHandlepublic PModelHandle getModelHandle()
public void reset()
throws RemoteException
RemoteExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.