OSID Logo
OSID Specifications
provisioning package
Version 3.1.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.IdbrokerId the broker Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT brokerId is null
Compliancemandatory This method must be implemented.
MethodclearBrokerIdTerms
Description

Clears the broker Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsBrokerQuery
Description

Tests if a BrokerQuery is available.

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

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

Returnosid.provisioning.BrokerQuery the broker query
ErrorsUNIMPLEMENTED supportsBrokerQuery() is false
Complianceoptional This method must be implemented if supportsBrokerQuery() is true.
MethodclearBrokerTerms
Description

Clears the broker query terms.

Compliancemandatory This method must be implemented.
MethodmatchSupplierId
Description

Sets the supplier Id for this query.

Parametersosid.id.IdsupplierId the supplier Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT supplierId is null
Compliancemandatory This method must be implemented.
MethodclearSupplierIdTerms
Description

Clears the supplier Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsSupplierQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuery the supplier query
ErrorsUNIMPLEMENTED supportsSupplierQuery() is false
Compliancemandatory This method must be implemented.
MethodmatchAnySupplier
Description

Matches pools that have any supplier.

Parametersbooleanmatch true to match pools with any supplier, false to match pools with no supplier
Compliancemandatory This method must be implemented.
MethodclearSupplierTerms
Description

Clears the supplier query terms.

Compliancemandatory This method must be implemented.
MethodmatchProvisionableId
Description

Sets the provisionable Id for this query.

Parametersosid.id.IdprovisionableId the provisionable Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT provisionableId is null
Compliancemandatory This method must be implemented.
MethodclearProvisionableIdTerms
Description

Clears the provisionable Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsProvisionableQuery
Description

Tests if a ProvisionableQuery is available.

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

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

Returnosid.provisioning.ProvisionableQuery the provisionable query
ErrorsUNIMPLEMENTED supportsProvisionableQuery() is false
Complianceoptional This method must be implemented if supportsProvisionableQuery() is true.
MethodmatchAnyProvisionable
Description

Matches pools that have any provisionable.

Parametersbooleanmatch true to match pools with any provisionable, false to match pools with no provisionable
Compliancemandatory This method must be implemented.
MethodclearProvisionableTerms
Description

Clears the provisionable query terms.

Compliancemandatory This method must be implemented.
MethodmatchSize
Description

Matches pools of the given size inclusive.

Parameterscardinalstart start of range
cardinalend end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is greater than end
Compliancemandatory This method must be implemented.
MethodmatchAnySize
Description

Matches pools with any known size.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearSizeTerms
Description

Clears the size query terms.

Compliancemandatory This method must be implemented.
MethodmatchDistributorId
Description

Sets the distributor Id for this query to match queues assigned to distributors.

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

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

Parametersosid.type.TypepoolRecordType a pool record type
Returnosid.provisioning.records.PoolQueryRecord the pool query record
ErrorsNULL_ARGUMENT poolRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(poolRecordType) is false
Compliancemandatory This method must be implemented.