public interface RouteSearchSession extends RouteQuerySession
This session provides methods for searching among Route
objects. The search query is constructed using the RouteQuery.
getRoutesByQuery()
is the basic search method and
returns a list of Routes.
A more advanced search may be
performed with getRoutesBySearch().
It accepts a
RouteSearch
in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getRoutesBySearch()
returns a RouteSearchResults
that can be used to access the resulting RouteList
or be
used to perform a search within the result set through RouteSearch.
This session defines views that offer differing behaviors for searching.
Routes may have a query record indicated by their respective record
types. The query record is accessed via the RouteQuery.
Modifier and Type | Method and Description |
---|---|
RouteQuery |
getRouteQueryFromInspector(RouteQueryInspector routeQueryInspector)
Gets a route query from an inspector.
|
RouteSearchResults |
getRoutesBySearch(RouteQuery routeQuery,
RouteSearch routeSearch)
Gets the search results matching the given search query using the
given search.
|
RouteSearch |
getRouteSearch()
Gets a route search.
|
RouteSearchOrder |
getRouteSearchOrder()
Gets a route search order.
|
canSearchRoutes, getMap, getMapId, getRouteQuery, getRoutesByQuery, useFederatedMapView, useIsolatedMapView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
RouteSearch getRouteSearch()
mandatory
- This method must be implemented. RouteSearchOrder getRouteSearchOrder()
RouteSearchOrder
is
supplied to a RouteSearch
to specify the ordering of
results.mandatory
- This method must be implemented. RouteSearchResults getRoutesBySearch(RouteQuery routeQuery, RouteSearch routeSearch) throws OperationFailedException, PermissionDeniedException
routeQuery
- the route queryrouteSearch
- the route searchNullArgumentException
- routeQuery
or
routeSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- routeQuery
or
routeSearch
is not of this servicemandatory
- This method must be implemented. RouteQuery getRouteQueryFromInspector(RouteQueryInspector routeQueryInspector)
RouteSearchResults.
routeQueryInspector
- a route query inspectorNullArgumentException
- routeQueryInspector
is null
UnsupportedException
- routeQueryInspector
is not of this servicemandatory
- This method must be implemented.