OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.QueueProcessorEnablerSearchSession
Implementsosid.provisioning.rules.QueueProcessorEnablerQuerySession
Used Byosid.provisioning.rules.ProvisioningRulesManager
osid.provisioning.rules.ProvisioningRulesProxyManager
Description

This session provides methods for searching among QueueProcessorEnablers. The search query is constructed using the QueueProcessorEnablerQuery.

getQueueProcessorEnablersByQuery() is the basic search method and returns a list of QueueProcessorEnablers. A more advanced search may be performed with getQueueProcessorEnablersBySearch().It accepts a QueueProcessorEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getQueueProcessorEnablersBySearch() returns a QueueProcessorEnablerSearchResults that can be used to access the resulting QueueProcessorEnablerList or be used to perform a search within the result set through Qu eueProcessorEnablerSearch.

This session defines views that offer differing behaviors for searching.

  • federated distributor view: searches include queue processor enablers in distributors of which this distributor is an ancestor in the distributor hierarchy
  • isolated distributor view: searches are restricted to queue processor enablers in this distributor

Queue processor enablers may have a query record indicated by their respective record types. The query record is accessed via the QueueProcessorEnablerQuery.

MethodgetQueueProcessorEnablerSearch
Description

Gets a queue processor enabler search.

Returnosid.provisioning.rules.QueueProcessorEnablerSearch the queue processor enabler search
Compliancemandatory This method must be implemented.
MethodgetQueueProcessorEnablerSearchOrder
Description

Gets a queue processor enabler search order. The QueueProcessorEnablerSearchOrder is supplied to a QueueProcessorEnablerSearch to specify the ordering of results.

Returnosid.provisioning.rules.QueueProcessorEnablerSearchOrder the queue processor enabler search order
Compliancemandatory This method must be implemented.
MethodgetQueueProcessorEnablersBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.provisioning.rules.QueueProcessorEnablerQueryqueueProcessorEnablerQuery the queue processor enabler query
osid.provisioning.rules.QueueProcessorEnablerSearchqueueProcessorEnablerSearch the queue processor enabler search
Returnosid.provisioning.rules.QueueProcessorEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT queueProcessorEnablerQuery or queueProcessorEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED queueProcessorEnablerQuery or queueProcessorEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetQueueProcessorEnablerQueryFromInspector
Description

Gets a queue processor enabler query from an inspector. The inspector is available from a QueueProcessorEnablerSearchResults.

Parametersosid.provisioning.rules.QueueProcessorEnablerQueryInspectorqueueProcessorEnablerQueryInspector a queue processor enabler query inspector
Returnosid.provisioning.rules.QueueProcessorEnablerQuery the queue processor enabler query
ErrorsNULL_ARGUMENT queueProcessorEnablerQueryInspector is null
UNSUPPORTED queueProcessorEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.