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

This session provides methods for searching among QueueEnablers. The search query is constructed using the QueueEnablerQuery.

getQueueEnablersByQuery() is the basic search method and returns a list of QueueEnablers. A more advanced search may be performed with getQueueEnablersBySearch().It accepts a QueueEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getQueueEnablersBySearch() returns a QueueEnablerSearchResults that can be used to access the resulting QueueEnablerList or be used to perform a search within the result set through Que ueEnablerSearch.

This session defines views that offer differing behaviors for searching.

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

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

MethodgetQueueEnablerSearch
Description

Gets a queue enabler search.

Returnosid.provisioning.rules.QueueEnablerSearch the queue enabler search
Compliancemandatory This method must be implemented.
MethodgetQueueEnablerSearchOrder
Description

Gets a queue enabler search order. The QueueEnablerSearchOrder is supplied to a QueueEnablerSearch to specify the ordering of results.

Returnosid.provisioning.rules.QueueEnablerSearchOrder the queue enabler search order
Compliancemandatory This method must be implemented.
MethodgetQueueEnablersBySearch
Description

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

Parametersosid.provisioning.rules.QueueEnablerQueryqueueEnablerQuery the queue enabler query
osid.provisioning.rules.QueueEnablerSearchqueueEnablerSearch the queue enabler search
Returnosid.provisioning.rules.QueueEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT queueEnablerQuery or queueEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED queueEnablerQuery or queueEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetQueueEnablerQueryFromInspector
Description

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

Parametersosid.provisioning.rules.QueueEnablerQueryInspectorqueueEnablerQueryInspector a queue enabler query inspector
Returnosid.provisioning.rules.QueueEnablerQuery the queue enabler query
ErrorsNULL_ARGUMENT queueEnablerQueryInspector is null
UNSUPPORTED queueEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.