OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.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.IddistributorIdthe broker Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTdistributorId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledBrokerIdTerms
Description

Clears the broker Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledBrokerQuery
Description

Tests if a BrokerQuery is available.

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

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

Returnosid.provisioning.BrokerQuerythe broker query
ErrorsUNIMPLEMENTEDsupportsRuledBrokerQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledBrokerQuery() is true .
MethodmatchAnyRuledBroker
Description

Matches mapped to any broker.

Parametersbooleanmatchtrue for mapped to any broker, false to match mapped to no brokers
CompliancemandatoryThis method must be implemented.
MethodclearRuledBrokerTerms
Description

Clears the broker query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDistributorId
Description

Sets the distributor Id for this query to match brokers 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.
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.TypebrokerConstrainerRecordTypea broker constrainer record type
Returnosid.provisioning.rules.records.BrokerConstrainerQueryRecordthe broker constrainer query record
ErrorsNULL_ARGUMENTbrokerConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(brokerConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.