Interface JobConstrainerEnablerSearchSession
- All Superinterfaces:
AutoCloseable, Closeable, JobConstrainerEnablerQuerySession, OsidSession, OsidSession
This session provides methods for searching among
JobConstrainerEnabler objects. The search query is constructed using the
JobConstrainerEnableryQuery .
getJobConstrainerEnablersByQuery() is the basic search method and
returns a list of JobConstrainerEnablers . A more advanced search
may be performed with getJobConstrainerEnablersBySearch() .It
accepts a JobConstrainerEnablerSearch in addition to the query for
the purpose of specifying additional options affecting the entire search,
such as resourcing. getJobConstrainerEnablersBySearch() returns a
JobConstrainerEnablerSearchResults that can be used to access the
resulting JobConstrainerEnablerList or be used to perform a search
within the result set through JobConstrainerEnablerSearch .
This session defines views that offer differing behaviors for searching.
- federated foundry view: searches include job constrainer enablers in foundries of which this foundry is an ancestor in the foundry hierarchy
- isolated foundry view: searches are restricted to job constrainer enablers in this foundry
JobConstrainerEnablers may have a job constrainer enabler query
record indicated by their respective record types. The job constrainer
enabler query record is accessed via the
JobConstrainerEnablerQuery .-
Method Summary
Modifier and TypeMethodDescriptiongetJobConstrainerEnablerQueryFromInspector(JobConstrainerEnablerQueryInspector jobConstrainerEnablerQueryInspector) Gets a job constrainer enabler query from an inspector.getJobConstrainerEnablersBySearch(JobConstrainerEnablerQuery jobConstrainerEnablerQuery, JobConstrainerEnablerSearch jobConstrainerEnablerSearch) Gets the search results matching the given search query using the given search.Gets a job constrainer enabler search.Gets a job constrainer enabler search order.Methods inherited from interface JobConstrainerEnablerQuerySession
canSearchJobConstrainerEnablers, getFoundry, getFoundryId, getJobConstrainerEnablerQuery, getJobConstrainerEnablersByQuery, useFederatedFoundryView, useIsolatedFoundryViewModifier and TypeMethodDescriptionbooleanTests if this user can performJobConstrainerEnablerlookups.Gets theFoundryassociated with this session.Gets theFoundryIdassociated with this session.Gets a job constrainer enabler query.getJobConstrainerEnablersByQuery(JobConstrainerEnablerQuery jobConstrainerEnablerQuery) Gets a list ofJobConstrainerEnablersmatching the given job constrainer enabler query.voidFederates the view for methods in this session.voidIsolates the view for methods in this session.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.
-
Method Details
-
getJobConstrainerEnablerSearch
JobConstrainerEnablerSearch getJobConstrainerEnablerSearch()Gets a job constrainer enabler search.- Returns:
- the job constrainer enabler search
- Compliance:
mandatory- This method must be implemented.
-
getJobConstrainerEnablerSearchOrder
JobConstrainerEnablerSearchOrder getJobConstrainerEnablerSearchOrder()Gets a job constrainer enabler search order. TheJobConstrainerEnablerSearchOrderis supplied to aJobConstrainerEnablerSearchto specify the ordering of results.- Returns:
- the job constrainer enabler search order
- Compliance:
mandatory- This method must be implemented.
-
getJobConstrainerEnablersBySearch
JobConstrainerEnablerSearchResults getJobConstrainerEnablersBySearch(JobConstrainerEnablerQuery jobConstrainerEnablerQuery, JobConstrainerEnablerSearch jobConstrainerEnablerSearch) throws OperationFailedException, PermissionDeniedException Gets the search results matching the given search query using the given search.- Parameters:
jobConstrainerEnablerQuery- the job constrainer enabler queryjobConstrainerEnablerSearch- the job constrainer enabler search- Returns:
- the returned search results
- Throws:
NullArgumentException-jobConstrainerEnablerQueryorjobConstrainerEnablerSearchisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-jobConstrainerEnablerQueryorjobConstrainerEnablerSearchis not of this service- Compliance:
mandatory- This method must be implemented.
-
getJobConstrainerEnablerQueryFromInspector
JobConstrainerEnablerQuery getJobConstrainerEnablerQueryFromInspector(JobConstrainerEnablerQueryInspector jobConstrainerEnablerQueryInspector) Gets a job constrainer enabler query from an inspector. The inspector is available from aJobConstrainerEnablerSearchResults.- Parameters:
jobConstrainerEnablerQueryInspector- a job constrainer enabler query inspector- Returns:
- the job constrainer enabler query
- Throws:
NullArgumentException-jobConstrainerEnablerQueryInspectorisnullUnsupportedException-jobConstrainerEnablerQueryInspectoris not of this service- Compliance:
mandatory- This method must be implemented.
-