|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindtree.techworks.insight.eventsearch.SearchResults
public class SearchResults
This object holds the results of an event search operation.
EventSearchProvider,
Serialized Form| Constructor Summary | |
|---|---|
SearchResults(Controller controller,
SearchCriteria searchCriteria,
EventDetailsPresentation eventDetailsPresentation)
Public constructor. |
|
| Method Summary | |
|---|---|
void |
addMatcingLogEvent(MatchingLogEvent matchingLogEvent)
Add a Matching log event to the collection |
int |
getCountOfMatchingLogEvents()
Returns the number of matching log events. |
int |
getCurrentMatchingLogEventIndex()
The current matching index displayed |
java.util.List |
getMatchedEventsForPage(int pageNumber)
Returns a list of all matching events for a page. |
MatchingLogEvent |
getNextMatchingLogEvent()
Retuns the next matching log event |
MatchingLogEvent |
getPrevMatchingLogEvent()
Returns the previous matching log event |
SearchCriteria |
getSearchCriteria()
Get the search criteria which created this search result |
void |
navigate(java.lang.String direction)
Moves the focus to the matching search event |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchResults(Controller controller,
SearchCriteria searchCriteria,
EventDetailsPresentation eventDetailsPresentation)
controller - The controller instancesearchCriteria - The search criteria which created this search
resulteventDetailsPresentation - The event details presentation used for
highlighting| Method Detail |
|---|
public SearchCriteria getSearchCriteria()
SearchCriteria instance for this class.public int getCurrentMatchingLogEventIndex()
public int getCountOfMatchingLogEvents()
public void addMatcingLogEvent(MatchingLogEvent matchingLogEvent)
matchingLogEvent - MatchingLogEvent instance.public MatchingLogEvent getNextMatchingLogEvent()
public MatchingLogEvent getPrevMatchingLogEvent()
public java.util.List getMatchedEventsForPage(int pageNumber)
pageNumber - Page number for which events are required.
List of all matching events for a page.public void navigate(java.lang.String direction)
direction - The direction to move to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||