OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Interfaceosid.provisioning.rules.BrokerConstrainerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.provisioning.rules.BrokerConstrainerEnablerQuerySession
osid.provisioning.rules.BrokerConstrainerEnablerSearchSession
osid.provisioning.rules.BrokerConstrainerEnablerSmartDistributorSession
Description

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

MethodmatchRuledBrokerConstrainerId
Description

Matches enablers mapped to the broker constrainer.

Parametersosid.id.IdbrokerConstrainerIdthe broker constrainer Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTbrokerConstrainerId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledBrokerConstrainerIdTerms
Description

Clears the broker constrainer Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledBrokerConstrainerQuery
Description

Tests if a BrokerConstrainerQuery is available.

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

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

Returnosid.provisioning.rules.BrokerConstrainerQuerythe broker constrainer query
ErrorsUNIMPLEMENTEDsupportsRuledBrokerConstrainerQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledBrokerConstrainerQuery() is true .
MethodmatchAnyRuledBrokerConstrainer
Description

Matches enablers mapped to any broker constrainer.

Parametersbooleanmatchtrue for enablers mapped to any broker constrainer, false to match enablers mapped to no broker constrainers
CompliancemandatoryThis method must be implemented.
MethodclearRuledBrokerConstrainerTerms
Description

Clears the broker constrainer 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.
MethodgetBrokerConstrainerEnablerQueryRecord
Description

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

Parametersosid.type.TypebrokerConstrainerEnablerRecordTypea broker constrainer enabler record type
Returnosid.provisioning.rules.records.BrokerConstrainerEnablerQueryRecordthe broker constrainer enabler query record
ErrorsNULL_ARGUMENTbrokerConstrainerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(brokerConstrainerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.