public interface InputSearchSession extends InputQuerySession
This session provides methods for searching among Input
objects. The search query is constructed using the InputQuery.
getInputsByQuery()
is the basic search method and
returns a list of Inputs.
A more advanced search may be
performed with getInputsBySearch().
It accepts a
InputSearch
in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getInputsBySearch()
returns a InputSearchResults
that can be used to access the resulting InputList
or be
used to perform a search within the result set through InputSearch.
This session defines views that offer differing behaviors for searching.
Inputs may have a query record indicated by their respective record
types. The query record is accessed via the InputQuery.
Modifier and Type | Method and Description |
---|---|
InputQuery |
getInputQueryFromInspector(InputQueryInspector inputQueryInspector)
Gets an input query from an inspector.
|
InputSearchResults |
getInputsBySearch(InputQuery inputQuery,
InputSearch inputSearch)
Gets the search results matching the given search query using the
given search.
|
InputSearch |
getInputSearch()
Gets an input search.
|
InputSearchOrder |
getInputSearchOrder()
Gets an input search order.
|
canSearchInputs, getInputQuery, getInputsByQuery, getSystem, getSystemId, useFederatedSystemView, useIsolatedSystemView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
InputSearch getInputSearch()
mandatory
- This method must be implemented. InputSearchOrder getInputSearchOrder()
InputSearchOrder
is
supplied to a InputSearch
to specify the ordering of
results.mandatory
- This method must be implemented. InputSearchResults getInputsBySearch(InputQuery inputQuery, InputSearch inputSearch) throws OperationFailedException, PermissionDeniedException
inputQuery
- the input queryinputSearch
- the input searchNullArgumentException
- inputQuery
or
inputSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- inputQuery
or
inputSearch
is not of this servicemandatory
- This method must be implemented. InputQuery getInputQueryFromInspector(InputQueryInspector inputQueryInspector)
InputSearchResults.
inputQueryInspector
- an input query inspectorNullArgumentException
- inputQueryInspector
is null
UnsupportedException
- inputQueryInspector
is not of this servicemandatory
- This method must be implemented.