Package com.portal.app.ccare.comp
Class PAREventSearchPageBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.app.ccare.comp.PAREventSearchPageBeanImpl
- All Implemented Interfaces:
PControllerBean
,Serializable
,Remote
,Unreferenced
Controller class for obtaining Event related information
Opcodes used
PortalOp.BILL_POL_EVENT_SEARCH
PortalOp.AR_RESOURCE_AGGREGATION
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptiongetDateFormat
(Poid eventPoid) Set Date Format with Timezone of the eventThis method returns the result of startEventDetailsSearch as an FListThe results of Event search operation is returned in an ArrayList form returns Arraylistint
If the resutls count of Event Search Operation is greater than than the threshold value set through Preference Page.getMultiRUMDetails
(FList event) This method returns the Multi-RUM details of the given eventgetSelectionDataFor
(String dataItem, int index) Given the name of a display data item and an optional index, returns the information needed for a Selection event.static TimeZone
getTimeZoneFromServer
(Poid eventPoid) Get the timezone configured in the server, if there is no timezone listed in server than get the default timezone configured in the infranet.properties or get the local system timezone.boolean
isMultiRUM
(PModelHandle model) This method returns true if the given event has Multi-RUM impactvoid
This method sets the PModelHandle for the Event details table.void
This method sets the PModelHandle for the Event search dialog.void
This method sets the PModelHandle for the Event search results table.void
startEventDetailsSearch
(PModelHandle eventMH, HashMap criteria) This method searches for the Currecny invalid input: '&' Non-Currency resource details of an Eventvoid
startEventResultsSearch
(HashMap criteria, boolean inc_childs, int threshold) This method performs Event search.void
startEventResultsSearchForCC
(HashMap criteria, boolean inc_childs, int threshold) BILL_GET_ITEM_EVENT_CHARGE_DISCOUNT is called to fetch the events based on the search criteria.void
Theupdate
method is called by various internal methods when the data has changed enough to require changing the client display.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
-
Field Details
-
MULTI
- See Also:
-
-
Constructor Details
-
PAREventSearchPageBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
setDialogModelHandle
This method sets the PModelHandle for the Event search dialog.- Parameters:
pmh
-- Throws:
RemoteException
-
getDialogModelHandle
-
setResultsModelHandle
This method sets the PModelHandle for the Event search results table.- Parameters:
pmh
-- Throws:
RemoteException
-
setDetailsModelHandle
This method sets the PModelHandle for the Event details table. (popup dialog)- Parameters:
pmh
-- Throws:
RemoteException
-
update
Description copied from class:PControllerImpl
Theupdate
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.- Specified by:
update
in classPControllerImpl
- Parameters:
reason
- an integer constant that indicates the reason for the update (UPDATE_NEW_MODEL
,UPDATE_PROPERTY
,UPDATE_MODEL_CHANGE
, orUPDATE_CLIENT
)data
- the data associated withupdate
-
getSelectionDataFor
Description copied from interface:PControllerBean
Given the name of a display data item and an optional index, returns the information needed for a Selection event. The information returned is usually model data.- Parameters:
dataItem
- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEvent
.index
- an optional index into an array data item- Returns:
- Usually, a model handle or array of model handles.
-
getResultsModelHandle
-
getDetailsModelHandle
-
getAccountPoid
-
getBillinfoPoid
-
getBillPoid
-
getServicePoid
-
getItemPoid
-
getStartDate
-
getEndDate
-
getEventDetails
This method returns the result of startEventDetailsSearch as an FList- Returns:
- FList
-
startEventDetailsSearch
This method searches for the Currecny invalid input: '&' Non-Currency resource details of an Event- Parameters:
criteria
- Search crieriapmh
- PModelHandle for the selected Event- Throws:
RemoteException
-
startEventResultsSearch
public void startEventResultsSearch(HashMap criteria, boolean inc_childs, int threshold) throws RemoteException This method performs Event search. this will filter out all non currency balance impacts of an event.- Parameters:
criteria
- the Search crieriainc_childs
- the flag indicating whether events of Chils accounts should also be searchedthreshold
- Threshold value- Throws:
RemoteException
-
startEventResultsSearchForCC
public void startEventResultsSearchForCC(HashMap criteria, boolean inc_childs, int threshold) throws RemoteException BILL_GET_ITEM_EVENT_CHARGE_DISCOUNT is called to fetch the events based on the search criteria.- Parameters:
criteria
-inc_childs
-threshold
-- Throws:
RemoteException
-
getEventSearchResults
The results of Event search operation is returned in an ArrayList form returns Arraylist- Throws:
RemoteException
-
getMultiRUMDetails
This method returns the Multi-RUM details of the given event- Parameters:
event
- The event Flist- Returns:
- PModelHandle
- Throws:
EBufException
-
isMultiRUM
This method returns true if the given event has Multi-RUM impact- Parameters:
model
- The PModelHandle of the event- Returns:
- boolean
-
getEventSearchResultsCount
public int getEventSearchResultsCount()If the resutls count of Event Search Operation is greater than than the threshold value set through Preference Page. then this method returns the actual results count. Otherwise it returns zero. -
getDateFormat
Set Date Format with Timezone of the event- Parameters:
eventPoid
-- Returns:
- SimpleDateFormat
-
getTimeZoneFromServer
Get the timezone configured in the server, if there is no timezone listed in server than get the default timezone configured in the infranet.properties or get the local system timezone.- Parameters:
eventPoid
- Event id poid.- Returns:
- timezone of either one : 1. timezone_id of server or 2. rated_timezone of server or 3. timezone mentioned in infranet.properties or 4. local system timezone
-