Package com.portal.app.ccare.comp
Class PARItemDetailsPageBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PARItemDetailsPageBeanImpl
- All Implemented Interfaces:
PARItemDetailsPageBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
public class PARItemDetailsPageBeanImpl
extends PIAComponentCollectionBean
implements PARItemDetailsPageBean
Implememtaion of the item details interface
- Author:
- jshi Opcodes used in this controller are AR_GET_ITEM_DETAIL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields 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 TypeMethodDescriptionGets the account numberGets the ARAction amounts, not including paymentsReturns the model handle for AR actionsCreates the Event modelhandle(of /event object) from the passed result model handlegetEventPoids
(PModelHandle[] modelHanArr) Collects only event poid and make a model handle out of it and returnsGets the Item amounts.Gets the Item dispute amounts.Gets the Item due amounts.Gets the item numberReturns the model handle for other itemsGets the payment amountsReturns payments and reversals model handlegetSettlementAmount
(PModelHandle mhItem) Gets the Tax amount.boolean
Check if it is an araccountperformItemDetailsSearch
(PModelHandle pmhItem) Converts the model handle to an flist and with the given index finds the item and retrieves the item poid.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
-
Field Details
-
m_dWriteoffAmount
-
m_dDisputedAmount
-
m_dTransferredAmount
-
m_dAdjustedAmount
-
m_dReceivedAmount
-
-
Constructor Details
-
PARItemDetailsPageBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
performItemDetailsSearch
Converts the model handle to an flist and with the given index finds the item and retrieves the item poid. Then performs the opcode to get the item details- Specified by:
performItemDetailsSearch
in interfacePARItemDetailsPageBean
- Parameters:
pmhItem
- : The model handle that contains the list of ItemsiItemIndex
- : Index of the cuurently selected bill in the balance tab.- Throws:
RemoteException
-
getPaymentModelHandle
Returns payments and reversals model handle- Specified by:
getPaymentModelHandle
in interfacePARItemDetailsPageBean
- Returns:
- Model handle for payments and reversals
-
getARActionModelHandle
Returns the model handle for AR actions- Specified by:
getARActionModelHandle
in interfacePARItemDetailsPageBean
- Returns:
- model handle for AR actions
-
getOtherItemModelHandle
Returns the model handle for other items- Specified by:
getOtherItemModelHandle
in interfacePARItemDetailsPageBean
- Returns:
- model handle for other items
-
getItemNumber
Gets the item number- Specified by:
getItemNumber
in interfacePARItemDetailsPageBean
- Returns:
- the bill item number of this item
-
getAccountNumber
Gets the account number- Specified by:
getAccountNumber
in interfacePARItemDetailsPageBean
- Returns:
- the account number of this item
-
isARAccount
public boolean isARAccount()Check if it is an araccount- Specified by:
isARAccount
in interfacePARItemDetailsPageBean
- Returns:
- true if it is an araccount
-
getItemAmount
Gets the Item amounts.- Specified by:
getItemAmount
in interfacePARItemDetailsPageBean
- Returns:
- the item amount
-
getItemDueAmount
Gets the Item due amounts.- Specified by:
getItemDueAmount
in interfacePARItemDetailsPageBean
- Returns:
- the item due amount
-
getItemDisputedAmount
Gets the Item dispute amounts.- Specified by:
getItemDisputedAmount
in interfacePARItemDetailsPageBean
- Returns:
- the item dispute amount
-
getARActionAmount
Gets the ARAction amounts, not including payments- Specified by:
getARActionAmount
in interfacePARItemDetailsPageBean
-
getPaymentAmount
Gets the payment amounts- Specified by:
getPaymentAmount
in interfacePARItemDetailsPageBean
- Returns:
- total payment amount applied to this item
-
getTaxAmount
Gets the Tax amount.- Specified by:
getTaxAmount
in interfacePARItemDetailsPageBean
- Returns:
- the Tax amount
-
getEventPoids
Collects only event poid and make a model handle out of it and returns- Specified by:
getEventPoids
in interfacePARItemDetailsPageBean
- Returns:
- model handale of event poids
-
getEventModelHandle
Creates the Event modelhandle(of /event object) from the passed result model handle- Parameters:
hRow
-- Returns:
- Event modelhandle(of /event object)
- Throws:
RemoteException
-
getSettlementAmount
- Specified by:
getSettlementAmount
in interfacePARItemDetailsPageBean
- Returns:
- returns the only open item dispute amount
- Throws:
Exception
-