OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.BrokerConstrainerQuery
Implementsosid.OsidConstrainerQuery
Used Byosid.provisioning.rules.BrokerConstrainerEnablerQuery
osid.provisioning.rules.BrokerConstrainerQuerySession
osid.provisioning.rules.BrokerConstrainerSearchSession
osid.provisioning.rules.BrokerConstrainerSmartDistributorSession
Description

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

MethodmatchRuledBrokerId
Description

Matches mapped to a broker.

Parametersosid.id.IddistributorId the broker Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT distributorId is null
Compliancemandatory This method must be implemented.
MethodclearRuledBrokerIdTerms
Description

Clears the broker Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledBrokerQuery
Description

Tests if a BrokerQuery is available.

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

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

Returnosid.provisioning.BrokerQuery the broker query
ErrorsUNIMPLEMENTED supportsRuledBrokerQuery() is false
Complianceoptional This method must be implemented if supportsRuledBrokerQuery() is true.
MethodmatchAnyRuledBroker
Description

Matches mapped to any broker.

Parametersbooleanmatch true for mapped to any broker, false to match mapped to no brokers
Compliancemandatory This method must be implemented.
MethodclearRuledBrokerTerms
Description

Clears the broker query terms.

Compliancemandatory This method must be implemented.
MethodmatchDistributorId
Description

Sets the distributor Id for this query to match brokers 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.
MethodgetBrokerConstrainerQueryRecord
Description

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

Parametersosid.type.TypebrokerConstrainerRecordType a broker constrainer record type
Returnosid.provisioning.rules.records.BrokerConstrainerQueryRecord the broker constrainer query record
ErrorsNULL_ARGUMENT brokerConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(brokerConstrainerRecordType) is false
Compliancemandatory This method must be implemented.