OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.QueueEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.provisioning.rules.QueueEnablerQuerySession
osid.provisioning.rules.QueueEnablerSearchSession
osid.provisioning.rules.QueueEnablerSmartDistributorSession
Description

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

MethodmatchRuledQueueId
Description

Matches mapped to a queue.

Parametersosid.id.IdqueueId the queue Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT queueId is null
Compliancemandatory This method must be implemented.
MethodclearRuledQueueIdTerms
Description

Clears the queue Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledQueueQuery
Description

Tests if a QueueQuery is available.

Returnboolean true if a queue query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledQueueQuery
Description

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

Returnosid.provisioning.QueueQuery the queue query
ErrorsUNIMPLEMENTED supportsRuledQueueQuery() is false
Complianceoptional This method must be implemented if supportsRuledQueueQuery() is true.
MethodmatchAnyRuledQueue
Description

Matches mapped to any queue.

Parametersbooleanmatch true for mapped to any queue, false to match mapped to no queues
Compliancemandatory This method must be implemented.
MethodclearRuledQueueTerms
Description

Clears the queue query terms.

Compliancemandatory This method must be implemented.
MethodmatchDistributorId
Description

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

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

Clears the distributor Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDistributorQuery
Description

Tests if a DistributorQuery is available.

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

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

Returnosid.provisioning.DistributorQuery the distributor query
ErrorsUNIMPLEMENTED supportsDistributorQuery() is false
Complianceoptional This method must be implemented if supportsDistributorQuery() is true.
MethodclearDistributorTerms
Description

Clears the distributor query terms.

Compliancemandatory This method must be implemented.
MethodgetQueueEnablerQueryRecord
Description

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

Parametersosid.type.TypequeueEnablerRecordType a queue enabler record type
Returnosid.provisioning.rules.records.QueueEnablerQueryRecord the queue enabler query record
ErrorsNULL_ARGUMENT queueEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(queueEnablerRecordType) is false
Compliancemandatory This method must be implemented.