OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Interfaceosid.provisioning.rules.PoolEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.provisioning.rules.PoolEnablerQuerySession
osid.provisioning.rules.PoolEnablerSearchSession
osid.provisioning.rules.PoolEnablerSmartDistributorSession
Description

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

MethodmatchRuledPoolId
Description

Matches mapped to the pool.

Parametersosid.id.IdpoolIdthe pool Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTpoolId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledPoolIdTerms
Description

Clears the pool Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledPoolQuery
Description

Tests if a PoolQuery is available.

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

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

Returnosid.provisioning.PoolQuerythe pool query
ErrorsUNIMPLEMENTEDsupportsRuledPoolQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledPoolQuery() is true .
MethodmatchAnyRuledPool
Description

Matches mapped to any pool.

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

Clears the pool query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDistributorId
Description

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

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

Parametersosid.type.TypepoolEnablerRecordTypea pool enabler record type
Returnosid.provisioning.rules.records.PoolEnablerQueryRecordthe pool enabler query record
ErrorsNULL_ARGUMENTpoolEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(poolEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.