OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.rules.BrokerProcessorQuery
Implementsosid.OsidProcessorQuery
Description

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

MethodmatchLeasing
Description

Matches brokers that issue leases.

Parametersbooleanmatch true to match brokers that issue leases, false to match brokers that issue permanent provisions
CompliancemandatoryThis method must be implemented.
MethodclearLeasingTerms
Description

Clears the leasing query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchFixedLeaseDuration
Description

Matches brokers that issue fixed duration leases between the given durations inclusive.

Parametersosid.calendaring.Durationfromstarting duration range
osid.calendaring.Durationtoending duration range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyFixedLeaseDuration
Description

Matches brokers with any fixed lease duration.

Parametersbooleanmatch true to match brokers with any fixed lease duration, returns, false otherwise
CompliancemandatoryThis method must be implemented.
MethodclearFixedLeaseDurationTerms
Description

Clears the fixed lease duration query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMustReturnProvisions
Description

Matches brokers that require provisions to be returned.

Parametersbooleanmatch true to match brokers that require provision returns,, false otherwise
CompliancemandatoryThis method must be implemented.
MethodclearMustReturnProvisionsTerms
Description

Clears the must return provisions query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAllowsProvisionExchange
Description

Matches brokers that allow provision exchange.

Parametersbooleanmatch true to match brokers that permit provision exchange, false otherwise
CompliancemandatoryThis method must be implemented.
MethodclearAllowsProvisionExchangeTerms
Description

Clears the allows provision exchange query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAllowsCompoundRequests
Description

Matches brokers that allow comound requests.

Parametersbooleanmatch true to match brokers that permit compound requests, false otherwise
CompliancemandatoryThis method must be implemented.
MethodclearAllowsCompoundRequestsTerms
Description

Clears the allows compound requests query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRuledBrokerId
Description

Matches mapped to the broker.

Parametersosid.id.IddistributorIdthe broker Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT distributorId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsRuledBrokerQuery() is false
ComplianceoptionalThis 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 broker
CompliancemandatoryThis method must be implemented.
MethodclearRuledBrokerTerms
Description

Clears the broker query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDistributorId
Description

Matches mapped to the distributor.

Parametersosid.id.IddistributorIdthe distributor Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT distributorId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsDistributorQuery() is false
ComplianceoptionalThis method must be implemented if supportsDistributorQuery() is true.
MethodclearDistributorTerms
Description

Clears the distributor query terms.

CompliancemandatoryThis method must be implemented.
MethodgetBrokerProcessorQueryRecord
Description

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

Parametersosid.type.TypebrokerProcessorRecordTypea broker processor record type
Returnosid.provisioning.rules.records.BrokerProcessorQueryRecordthe broker processor query record
ErrorsNULL_ARGUMENT brokerProcessorRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(brokerProcessorRecordType) is false
CompliancemandatoryThis method must be implemented.