OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Interfaceosid.provisioning.rules.PoolConstrainerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.provisioning.rules.PoolConstrainerEnablerQuerySession
osid.provisioning.rules.PoolConstrainerEnablerSearchSession
osid.provisioning.rules.PoolConstrainerEnablerSmartDistributorSession
Description

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

MethodmatchRuledPoolConstrainerId
Description

Matches mapped to the pool constrainer.

Parametersosid.id.IdpoolConstrainerIdthe pool constrainer Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTpoolConstrainerId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledPoolConstrainerIdTerms
Description

Clears the pool constrainer Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledPoolConstrainerQuery
Description

Tests if a PoolConstrainerQuery is available.

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

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

Returnosid.provisioning.rules.PoolConstrainerQuerythe pool constrainer rquery
ErrorsUNIMPLEMENTEDsupportsRuledPoolConstrainerQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledPoolConstrainerQuery() is true .
MethodmatchAnyRuledPoolConstrainer
Description

Matches mapped to any pool constrainer.

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

Clears the pool constrainer 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.
MethodgetPoolConstrainerEnablerQueryRecord
Description

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

Parametersosid.type.TypepoolConstrainerEnablerRecordTypea pool constrainer enabler record type
Returnosid.provisioning.rules.records.PoolConstrainerEnablerQueryRecordthe pool constrainer enabler query record
ErrorsNULL_ARGUMENTpoolConstrainerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(poolConstrainerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.