OSID Logo
OSID Specifications
tracking rules package
Version 3.0.0
Interfaceosid.tracking.rules.QueueEnablerSearchSession
Implementsosid.tracking.rules.QueueEnablerQuerySession
Used Byosid.tracking.rules.TrackingRulesManager
osid.tracking.rules.TrackingRulesProxyManager
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 front office view: searches include queue enablers in front offices of which this front office is an ancestor in the front office hierarchy
  • isolated front office view: searches are restricted to queue enablers in this front office

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.tracking.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.tracking.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.tracking.rules.QueueEnablerQueryqueueEnablerQuerythe queue enabler query
osid.tracking.rules.QueueEnablerSearchqueueEnablerSearchthe queue enabler search
Returnosid.tracking.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.tracking.rules.QueueEnablerQueryInspectorqueueEnablerQueryInspectora queue enabler query inspector
Returnosid.tracking.rules.QueueEnablerQuerythe queue enabler query
ErrorsNULL_ARGUMENTqueueEnablerQueryInspector is null
UNSUPPORTEDqueueEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.