OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.QueueSearchOrder
Implementsosid.OsidGovernatorSearchOrder
osid.OsidSubjugateableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByBroker
Description

Orders the results by broker.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsBrokerSearchOrder
Description

Tests if a broker search order is available.

Returnboolean true if a broker search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBrokerSearchOrder
Description

Gets the broker search order.

Returnosid.provisioning.BrokerSearchOrderthe broker search order
ErrorsILLEGAL_STATE supportsBrokerSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderBySize
Description

Orders the results by queue size.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByEWA
Description

Orders the results by estimated waiting time.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByCanSpecifyProvisionable
Description

Orders the results by the can request provisionables flag.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetQueueSearchOrderRecord
Description

Gets the queue search order record corresponding to the given queue record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypequeueRecordTypea queue record type
Returnosid.provisioning.records.QueueSearchOrderRecordthe queue search order record
ErrorsNULL_ARGUMENT queueRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(queueRecordType) is false
CompliancemandatoryThis method must be implemented.