OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.PoolProcessorQuery
Implementsosid.OsidProcessorQuery
Used Byosid.provisioning.rules.PoolProcessorEnablerQuery
osid.provisioning.rules.PoolProcessorQuerySession
osid.provisioning.rules.PoolProcessorSearchSession
osid.provisioning.rules.PoolProcessorSmartDistributorSession
Description

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

MethodmatchAllocatesByLeastUse
Description

Matches pools that allocate by least use.

Parametersbooleanmatch true to match pool allocators that allocate by least use, false otherwise
Compliancemandatory This method must be implemented.
MethodclearAllocatesByLeastUseTerms
Description

Clears the allocate by least use query terms.

Compliancemandatory This method must be implemented.
MethodmatchAllocatesByMostUse
Description

Matches pools that allocate by most use.

Parametersbooleanmatch true to match pool allocators that allocate by most use, false otherwise
Compliancemandatory This method must be implemented.
MethodclearAllocatesByMostUseTerms
Description

Clears the allocate by most use query terms.

Compliancemandatory This method must be implemented.
MethodmatchAllocatesByLeastCost
Description

Matches pools that allocate by least cost.

Parametersbooleanmatch true to match pool allocators that allocate by least cost, false otherwise
Compliancemandatory This method must be implemented.
MethodclearAllocatesByLeastCostTerms
Description

Clears the allocate by most cost query terms.

Compliancemandatory This method must be implemented.
MethodmatchAllocatesByMostCost
Description

Matches pools that allocate by most cost.

Parametersbooleanmatch true to match pool allocators that allocate by most cost, false otherwise
Compliancemandatory This method must be implemented.
MethodclearAllocatesByMostCostTerms
Description

Clears the allocate by least cost query terms.

Compliancemandatory This method must be implemented.
MethodmatchRuledPoolId
Description

Matches mapped to the pool.

Parametersosid.id.IdpoolId the pool Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT poolId is null
Compliancemandatory This method must be implemented.
MethodclearRuledPoolIdTerms
Description

Clears the pool Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledPoolQuery
Description

Tests if a PoolQuery is available.

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

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

Returnosid.provisioning.PoolQuery the pool query
ErrorsUNIMPLEMENTED supportsRuledPoolQuery() is false
Complianceoptional This method must be implemented if supportsRuledPoolQuery() is true.
MethodmatchAnyRuledPool
Description

Matches mapped to any pool.

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

Clears the pool query terms.

Compliancemandatory This method must be implemented.
MethodmatchDistributorId
Description

Matches mapped to the distributor.

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.
MethodgetPoolProcessorQueryRecord
Description

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

Parametersosid.type.TypepoolProcessorRecordType a pool processor record type
Returnosid.provisioning.rules.records.PoolProcessorQueryRecord the pool processor query record
ErrorsNULL_ARGUMENT poolProcessorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(poolProcessorRecordType) is false
Compliancemandatory This method must be implemented.