OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Interfaceosid.provisioning.PoolQuery
Implementsosid.OsidGovernatorQuery
osid.OsidSubjugateableQuery
Used Byosid.provisioning.BrokerQuery
osid.provisioning.DistributorQuery
osid.provisioning.PoolQuerySession
osid.provisioning.PoolSearchSession
osid.provisioning.PoolSmartDistributorSession
osid.provisioning.ProvisionableQuery
osid.provisioning.RequestQuery
osid.provisioning.rules.PoolConstrainerQuery
osid.provisioning.rules.PoolEnablerQuery
osid.provisioning.rules.PoolEnablerSmartDistributorSession
show 2 more…
osid.provisioning.rules.PoolProcessorQuery
osid.provisioning.rules.QueueConstrainerQuery
Description

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

MethodmatchBrokerId
Description

Sets the broker Id for this query.

Parametersosid.id.IdbrokerIdthe broker Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTbrokerId is null
CompliancemandatoryThis method must be implemented.
MethodclearBrokerIdTerms
Description

Clears the broker Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBrokerQuery
Description

Tests if a BrokerQuery is available.

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

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

Returnosid.provisioning.BrokerQuerythe broker query
ErrorsUNIMPLEMENTEDsupportsBrokerQuery() is false
ComplianceoptionalThis method must be implemented if supportsBrokerQuery() is true .
MethodclearBrokerTerms
Description

Clears the broker query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSupplierId
Description

Sets the supplier Id for this query.

Parametersosid.id.IdsupplierIdthe supplier Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTsupplierId is null
CompliancemandatoryThis method must be implemented.
MethodclearSupplierIdTerms
Description

Clears the supplier Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSupplierQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuerythe supplier query
ErrorsUNIMPLEMENTEDsupportsSupplierQuery() is false
CompliancemandatoryThis method must be implemented.
MethodmatchAnySupplier
Description

Matches pools that have any supplier.

Parametersbooleanmatchtrue to match pools with any supplier, false to match pools with no supplier
CompliancemandatoryThis method must be implemented.
MethodclearSupplierTerms
Description

Clears the supplier query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchProvisionableId
Description

Sets the provisionable Id for this query.

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

Clears the provisionable Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsProvisionableQuery
Description

Tests if a ProvisionableQuery is available.

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

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

Returnosid.provisioning.ProvisionableQuerythe provisionable query
ErrorsUNIMPLEMENTEDsupportsProvisionableQuery() is false
ComplianceoptionalThis method must be implemented if supportsProvisionableQuery() is true .
MethodmatchAnyProvisionable
Description

Matches pools that have any provisionable.

Parametersbooleanmatchtrue to match pools with any provisionable, false to match pools with no provisionable
CompliancemandatoryThis method must be implemented.
MethodclearProvisionableTerms
Description

Clears the provisionable query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSize
Description

Matches pools of the given size inclusive.

Parameterscardinalstartstart of range
cardinalendend of range
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstart is greater than end
CompliancemandatoryThis method must be implemented.
MethodmatchAnySize
Description

Matches pools with any known size.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearSizeTerms
Description

Clears the size query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDistributorId
Description

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

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

Parametersosid.type.TypepoolRecordTypea pool record type
Returnosid.provisioning.records.PoolQueryRecordthe pool query record
ErrorsNULL_ARGUMENTpoolRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(poolRecordType) is false
CompliancemandatoryThis method must be implemented.