public interface DirectionSearchSession extends DirectionQuerySession
This session provides methods for searching among Direction
objects. The search query is constructed using the
DirectionQuery.
getDirectionsByQuery()
is the basic search method and
returns a list of Directions.
A more advanced search may be
performed with getDirectionsBySearch().
It accepts a
DirectionSearch
in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getDirectionsBySearch()
returns a
DirectionSearchResults
that can be used to access the resulting
DirectionList
or be used to perform a search within the
result set through DirectionSearch.
This session defines views that offer differing behaviors for searching.
Directions may have a query record indicated by their respective
record types. The query record is accessed via the DirectionQuery.
Modifier and Type | Method and Description |
---|---|
DirectionQuery |
getDirectionQueryFromInspector(DirectionQueryInspector directionQueryInspector)
Gets a direction query.
|
DirectionSearchResults |
getDirectionsBySearch(DirectionQuery directionQuery,
DirectionSearch directionSearch)
Gets the search results matching the given search query using the
given search.
|
DirectionSearch |
getDirectionSearch()
Gets a direction search.
|
DirectionSearchOrder |
getDirectionSearchOrder()
Gets a direction search order.
|
canSearchDirections, getCookbook, getCookbookId, getDirectionQuery, getDirectionsByQuery, useFederatedCookbookView, useIsolatedCookbookView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
DirectionSearch getDirectionSearch()
mandatory
- This method must be implemented. DirectionSearchOrder getDirectionSearchOrder()
DirectionSearchOrder
is supplied to a DirectionSearch
to specify the
ordering of results.mandatory
- This method must be implemented. DirectionSearchResults getDirectionsBySearch(DirectionQuery directionQuery, DirectionSearch directionSearch) throws OperationFailedException, PermissionDeniedException
directionQuery
- the direction querydirectionSearch
- the direction searchNullArgumentException
- directionQuery
or directionSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- directionQuery
or
directionSearch
is not of this servicemandatory
- This method must be implemented. DirectionQuery getDirectionQueryFromInspector(DirectionQueryInspector directionQueryInspector)
DirectionSearchResults.
directionQueryInspector
- a direction query inspectorNullArgumentException
- directionQueryInspector
is null
UnsupportedException
- directionQueryInspector
is not of this servicemandatory
- This method must be implemented.