public class PAREventSearchPageBeanImpl extends PControllerImpl
Modifier and Type | Field and Description |
---|---|
static String |
MULTI |
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PAREventSearchPageBeanImpl() |
Modifier and Type | Method and Description |
---|---|
Poid |
getAccountPoid() |
Poid |
getBillinfoPoid() |
Poid |
getBillPoid() |
SimpleDateFormat |
getDateFormat(Poid eventPoid)
Set Date Format with Timezone of the event
|
PModelHandle |
getDetailsModelHandle() |
PModelHandle |
getDialogModelHandle() |
Date |
getEndDate() |
FList |
getEventDetails()
This method returns the result of startEventDetailsSearch as an FList
|
ArrayList |
getEventSearchResults()
The results of Event search operation is returned in an ArrayList form
returns Arraylist
|
int |
getEventSearchResultsCount()
If the resutls count of Event Search Operation is greater than than the threshold value set through Preference Page.
|
Poid |
getItemPoid() |
PModelHandle |
getMultiRUMDetails(FList event)
This method returns the Multi-RUM details of the given event
|
PModelHandle |
getResultsModelHandle() |
Object |
getSelectionDataFor(String dataItem,
int index)
Given the name of a display data item and an optional index,
returns the information needed for a Selection event.
|
Poid |
getServicePoid() |
Date |
getStartDate() |
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 impact
|
void |
setDetailsModelHandle(PModelHandle pmh)
This method sets the PModelHandle for the Event details table.
|
void |
setDialogModelHandle(PModelHandle pmh)
This method sets the PModelHandle for the Event search dialog.
|
void |
setResultsModelHandle(PModelHandle pmh)
This method sets the PModelHandle for the Event search results table.
|
void |
startEventDetailsSearch(PModelHandle eventMH,
HashMap criteria)
This method searches for the Currecny & Non-Currency resource details of an Event
|
void |
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 |
update(int reason,
Object data)
The
update method is called by various internal methods when
the data has changed enough to require changing the client display. |
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
public static final String MULTI
public PAREventSearchPageBeanImpl() throws RemoteException
RemoteException
public void setDialogModelHandle(PModelHandle pmh) throws RemoteException
pmh
- RemoteException
public PModelHandle getDialogModelHandle()
public void setResultsModelHandle(PModelHandle pmh) throws RemoteException
pmh
- RemoteException
public void setDetailsModelHandle(PModelHandle pmh) throws RemoteException
pmh
- RemoteException
public void update(int reason, Object data)
PControllerImpl
update
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 PControllerImpl
reason
- an integer constant that indicates the reason for the update
(UPDATE_NEW_MODEL
, UPDATE_PROPERTY
,
UPDATE_MODEL_CHANGE
, or UPDATE_CLIENT
)data
- the data associated with update
public Object getSelectionDataFor(String dataItem, int index)
PControllerBean
dataItem
- the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent
.index
- an optional index into an array data itempublic PModelHandle getResultsModelHandle()
public PModelHandle getDetailsModelHandle()
public Poid getAccountPoid()
public Poid getBillinfoPoid()
public Poid getBillPoid()
public Poid getServicePoid()
public Poid getItemPoid()
public Date getStartDate()
public Date getEndDate()
public FList getEventDetails()
public void startEventDetailsSearch(PModelHandle eventMH, HashMap criteria) throws RemoteException
pmh
- PModelHandle for the selected Eventcriteria
- Search crieriaRemoteException
public void startEventResultsSearch(HashMap criteria, boolean inc_childs, int threshold) throws RemoteException
criteria
- the Search crieriainc_childs
- the flag indicating whether events of Chils accounts should also be searchedthreshold
- Threshold valueRemoteException
public void startEventResultsSearchForCC(HashMap criteria, boolean inc_childs, int threshold) throws RemoteException
criteria
- inc_childs
- threshold
- RemoteException
public ArrayList getEventSearchResults() throws RemoteException
RemoteException
public PModelHandle getMultiRUMDetails(FList event) throws EBufException
event
- The event FlistEBufException
public boolean isMultiRUM(PModelHandle model)
model
- The PModelHandle of the eventpublic int getEventSearchResultsCount()
public SimpleDateFormat getDateFormat(Poid eventPoid)
eventPoid
- public static TimeZone getTimeZoneFromServer(Poid eventPoid)
eventPoid
- Event id poid.Copyright © 2003, 2023, Oracle and/or its affiliates.