OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Interfaceosid.provisioning.rules.ProvisionableEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.provisioning.rules.ProvisionableEnablerQuerySession
osid.provisioning.rules.ProvisionableEnablerSearchSession
osid.provisioning.rules.ProvisionableEnablerSmartDistributorSession
Description

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

MethodmatchRuledProvisionableId
Description

Matches mapped to the provisionable.

Parametersosid.id.IdprovisionableIdthe provisionable Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprovisionableId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledProvisionableIdTerms
Description

Clears the provisionable Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledProvisionableQuery
Description

Tests if a ProvisionableQuery is available.

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

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

Returnosid.provisioning.ProvisionableQuerythe provisionable query
ErrorsUNIMPLEMENTEDsupportsRuledProvisionableQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledProvisionableQuery() is true .
MethodmatchAnyRuledProvisionable
Description

Matches mapped to any provisionable.

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

Clears the provisionable query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDistributorId
Description

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

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

Parametersosid.type.TypeprovisionableEnablerRecordTypea provisionable enabler record type
Returnosid.provisioning.rules.records.ProvisionableEnablerQueryRecordthe provisionable enabler query record
ErrorsNULL_ARGUMENTprovisionableEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(provisionableEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.