OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.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.QueueEnablerSearchthe queue enabler search
CompliancemandatoryThis 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.QueueEnablerSearchOrderthe queue enabler search order
CompliancemandatoryThis method must be implemented.
MethodgetQueueEnablersBySearch
Description

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

Parametersosid.provisioning.rules.QueueEnablerQueryqueueEnablerQuerythe queue enabler query
osid.provisioning.rules.QueueEnablerSearchqueueEnablerSearchthe queue enabler search
Returnosid.provisioning.rules.QueueEnablerSearchResultsthe returned search results
ErrorsNULL_ARGUMENTqueueEnablerQuery or queueEnablerSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDqueueEnablerQuery or queueEnablerSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetQueueEnablerQueryFromInspector
Description

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

Parametersosid.provisioning.rules.QueueEnablerQueryInspectorqueueEnablerQueryInspectora queue enabler query inspector
Returnosid.provisioning.rules.QueueEnablerQuerythe queue enabler query
ErrorsNULL_ARGUMENTqueueEnablerQueryInspector is null
UNSUPPORTEDqueueEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.