OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.BrokerQuery
Implementsosid.OsidGovernatorQuery
Used Byosid.provisioning.BrokerQuerySession
osid.provisioning.BrokerSearchSession
osid.provisioning.BrokerSmartDistributorSession
osid.provisioning.DistributorQuery
osid.provisioning.PoolQuery
osid.provisioning.ProvisionQuery
osid.provisioning.QueueQuery
osid.provisioning.RequestTransactionQuery
osid.provisioning.rules.BrokerConstrainerQuery
osid.provisioning.rules.BrokerEnablerQuery
show 2 more…
osid.provisioning.rules.BrokerEnablerSmartDistributorSession
osid.provisioning.rules.BrokerProcessorQuery
Description

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

MethodmatchBrokerageId
Description

Sets the brokerage Id for this query.

Parametersosid.id.IdbrokerageId the brokerage Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT brokerageId is null
Compliancemandatory This method must be implemented.
MethodclearBrokerageIdTerms
Description

Clears the brokerage Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsBrokerageQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuery the brokerage query
ErrorsUNIMPLEMENTED supportsBrokerageQuery() is false
Compliancemandatory This method must be implemented.
MethodmatchAnyBrokerage
Description

Matches brokers that have any brokerage.

Parametersbooleanmatch true to match brokers with any brokerage, false to match brokers with no brokerage
Compliancemandatory This method must be implemented.
MethodclearBrokerageTerms
Description

Clears the brokerage query terms.

Compliancemandatory This method must be implemented.
MethodmatchQueueId
Description

Sets the queue Id for this query.

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.
MethodclearQueueIdTerms
Description

Clears the queue Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsQueueQuery
Description

Tests if a QueueQuery is available.

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

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

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

Matches brokers with any queue.

Parametersbooleanmatch true to match brokers with any queue, false to match brokers with no queue
Compliancemandatory This method must be implemented.
MethodclearQueueTerms
Description

Clears the queue query terms.

Compliancemandatory This method must be implemented.
MethodmatchPoolId
Description

Sets the pool Id for this query.

Parametersosid.id.IdpoolId the pool Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT poolId is null
Compliancemandatory This method must be implemented.
MethodclearPoolIdTerms
Description

Clears the pool Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsPoolQuery
Description

Tests if a PoolQuery is available.

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

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

Returnosid.provisioning.PoolQuery the pool query
ErrorsUNIMPLEMENTED supportsPoolQuery() is false
Complianceoptional This method must be implemented if supportsPoolQuery() is true.
MethodmatchAnyPool
Description

Matches brokers with any pool.

Parametersbooleanmatch true to match brokers with any pool, false to match brokers with no pool
Compliancemandatory This method must be implemented.
MethodclearPoolTerms
Description

Clears the pool 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.
MethodgetBrokerQueryRecord
Description

Gets the broker query record corresponding to the given Broker record Type .Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypebrokerRecordType a broker record type
Returnosid.provisioning.records.BrokerQueryRecord the broker query record
ErrorsNULL_ARGUMENT brokerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(brokerRecordType) is false
Compliancemandatory This method must be implemented.