public interface JobProcessorSearchSession extends JobProcessorQuerySession
This session provides methods for searching among JobProcessor
objects. The search query is constructed using the
JobProcessoryQuery.
getJobProcessorsByQuery()
is the basic search method
and returns a list of JobProcessors.
A more advanced search
may be performed with getJobProcessorsBySearch().
It
accepts a JobProcessorSearch
in addition to the query for
the purpose of specifying additional options affecting the entire search,
such as resourcing. getJobProcessorsBySearch()
returns a
JobProcessorSearchResults
that can be used to access the
resulting JobProcessorList
or be used to perform a search
within the result set through JobProcessorSearch.
This session defines views that offer differing behaviors for searching.
JobProcessors
may have a job processor query record
indicated by their respective record types. The job processor query record
is accessed via the JobProcessorQuery.
Modifier and Type | Method and Description |
---|---|
JobProcessorQuery |
getJobProcessorQueryFromInspector(JobProcessorQueryInspector jobProcessorQueryInspector)
Gets a job processor query from an inspector.
|
JobProcessorSearchResults |
getJobProcessorsBySearch(JobProcessorQuery jobProcessorQuery,
JobProcessorSearch jobProcessorSearch)
Gets the search results matching the given search query using the
given search.
|
JobProcessorSearch |
getJobProcessorSearch()
Gets a job processor search.
|
JobProcessorSearchOrder |
getJobProcessorSearchOrder()
Gets a job processor search order.
|
canSearchJobProcessors, getFoundry, getFoundryId, getJobProcessorQuery, getJobProcessorsByQuery, useFederatedFoundryView, useIsolatedFoundryView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
JobProcessorSearch getJobProcessorSearch()
mandatory
- This method must be implemented. JobProcessorSearchOrder getJobProcessorSearchOrder()
JobProcessorSearchOrder
is supplied to a JobProcessorSearch
to specify
the ordering of results.mandatory
- This method must be implemented. JobProcessorSearchResults getJobProcessorsBySearch(JobProcessorQuery jobProcessorQuery, JobProcessorSearch jobProcessorSearch) throws OperationFailedException, PermissionDeniedException
jobProcessorQuery
- the job processor queryjobProcessorSearch
- the job processor searchNullArgumentException
- jobProcessorQuery
or jobProcessorSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- jobProcessorQuery
or jobProcessorSearch
is not of this servicemandatory
- This method must be implemented. JobProcessorQuery getJobProcessorQueryFromInspector(JobProcessorQueryInspector jobProcessorQueryInspector)
JobProcessorSearchResults.
jobProcessorQueryInspector
- a job processor query inspectorNullArgumentException
-
jobProcessorQueryInspector
is null
UnsupportedException
-
jobProcessorQueryInspector
is not of this servicemandatory
- This method must be implemented.