public interface ProcedureSearchSession extends ProcedureQuerySession
This session provides methods for searching Procedure
objects. The search query is constructed using the ProcedureQuery.
The procedure record Type
also specifies the record
for the procedure query.
getProceduresByQuery()
is the basic search method and
returns a list of Cookbook
elements. A more advanced search
may be performed with getProceduresBySearch().
It accepts a
ProcedureSearch
in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getProceduresBySearch()
returns a
ProcedureSearchResults
that can be used to access the resulting
ProcedureList
or be used to perform a search within the
result set through ProcedureSearch.
Procedures may have a query record indicated by their respective
record types. The query record is accessed via the ProcedureQuery.
The returns in this session may not be cast directly to these
interfaces.
Modifier and Type | Method and Description |
---|---|
ProcedureQuery |
getProcedureQueryFromInspector(ProcedureQueryInspector procedureQueryInspector)
Gets a procedure query from an inspector.
|
ProcedureSearchResults |
getProceduresBySearch(ProcedureQuery procedureQuery,
ProcedureSearch procedureSearch)
Gets the search results matching the given search.
|
ProcedureSearch |
getProcedureSearch()
Gets a procedure search.
|
ProcedureSearchOrder |
getProcedureSearchOrder()
Gets a procedure search order.
|
canSearchProcedures, getCookbook, getCookbookId, getProcedureQuery, getProceduresByQuery, useFederatedCookbookView, useIsolatedCookbookView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
ProcedureSearch getProcedureSearch()
mandatory
- This method must be implemented. ProcedureSearchOrder getProcedureSearchOrder()
ProcedureSearchOrder
is supplied to a ProcedureSearch
to specify the
ordering of results.mandatory
- This method must be implemented. ProcedureSearchResults getProceduresBySearch(ProcedureQuery procedureQuery, ProcedureSearch procedureSearch) throws OperationFailedException, PermissionDeniedException
procedureQuery
- the procedure queryprocedureSearch
- the procedure searchNullArgumentException
- procedureQuery
or procedureSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- procedureQuery
or
procedureSearch
is not of this servicemandatory
- This method must be implemented. ProcedureQuery getProcedureQueryFromInspector(ProcedureQueryInspector procedureQueryInspector)
ProcedureSearchResults.
procedureQueryInspector
- a procedure query inspectorNullArgumentException
- procedureQueryInspector
is null
UnsupportedException
- procedureQueryInspector
is not of this servicemandatory
- This method must be implemented.