OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.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.IdprovisionId the provision Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT provisionId is null
Compliancemandatory This method must be implemented.
MethodclearRuledProvisionIdTerms
Description

Clears the provision Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledProvisionQuery
Description

Tests if a ProvisionQuery is available.

Returnboolean true if a provision query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledProvisionQuery
Description

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

Returnosid.provisioning.ProvisionQuery the provision query
ErrorsUNIMPLEMENTED supportsRuledProvisionQuery() is false
Complianceoptional This method must be implemented if supportsRuledProvisionQuery() is true.
MethodmatchAnyRuledProvision
Description

Matches mapped to any provision.

Parametersbooleanmatch true for mapped to any provision, false to match mapped to no provision
Compliancemandatory This method must be implemented.
MethodclearRuledProvisionTerms
Description

Clears the provision query terms.

Compliancemandatory This method must be implemented.
MethodmatchDistributorId
Description

Sets the distributor Id for this query to match provision assigned to distributors.

Parametersosid.id.IddistributorId the distributor Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT distributorId is null
Compliancemandatory This method must be implemented.
MethodclearDistributorIdTerms
Description

Clears the distributor Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDistributorQuery
Description

Tests if a DistributorQuery is available.

Returnboolean true if a distributor query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDistributorQuery
Description

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

Returnosid.provisioning.DistributorQuery the distributor query
ErrorsUNIMPLEMENTED supportsDistributorQuery() is false
Complianceoptional This method must be implemented if supportsDistributorQuery() is true.
MethodclearDistributorTerms
Description

Clears the distributor query terms.

Compliancemandatory This 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.TypeprovisionEnablerRecordType a provision enabler record type
Returnosid.provisioning.rules.records.ProvisionEnablerQueryRecord the provision enabler query record
ErrorsNULL_ARGUMENT provisionEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(provisionEnablerRecordType) is false
Compliancemandatory This method must be implemented.