OSID Logo
OSID Specifications
provisioning package
Version 3.0.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.IdbrokerageIdthe brokerage Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTbrokerageId is null
CompliancemandatoryThis method must be implemented.
MethodclearBrokerageIdTerms
Description

Clears the brokerage Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBrokerageQuery
Description

Tests if a ResourceQuery is available.

Returnbooleantrue if a brokerage query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBrokerageQuery
Description

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

Returnosid.resource.ResourceQuerythe brokerage query
ErrorsUNIMPLEMENTEDsupportsBrokerageQuery() is false
CompliancemandatoryThis method must be implemented.
MethodmatchAnyBrokerage
Description

Matches brokers that have any brokerage.

Parametersbooleanmatchtrue to match brokers with any brokerage, false to match brokers with no brokerage
CompliancemandatoryThis method must be implemented.
MethodclearBrokerageTerms
Description

Clears the brokerage query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchQueueId
Description

Sets the queue Id for this query.

Parametersosid.id.IdqueueIdthe queue Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTqueueId is null
CompliancemandatoryThis method must be implemented.
MethodclearQueueIdTerms
Description

Clears the queue Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsQueueQuery
Description

Tests if a QueueQuery is available.

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

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

Returnosid.provisioning.QueueQuerythe queue query
ErrorsUNIMPLEMENTEDsupportsQueueQuery() is false
ComplianceoptionalThis method must be implemented if supportsQueueQuery() is true .
MethodmatchAnyQueue
Description

Matches brokers with any queue.

Parametersbooleanmatchtrue to match brokers with any queue, false to match brokers with no queue
CompliancemandatoryThis method must be implemented.
MethodclearQueueTerms
Description

Clears the queue query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchPoolId
Description

Sets the pool Id for this query.

Parametersosid.id.IdpoolIdthe pool Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTpoolId is null
CompliancemandatoryThis method must be implemented.
MethodclearPoolIdTerms
Description

Clears the pool Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsPoolQuery
Description

Tests if a PoolQuery is available.

Returnbooleantrue if a pool query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPoolQuery
Description

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

Returnosid.provisioning.PoolQuerythe pool query
ErrorsUNIMPLEMENTEDsupportsPoolQuery() is false
ComplianceoptionalThis method must be implemented if supportsPoolQuery() is true .
MethodmatchAnyPool
Description

Matches brokers with any pool.

Parametersbooleanmatchtrue to match brokers with any pool, false to match brokers with no pool
CompliancemandatoryThis method must be implemented.
MethodclearPoolTerms
Description

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

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

Parametersosid.type.TypebrokerRecordTypea broker record type
Returnosid.provisioning.records.BrokerQueryRecordthe broker query record
ErrorsNULL_ARGUMENTbrokerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(brokerRecordType) is false
CompliancemandatoryThis method must be implemented.