OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.QueueConstrainerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.provisioning.rules.QueueConstrainerEnablerQuerySession
osid.provisioning.rules.QueueConstrainerEnablerSearchSession
osid.provisioning.rules.QueueConstrainerEnablerSmartDistributorSession
Description

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

MethodmatchRuledQueueConstrainerId
Description

Matches enablers mapped to the queue constrainer.

Parametersosid.id.IdqueueConstrainerId the queue constrainer Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT queueConstrainerId is null
Compliancemandatory This method must be implemented.
MethodclearRuledQueueConstrainerIdTerms
Description

Clears the queue constrainer Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledQueueConstrainerQuery
Description

Tests if a QueueConstrainerQuery is available.

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

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

Returnosid.provisioning.rules.QueueConstrainerQuery the queue constrainer query
ErrorsUNIMPLEMENTED supportsRuledQueueConstrainerQuery() is false
Complianceoptional This method must be implemented if supportsRuledQueueConstrainerQuery() is true.
MethodmatchAnyRuledQueueConstrainer
Description

Matches enablers mapped to any queue constrainer.

Parametersbooleanmatch true for enablers mapped to any queue constrainer, false to match enablers mapped to no queue constrainers
Compliancemandatory This method must be implemented.
MethodclearRuledQueueConstrainerTerms
Description

Clears the queue constrainer 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.
MethodgetQueueConstrainerEnablerQueryRecord
Description

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

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