public interface RaceSearchSession extends RaceQuerySession
This session provides methods for searching among races. The search
query is constructed using the RaceQuery.
getRacesByQuery()
is the basic search method and
returns a list of races. A more advanced search may be performed with
getRacesBySearch().
It accepts a RaceSearch
in addition to the query for the purpose of specifying additional options
affecting the entire search, such as ordering. getRacesBySearch()
returns a RaceSearchResults
that can be used to
access the resulting RaceList
or be used to perform a
search within the result set through RaceSearch.
This session defines views that offer differing behaviors for searching.
Modifier and Type | Method and Description |
---|---|
RaceQuery |
getRaceQueryFromInspector(RaceQueryInspector raceQueryInspector)
Gets a race query from an inspector.
|
RaceSearchResults |
getRacesBySearch(RaceQuery raceQuery,
RaceSearch raceSearch)
Gets the search results matching the given search query using the
given search.
|
RaceSearch |
getRaceSearch()
Gets a race search.
|
RaceSearchOrder |
getRaceSearchOrder()
Gets a race search order.
|
canSearchRaces, getPolls, getPollsId, getRaceQuery, getRacesByQuery, useFederatedPollsView, useIsolatedPollsView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
RaceSearch getRaceSearch()
mandatory
- This method must be implemented. RaceSearchOrder getRaceSearchOrder()
RaceSearchOrder
is
supplied to a RaceSearch
to specify the ordering of
results.mandatory
- This method must be implemented. RaceSearchResults getRacesBySearch(RaceQuery raceQuery, RaceSearch raceSearch) throws OperationFailedException, PermissionDeniedException
raceQuery
- the race queryraceSearch
- the race searchNullArgumentException
- raceQuery
or
raceSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- raceQuery
or
raceSearch
is not of this servicemandatory
- This method must be implemented. RaceQuery getRaceQueryFromInspector(RaceQueryInspector raceQueryInspector)
RaceSearchResults.
raceQueryInspector
- a race query inspectorNullArgumentException
- raceQueryInspector
is null
UnsupportedException
- raceQueryInspector
is not of this servicemandatory
- This method must be implemented.