OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.QueueQuery
Implementsosid.OsidGovernatorQuery
osid.OsidSubjugateableQuery
Description

This is the query for searching queues. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchBrokerId
Description

Sets the broker Id for this query.

Parametersosid.id.IdbrokerIdthe broker Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT brokerId is null
CompliancemandatoryThis method must be implemented.
MethodclearBrokerIdTerms
Description

Clears the broker Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBrokerQuery
Description

Tests if a BrokerQuery is available.

Returnboolean true if a broker query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBrokerQuery
Description

Gets the query for a broker. Multiple retrievals produce a nested OR term.

Returnosid.provisioning.BrokerQuerythe broker query
ErrorsUNIMPLEMENTED supportsBrokerQuery() is false
ComplianceoptionalThis method must be implemented if supportsBrokerQuery() is true.
MethodclearBrokerTerms
Description

Clears the broker query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSize
Description

Matches queues of the given size inclusive.

Parameterscardinalstartstart of range
cardinalendend of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is greater than end
CompliancemandatoryThis method must be implemented.
MethodmatchAnySize
Description

Matches queues with any known size.

Parametersbooleanmatch true for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearSizeTerms
Description

Clears the size query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchEWA
Description

Matches queues whose estimated waiting time is in the given range inclusive,.

Parametersosid.calendaring.Durationstartstart of range
osid.calendaring.Durationendend of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is greater than end
NULL_ARGUMENT start or end is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyEWA
Description

Matches queues with any estimated wiating time.

Parametersbooleanmatch true for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearEWATerms
Description

Clears the estimated waiting time query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCanSpecifyProvisionable
Description

Matches queues that permit requests for specific provisionables.

Parametersbooleanmatch true for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearCanSpecifyProvisionableTerms
Description

Clears the can request provisionables terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequestId
Description

Sets the request Id for this query.

Parametersosid.id.IdrequestIdthe request Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT requestId is null
CompliancemandatoryThis method must be implemented.
MethodclearRequestIdTerms
Description

Clears the request Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRequestQuery
Description

Tests if a RequestQuery is available.

Returnboolean true if a request query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRequestQuery
Description

Gets the query for a Request. Multiple retrievals produce a nested OR term.

Returnosid.provisioning.RequestQuerythe request query
ErrorsUNIMPLEMENTED supportsRequestQuery() is false
ComplianceoptionalThis method must be implemented if supportsRequestQuery() is true.
MethodmatchAnyRequest
Description

Matches queues that have any request.

Parametersbooleanmatch true to match queues with any request, false to match queues with no request
CompliancemandatoryThis method must be implemented.
MethodclearRequestTerms
Description

Clears the request query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDistributorId
Description

Sets the distributor Id for this query to match queues assigned to distributors.

Parametersosid.id.IddistributorIdthe distributor Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT distributorId is null
CompliancemandatoryThis method must be implemented.
MethodclearDistributorIdTerms
Description

Clears the distributor Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsDistributorQuery
Description

Tests if a DistributorQuery is available.

Returnboolean true if a distributor query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetDistributorQuery
Description

Gets the query for a distributor. Multiple retrievals produce a nested OR term.

Returnosid.provisioning.DistributorQuerythe distributor query
ErrorsUNIMPLEMENTED supportsDistributorQuery() is false
ComplianceoptionalThis method must be implemented if supportsDistributorQuery() is true.
MethodclearDistributorTerms
Description

Clears the distributor query terms.

CompliancemandatoryThis method must be implemented.
MethodgetQueueQueryRecord
Description

Gets the queue query record corresponding to the given Queue record Type. Multiple record retrievals produce a nested OR term.

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