public class PAREventDisputesPageBeanImpl extends PAbstractController
PortalOp.AR_GET_DISPUTES
PortalOp.AR_GET_ITEM_DETAIL
PortalOp.BILL_ITEM_SETTLEMENT
mModel
Constructor and Description |
---|
PAREventDisputesPageBeanImpl() |
Modifier and Type | Method and Description |
---|---|
String |
adjustEvent(Object[] unDisputedEvents,
ArrayList arrList)
PCM_OP_AR_EVENT_ADJUSTMENT opcode will be called from this method
|
Set |
checkForSettlement(Object[] poidsArr)
checks if there is any settlement has happened for the disputed events
|
String |
disputeEvent(Object[] unDisputedEvents,
ArrayList arrList)
Call
PortalOp.AR_EVENT_DISPUTE dispute given
bill item. |
protected PCachedContext |
getContext() |
Vector |
getDisputedUndisputedEvents(ArrayList lst)
returns the disputed and non disputed event poids
|
ArrayList |
getDisputeEventList()
returns the disputed event poids
|
Set |
getDisputeEventPoids(ArrayList lst)
search templet to find if event(s) is(are) in dispute or not.
|
boolean |
getDisputeIconFlag()
returns true if the icon has to be shown
|
Date |
getDisputeTime(PModelHandle mHandle)
gets the dispute time from the model handle, that is it fetches for FldEffectiveT from transferout array
|
ArrayList |
getEventPoids(PModelHandle[] modelHanArr) |
ArrayList |
getEventPoidsFromModelHandle(PModelHandle mh)
returns event poid from the model handle
|
PModelHandle |
getModelHandle()
This method is for backward compatibility, and usefull while changing the existing Controllers.
|
ReasonCodeData[] |
getReasonCodes(int reasonType,
Locale locale)
returns the reaon code for a given reason type and locale
|
Hashtable |
getResourceDescriptionIdTable(PModelHandle mh)
returns hashtable with resource ID's has values and resources descriptions as keys
|
Vector |
getTableData(PAccountInfo actInfo,
Object[] unDisputedEvents)
Exceutes AR_RESOURCE_AGGREGATION opcode and returns the aggregated amount for the given event poids
|
PModelHandle |
getUnDisputedEventsModel(ArrayList list,
PModelHandle model)
creates a model handle out of the event poids
|
boolean |
isILDExists(PModelHandle mhItem)
this methods returns true incase there is any open item dispute exists for the item poid
|
void |
setDisputeIconFlag(boolean flag)
sets true if the icon has to be shown
|
void |
setModelHandle(PModelHandle pmh)
This method is for backward compatibility, and usefull while changing the existing Controllers.
|
PModelHandle |
settleEventDisputes(ArrayList arrList)
Call
PortalOp.BILL_EVENT_SETTLEMENT settle given
disputed bill item. |
createClientException, getClientLocale, getModel, setModel
public void setModelHandle(PModelHandle pmh)
PAbstractController
setModelHandle
in class PAbstractController
pmh
- public PModelHandle getModelHandle()
PAbstractController
getModelHandle
in class PAbstractController
public Date getDisputeTime(PModelHandle mHandle)
mHandle
- is the model handle from where the effective date will be fetched from.public ArrayList getEventPoidsFromModelHandle(PModelHandle mh) throws Exception
mh
- PModelHandleException
public PModelHandle settleEventDisputes(ArrayList arrList) throws Exception
PortalOp.BILL_EVENT_SETTLEMENT
settle given
disputed bill item.aList
- An ArrayList containing these items:Exception
public boolean isILDExists(PModelHandle mhItem) throws Exception
mhItem
- PModelHandle will contain item poid.Exception
public boolean getDisputeIconFlag()
public void setDisputeIconFlag(boolean flag)
flag
- booleanpublic ArrayList getDisputeEventList()
public Vector getTableData(PAccountInfo actInfo, Object[] unDisputedEvents)
actInfo
- PAccountInfounDisputedEvents
- Object[], contains the list of event poidspublic PModelHandle getUnDisputedEventsModel(ArrayList list, PModelHandle model)
list
- ArrayList will contain the list of event poidspublic ArrayList getEventPoids(PModelHandle[] modelHanArr)
public Vector getDisputedUndisputedEvents(ArrayList lst) throws Exception
lst
- ArrayList will contain the list of event poids to which will be the input for search templetException
public String disputeEvent(Object[] unDisputedEvents, ArrayList arrList) throws Exception
PortalOp.AR_EVENT_DISPUTE
dispute given
bill item.
Return a Comment string whether the dispute went through successfully or not.unDisputedEvents
- is the array of events to which the dispute will be openedarrList
- An ArrayList containing the data for to open the the disputeException
public String adjustEvent(Object[] unDisputedEvents, ArrayList arrList) throws Exception
unDisputedEvents
- Object[]arrList
- ArrayListException
protected PCachedContext getContext() throws Exception
Exception
public ReasonCodeData[] getReasonCodes(int reasonType, Locale locale) throws Exception
reasonType
- intlocale
- LocaleException
public Set getDisputeEventPoids(ArrayList lst)
lst
- ArrayListpublic Set checkForSettlement(Object[] poidsArr)
poidsArr
- Object[]public Hashtable getResourceDescriptionIdTable(PModelHandle mh)
mh
- PModelHandleCopyright © 2003, 2023, Oracle and/or its affiliates.