OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Interfaceosid.provisioning.rules.BrokerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.provisioning.rules.BrokerEnablerQuerySession
osid.provisioning.rules.BrokerEnablerSearchSession
osid.provisioning.rules.BrokerEnablerSmartDistributorSession
Description

This is the query for searching broker enablers. 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.
MethodgetBrokerEnablerQueryRecord
Description

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

Parametersosid.type.TypebrokerEnablerRecordTypea broker enabler record type
Returnosid.provisioning.rules.records.BrokerEnablerQueryRecordthe broker enabler query record
ErrorsNULL_ARGUMENTbrokerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(brokerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.