OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Interfaceosid.provisioning.rules.ProvisionEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.provisioning.rules.ProvisionEnablerQuerySession
osid.provisioning.rules.ProvisionEnablerSearchSession
osid.provisioning.rules.ProvisionEnablerSmartDistributorSession
Description

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

MethodmatchRuledProvisionId
Description

Matches mapped to the provision.

Parametersosid.id.IdprovisionIdthe provision Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprovisionId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledProvisionIdTerms
Description

Clears the provision Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledProvisionQuery
Description

Tests if a ProvisionQuery is available.

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

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

Returnosid.provisioning.ProvisionQuerythe provision query
ErrorsUNIMPLEMENTEDsupportsRuledProvisionQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledProvisionQuery() is true .
MethodmatchAnyRuledProvision
Description

Matches mapped to any provision.

Parametersbooleanmatchtrue for mapped to any provision, false to match mapped to no provision
CompliancemandatoryThis method must be implemented.
MethodclearRuledProvisionTerms
Description

Clears the provision query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDistributorId
Description

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

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

Parametersosid.type.TypeprovisionEnablerRecordTypea provision enabler record type
Returnosid.provisioning.rules.records.ProvisionEnablerQueryRecordthe provision enabler query record
ErrorsNULL_ARGUMENTprovisionEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(provisionEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.