Package com.portal.app.ccare.comp
Class PAREventDisputesPageBeanImpl
java.lang.Object
com.portal.app.ccare.comp.PAbstractController
com.portal.app.ccare.comp.PAREventDisputesPageBeanImpl
Controller class handling dispute and settlement
The following opcodes are used by this controller:
PortalOp.AR_GET_DISPUTES
PortalOp.AR_GET_ITEM_DETAIL
PortalOp.BILL_ITEM_SETTLEMENT
-
Field Summary
Fields inherited from class com.portal.app.ccare.comp.PAbstractController
mModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadjustEvent
(Object[] unDisputedEvents, ArrayList arrList) PCM_OP_AR_EVENT_ADJUSTMENT opcode will be called from this methodcheckForSettlement
(Object[] poidsArr) checks if there is any settlement has happened for the disputed eventsdisputeEvent
(Object[] unDisputedEvents, ArrayList arrList) CallPortalOp.AR_EVENT_DISPUTE
dispute given bill item.protected PCachedContext
returns the disputed and non disputed event poidsreturns the disputed event poidssearch templet to find if event(s) is(are) in dispute or not.boolean
returns true if the icon has to be showngetDisputeTime
(PModelHandle mHandle) gets the dispute time from the model handle, that is it fetches for FldEffectiveT from transferout arraygetEventPoids
(PModelHandle[] modelHanArr) returns event poid from the model handleThis method is for backward compatibility, and usefull while changing the existing Controllers.getReasonCodes
(int reasonType, Locale locale) returns the reaon code for a given reason type and localereturns hashtable with resource ID's has values and resources descriptions as keysgetTableData
(PAccountInfo actInfo, Object[] unDisputedEvents) Exceutes AR_RESOURCE_AGGREGATION opcode and returns the aggregated amount for the given event poidsgetUnDisputedEventsModel
(ArrayList list, PModelHandle model) creates a model handle out of the event poidsboolean
isILDExists
(PModelHandle mhItem) this methods returns true incase there is any open item dispute exists for the item poidvoid
setDisputeIconFlag
(boolean flag) sets true if the icon has to be shownvoid
This method is for backward compatibility, and usefull while changing the existing Controllers.settleEventDisputes
(ArrayList arrList) CallPortalOp.BILL_EVENT_SETTLEMENT
settle given disputed bill item.Methods inherited from class com.portal.app.ccare.comp.PAbstractController
createClientException, getClientLocale, getModel, setModel
-
Constructor Details
-
PAREventDisputesPageBeanImpl
public PAREventDisputesPageBeanImpl()
-
-
Method Details
-
setModelHandle
Description copied from class:PAbstractController
This method is for backward compatibility, and usefull while changing the existing Controllers. In the exisitng controller, setModelHandle method is used to set the PModelHadndle in the BAS base classes. This method can be override in the new controllers or exisitng controller- Overrides:
setModelHandle
in classPAbstractController
- Parameters:
pmh
-
-
getModelHandle
Description copied from class:PAbstractController
This method is for backward compatibility, and usefull while changing the existing Controllers. In the exisitng controller, getModelHandle method is used to get the PModelHadndle in the BAS base classes. This method can be override in the new controllers or exisitng controller- Overrides:
getModelHandle
in classPAbstractController
-
getDisputeTime
gets the dispute time from the model handle, that is it fetches for FldEffectiveT from transferout array- Parameters:
mHandle
- is the model handle from where the effective date will be fetched from.- Returns:
- Date will be the dispute date
-
getEventPoidsFromModelHandle
returns event poid from the model handle- Parameters:
mh
- PModelHandle- Returns:
- ArrayList
- Throws:
Exception
-
settleEventDisputes
CallPortalOp.BILL_EVENT_SETTLEMENT
settle given disputed bill item.- Parameters:
aList
- An ArrayList containing these items:
- bill item model handle
- PAccountInfo object
- program name
- backdating date (or null)
- tax flag
- comments
- resource table
- percent flag(true/false)
- reason code
- domain type
- Returns:
- the poid of the settlement item
- Throws:
Exception
-
isILDExists
this methods returns true incase there is any open item dispute exists for the item poid- Parameters:
mhItem
- PModelHandle will contain item poid.- Returns:
- boolean true will be returned if Itel Level Dispute Exsists.
- Throws:
Exception
-
getDisputeIconFlag
public boolean getDisputeIconFlag()returns true if the icon has to be shown- Returns:
- boolean
-
setDisputeIconFlag
public void setDisputeIconFlag(boolean flag) sets true if the icon has to be shown- Parameters:
flag
- boolean
-
getDisputeEventList
returns the disputed event poids- Returns:
- ArrayList
-
getTableData
Exceutes AR_RESOURCE_AGGREGATION opcode and returns the aggregated amount for the given event poids- Parameters:
actInfo
- PAccountInfounDisputedEvents
- Object[], contains the list of event poids- Returns:
- Vector
-
getUnDisputedEventsModel
creates a model handle out of the event poids- Parameters:
list
- ArrayList will contain the list of event poids- Returns:
- PModelHandle
-
getEventPoids
-
getDisputedUndisputedEvents
returns the disputed and non disputed event poids- Parameters:
lst
- ArrayList will contain the list of event poids to which will be the input for search templet- Returns:
- Vector
- Throws:
Exception
-
disputeEvent
CallPortalOp.AR_EVENT_DISPUTE
dispute given bill item. Return a Comment string whether the dispute went through successfully or not.- Parameters:
unDisputedEvents
- is the array of events to which the dispute will be openedarrList
- An ArrayList containing the data for to open the the dispute- Returns:
- Comment for disputed item(s)
- Throws:
Exception
-
adjustEvent
PCM_OP_AR_EVENT_ADJUSTMENT opcode will be called from this method- Parameters:
unDisputedEvents
- Object[]arrList
- ArrayList- Returns:
- String
- Throws:
Exception
-
getContext
- Throws:
Exception
-
getReasonCodes
returns the reaon code for a given reason type and locale- Parameters:
reasonType
- intlocale
- Locale- Returns:
- ReasonCodeData[]
- Throws:
Exception
-
getDisputeEventPoids
search templet to find if event(s) is(are) in dispute or not.- Parameters:
lst
- ArrayList- Returns:
- Set
-
checkForSettlement
checks if there is any settlement has happened for the disputed events- Parameters:
poidsArr
- Object[]- Returns:
- Set
-
getResourceDescriptionIdTable
returns hashtable with resource ID's has values and resources descriptions as keys- Parameters:
mh
- PModelHandle- Returns:
- Hashtable
-