OSID Logo
OSID Specifications
tracking package
Version 3.1.0
Interfaceosid.tracking.QueueSearchSession
Implementsosid.tracking.QueueQuerySession
Used Byosid.tracking.TrackingManager
osid.tracking.TrackingProxyManager
Description

This session provides methods for searching among Queue objects. The search query is constructed using the QueueQuery.

getQueuesByQuery() is the basic search method and returns a list of Queues. A more advanced search may be performed with getQueuesBySearch(). It accepts a QueueSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getQueuesBySearch() returns a QueueSearchResults that can be used to access the resulting QueueList or be used to perform a search within the result set through QueueSearch.

This session defines views that offer differing behaviors for searching.

  • federated front office view: searches include queues in front offices of which this front office is an ancestor in the front office hierarchy
  • isolated front office view: searches are restricted to queues in this frontOffice

Queues may have a query record indicated by their respective record types. The query record is accessed via the QueueQuery.

MethodgetQueueSearch
Description

Gets a queue search.

Returnosid.tracking.QueueSearch the queue search
Compliancemandatory This method must be implemented.
MethodgetQueueSearchOrder
Description

Gets a queue search order. The QueueSearchOrder is supplied to a QueueSearch to specify the ordering of results.

Returnosid.tracking.QueueSearchOrder the queue search order
Compliancemandatory This method must be implemented.
MethodgetQueuesBySearch
Description

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

Parametersosid.tracking.QueueQueryqueueQuery the queue query
osid.tracking.QueueSearchqueueSearch the queue search
Returnosid.tracking.QueueSearchResults the returned search results
ErrorsNULL_ARGUMENT queueQuery or queueSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED queueQuery or queueSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetQueueQueryFromInspector
Description

Gets a queue query from an inspector. The inspector is available from a QueueSearchResults.

Parametersosid.tracking.QueueQueryInspectorqueueQueryInspector a queue query inspector
Returnosid.tracking.QueueQuery the queue query
ErrorsNULL_ARGUMENT queueQueryInspector is null
UNSUPPORTED queueQueryInspector is not of this service
Compliancemandatory This method must be implemented.