OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Interfaceosid.provisioning.QueueQuery
Implementsosid.OsidGovernatorQuery
osid.OsidSubjugateableQuery
Used Byosid.provisioning.BrokerQuery
osid.provisioning.DistributorQuery
osid.provisioning.QueueQuerySession
osid.provisioning.QueueSearchSession
osid.provisioning.QueueSmartDistributorSession
osid.provisioning.RequestQuery
osid.provisioning.rules.QueueConstrainerQuery
osid.provisioning.rules.QueueEnablerQuery
osid.provisioning.rules.QueueEnablerSmartDistributorSession
osid.provisioning.rules.QueueProcessorQuery
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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTbrokerId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsBrokerQuery() is false
ComplianceoptionalThis method must be implemented if supportsBrokerQuery() is true .
MethodclearBrokerTerms
Description

Clears the broker query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchManagerId
Description

Sets the manager Id for this query.

Parametersosid.id.IdmanagerIdthe manager Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTmanagerId is null
CompliancemandatoryThis method must be implemented.
MethodclearManagerIdTerms
Description

Clears the manager Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsManagerQuery
Description

Tests if a ResourceQuery is available.

Returnbooleantrue if a manager query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetManagerQuery
Description

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

Returnosid.resource.ResourceQuerythe manager query
ErrorsUNIMPLEMENTEDsupportsManagerQuery() is false
CompliancemandatoryThis method must be implemented.
MethodmatchAnyManager
Description

Matches queues that have any manager.

Parametersbooleanmatchtrue to match queues with any manager, false to match queues with no manager
CompliancemandatoryThis method must be implemented.
MethodclearManagerTerms
Description

Clears the manager query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSize
Description

Matches queues of the given size inclusive.

Parameterscardinalstartstart of range
cardinalendend of range
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstart is greater than end
CompliancemandatoryThis method must be implemented.
MethodmatchAnySize
Description

Matches queues with any known size.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstart is greater than end
NULL_ARGUMENTstart or end is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyEWA
Description

Matches queues with any estimated wiating time.

Parametersbooleanmatchtrue 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.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTrequestId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsRequestQuery() is false
ComplianceoptionalThis method must be implemented if supportsRequestQuery() is true .
MethodmatchAnyRequest
Description

Matches queues that have any request.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTdistributorId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsDistributorQuery() 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_ARGUMENTqueueRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(queueRecordType) is false
CompliancemandatoryThis method must be implemented.