public interface PathSearchSession extends PathQuerySession
This session provides methods for searching among Path
objects. The search query is constructed using the PathQuery.
getPathsByQuery()
is the basic search method and
returns a list of Paths.
A more advanced search may be
performed with getPathsBySearch().
It accepts a
PathSearch
in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getPathsBySearch()
returns a PathSearchResults
that
can be used to access the resulting PathList
or be used to
perform a search within the result set through PathSearch.
This session defines views that offer differing behaviors for searching.
Paths may have a query record indicated by their respective record
types. The query record is accessed via the PathQuery.
Modifier and Type | Method and Description |
---|---|
PathQuery |
getPathQueryFromInspector(PathQueryInspector pathQueryInspector)
Gets a path query from an inspector.
|
PathSearchResults |
getPathsBySearch(PathQuery pathQuery,
PathSearch pathSearch)
Gets the search results matching the given search query using the
given search.
|
PathSearch |
getPathSearch()
Gets a path search.
|
PathSearchOrder |
getPathSearchOrder()
Gets a path search order.
|
canSearchPaths, getGraph, getGraphId, getPathQuery, getPathsByQuery, useFederatedGraphView, useIsolatedGraphView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
PathSearch getPathSearch()
mandatory
- This method must be implemented. PathSearchOrder getPathSearchOrder()
PathSearchOrder
is
supplied to a PathSearch
to specify the ordering of
results.mandatory
- This method must be implemented. PathSearchResults getPathsBySearch(PathQuery pathQuery, PathSearch pathSearch) throws OperationFailedException, PermissionDeniedException
pathQuery
- the path querypathSearch
- the path searchNullArgumentException
- pathQuery
or
pathSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- pathQuery
or
pathSearch
is not of this servicemandatory
- This method must be implemented. PathQuery getPathQueryFromInspector(PathQueryInspector pathQueryInspector)
PathSearchResults.
pathQueryInspector
- a path query inspectorNullArgumentException
- pathQueryInspector
is null
UnsupportedException
- pathQueryInspector
is not of this servicemandatory
- This method must be implemented.