OSID Logo
OSID Specifications
tracking rules package
Version 3.1.0
Interfaceosid.tracking.rules.QueueConstrainerQuery
Implementsosid.OsidConstrainerQuery
Used Byosid.tracking.rules.QueueConstrainerEnablerQuery
osid.tracking.rules.QueueConstrainerQuerySession
osid.tracking.rules.QueueConstrainerSearchSession
osid.tracking.rules.QueueConstrainerSmartFrontOfficeSession
Description

This is the query for searching queue constrainers. Each method match specifies a 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.tracking.QueueQuery the queue query
ErrorsUNIMPLEMENTED supportsRuledQueueQuery() is false
Complianceoptional This method must be implemented if supportsRuledQueueQuery() is true.
MethodmatchAnyRuledQueue
Description

Matches constrainers mapped to any queue.

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

Clears the queue query terms.

Compliancemandatory This method must be implemented.
MethodmatchFrontOfficeId
Description

Matches constrainers mapped to the front office.

Parametersosid.id.IdfrontOfficeId the front office Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT frontOfficeId is null
Compliancemandatory This method must be implemented.
MethodclearFrontOfficeIdTerms
Description

Clears the front office Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsFrontOfficeQuery
Description

Tests if a FrontOfficeQuery is available.

Returnboolean true if a front office query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetFrontOfficeQuery
Description

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

Returnosid.tracking.FrontOfficeQuery the front office query
ErrorsUNIMPLEMENTED supportsFrontOfficeQuery() is false
Complianceoptional This method must be implemented if supportsFrontOfficeQuery() is true.
MethodclearFrontOfficeTerms
Description

Clears the front office query terms.

Compliancemandatory This method must be implemented.
MethodgetQueueConstrainerQueryRecord
Description

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

Parametersosid.type.TypequeueConstrainerRecordType a queue constrainer record type
Returnosid.tracking.rules.records.QueueConstrainerQueryRecord the queue constrainer query record
ErrorsNULL_ARGUMENT queueConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(queueConstrainerRecordType) is false
Compliancemandatory This method must be implemented.