public interface ControllerSearchSession extends ControllerQuerySession
This session provides methods for searching among Controller
objects. The search query is constructed using the
ControlleryQuery.
getControllersByQuery()
is the basic search method and
returns a list of Controllers.
A more advanced search may
be performed with getControllersBySearch().
It accepts a
ControllerSearch
in addition to the query for the purpose
of specifying additional options affecting the entire search, such as
ordering. getControllersBySearch()
returns a
ControllerSearchResults
that can be used to access the resulting
ControllerList
or be used to perform a search within the
result set through ControllerSearch.
This session defines views that offer differing behaviors for searching.
Controllers may have a controller record indicated by their respective
record types. The controller record is accessed via the
ControllerQuery.
Modifier and Type | Method and Description |
---|---|
ControllerQuery |
getControllerQueryFromInspector(ControllerQueryInspector controllerQueryInspector)
Gets a controller query from an inspector.
|
ControllerSearchResults |
getControllersBySearch(ControllerQuery controllerQuery,
ControllerSearch controllerSearch)
Gets the search results matching the given search query using the
given search.
|
ControllerSearch |
getControllerSearch()
Gets a controller search.
|
ControllerSearchOrder |
getControllerSearchOrder()
Gets a controller search order.
|
canSearchControllers, getControllerQuery, getControllersByQuery, getSystem, getSystemId, useFederatedSystemView, useIsolatedSystemView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
ControllerSearch getControllerSearch()
mandatory
- This method must be implemented. ControllerSearchOrder getControllerSearchOrder()
ControllerSearchOrder
is supplied to a ControllerSearch
to specify
the ordering of results.mandatory
- This method must be implemented. ControllerSearchResults getControllersBySearch(ControllerQuery controllerQuery, ControllerSearch controllerSearch) throws OperationFailedException, PermissionDeniedException
controllerQuery
- the controller querycontrollerSearch
- the controller searchNullArgumentException
- controllerQuery
or controllerSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- controllerQuery
or controllerSearch
is not of this servicemandatory
- This method must be implemented. ControllerQuery getControllerQueryFromInspector(ControllerQueryInspector controllerQueryInspector)
ControllerSearchResults.
controllerQueryInspector
- a controller query inspectorNullArgumentException
- controllerQueryInspector
is null
UnsupportedException
- controllerQueryInspector
is not of this servicemandatory
- This method must be implemented.