public interface ResultsDisplay extends SearchInfoListener
Modifier and Type | Field and Description |
---|---|
static int |
EVENT_TYPE
Constant used to specifiy the object is an event type.
|
static int |
OBJECT_TYPE
Constant used to specifiy a generic object.
|
Modifier and Type | Method and Description |
---|---|
void |
clearContents()
Clears the display of it's contents.
|
void |
closeContext()
Closes lingering open portal context
|
void |
displayDetails(int type)
Displays the detail information of the selected object.
|
Hashtable |
getMarkedEvents()
Returns the list of marked events
|
HistoryItem[] |
getSelectedItems()
Returns an array of history items that contain poid and account
information about the selected items in the display.
|
void |
initSearchResults()
Used to initialize the controller with the neccessary strings for
retrieving search results.
|
int |
itemCount()
Returns the number of items displayed.
|
void |
markAllItems()
Mark all the items in the display.
|
void |
markItem()
Mark the currently selected item.
|
void |
selectFirstItem(int i)
Select/highlight the first item in the list of results.
|
void |
setMaskFields(String[] flds)
Sets the fields that need to be masked, i.e.
|
void |
setResultData(ResultData[] data,
int sortIndex,
boolean b)
Sets the information used for displaying the results.
|
void |
showAllItems()
Displays all the items, marked and unmarked.
|
boolean |
showMarkedItems()
Display the list of marked items
|
void |
substituteData(Hashtable data)
Substitute the given data when viewing object details.
|
void |
unmarkAllItems()
Unmark all the items.
|
void |
unmarkItem()
Unmark the currently selected item.
|
getRemoteListener, progress, releaseRemoteListener, searchStarted
static final int EVENT_TYPE
static final int OBJECT_TYPE
void clearContents()
void markItem()
void unmarkItem()
void markAllItems()
void unmarkAllItems()
void initSearchResults()
void selectFirstItem(int i)
i
- the type of action that should be performed on the resultsboolean showMarkedItems()
void showAllItems()
void setMaskFields(String[] flds)
flds
- the fields to be maskedvoid substituteData(Hashtable data)
data
- the data to substituteint itemCount()
HistoryItem[] getSelectedItems()
Hashtable getMarkedEvents()
void setResultData(ResultData[] data, int sortIndex, boolean b)
data
- the data defining the results to displayindex
- the index used for sortingvoid displayDetails(int type)
type
- type of object to display, either EVENT_TYPE or OBJECT_TYPEvoid closeContext()
Copyright © 2003, 2023, Oracle and/or its affiliates.