OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.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.IdqueueConstrainerIdthe queue constrainer Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTqueueConstrainerId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledQueueConstrainerIdTerms
Description

Clears the queue constrainer Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledQueueConstrainerQuery
Description

Tests if a QueueConstrainerQuery is available.

Returnbooleantrue if a queue constrainer query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRuledQueueConstrainerQuery
Description

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

Returnosid.provisioning.rules.QueueConstrainerQuerythe queue constrainer query
ErrorsUNIMPLEMENTEDsupportsRuledQueueConstrainerQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledQueueConstrainerQuery() is true .
MethodmatchAnyRuledQueueConstrainer
Description

Matches enablers mapped to any queue constrainer.

Parametersbooleanmatchtrue for enablers mapped to any queue constrainer, false to match enablers mapped to no queue constrainers
CompliancemandatoryThis method must be implemented.
MethodclearRuledQueueConstrainerTerms
Description

Clears the queue constrainer 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.
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.TypequeueConstrainerEnablerRecordTypea queue constrainer enabler record type
Returnosid.provisioning.rules.records.QueueConstrainerEnablerQueryRecordthe queue constrainer enabler query record
ErrorsNULL_ARGUMENTqueueConstrainerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(queueConstrainerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.