OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Interfaceosid.provisioning.rules.QueueProcessorEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.provisioning.rules.QueueProcessorEnablerQuerySession
osid.provisioning.rules.QueueProcessorEnablerSearchSession
osid.provisioning.rules.QueueProcessorEnablerSmartDistributorSession
Description

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

MethodmatchRuledQueueProcessorId
Description

Matches enablers mapped to the queue processor.

Parametersosid.id.IdqueueProcessorIdthe queue processor Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTqueueProcessorId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledQueueProcessorIdTerms
Description

Clears the queue processor Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledQueueProcessorQuery
Description

Tests if a QueueProcessorQuery is available.

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

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

Returnosid.provisioning.rules.QueueProcessorQuerythe queue processor query
ErrorsUNIMPLEMENTEDsupportsRuledQueueProcessorQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledQueueProcessorQuery() is true .
MethodmatchAnyRuledQueueProcessor
Description

Matches enablers mapped to any queue processor.

Parametersbooleanmatchtrue for enablers mapped to any queue processor, false to match enablers mapped to no queue processors
CompliancemandatoryThis method must be implemented.
MethodclearRuledQueueProcessorTerms
Description

Clears the queue processor 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.
MethodgetQueueProcessorEnablerQueryRecord
Description

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

Parametersosid.type.TypequeueProcessorEnablerRecordTypea queue processor enabler record type
Returnosid.provisioning.rules.records.QueueProcessorEnablerQueryRecordthe queue processor enabler query record
ErrorsNULL_ARGUMENTqueueProcessorEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(queueProcessorEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.