public interface StateSearchSession extends StateQuerySession
This session provides methods for searching among State
objects. The search query is constructed using the StateQuery.
getStatesByQuery()
is the basic search method and
returns a list of States.
A more advanced search may be
performed with getStatesBySearch().
It accepts an
StateSearch
in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getStatesBySearch()
returns an StateSearchResults
that can be used to access the resulting StateList
or be
used to perform a search within the result set through StateList.
This session defines views that offer differing behaviors for searching.
States may have a query record indicated by their respective record
types. The query record is accessed via the StateQuery.
Modifier and Type | Method and Description |
---|---|
StateQuery |
getStateQueryFromInspector(StateQueryInspector stateQueryInspector)
Gets a state query from an inspector.
|
StateSearchResults |
getStatesBySearch(StateQuery stateQuery,
StateSearch stateSearch)
Gets the search results matching the given search query using the
given search.
|
StateSearch |
getStateSearch()
Gets a state search.
|
StateSearchOrder |
getStateSearchOrder()
Gets a state search order.
|
canSearchStates, getProcess, getProcessId, getStateQuery, getStatesByQuery, useFederatedProcessView, useIsolatedProcessView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
StateSearch getStateSearch()
mandatory
- This method must be implemented. StateSearchOrder getStateSearchOrder()
StateSearchOrder
is
supplied to a StateSearch
to specify the ordering of
results.mandatory
- This method must be implemented. StateSearchResults getStatesBySearch(StateQuery stateQuery, StateSearch stateSearch) throws OperationFailedException, PermissionDeniedException
stateQuery
- the state querystateSearch
- the state searchNullArgumentException
- stateQuery
or
stateSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- stateQuery
or
stateSearch
is not of this servicemandatory
- This method must be implemented. StateQuery getStateQueryFromInspector(StateQueryInspector stateQueryInspector)
StateSearchResults.
stateQueryInspector
- a state inspectorNullArgumentException
- stateQueryInspector
is null
UnsupportedException
- stateQueryInspector
is not of this servicemandatory
- This method must be implemented.