OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.ProvisionableQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.provisioning.PoolQuery
osid.provisioning.ProvisionQuery
osid.provisioning.ProvisionableQuerySession
osid.provisioning.ProvisionableSearchSession
osid.provisioning.ProvisionableSmartDistributorSession
osid.provisioning.RequestQuery
osid.provisioning.rules.ProvisionableEnablerQuery
osid.provisioning.rules.ProvisionableEnablerSmartDistributorSession
Description

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

MethodmatchPoolId
Description

Sets the pool Id for this query.

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

Clears the pool Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsPoolQuery
Description

Tests if a PoolQuery is available.

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

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

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

Clears the pool query terms.

Compliancemandatory This method must be implemented.
MethodmatchResourceId
Description

Sets the resource Id for this query.

Parametersosid.id.IdresourceId the resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearResourceIdTerms
Description

Clears the resource Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsResourceQuery() is false
Complianceoptional This method must be implemented if supportsResourceQuery() is true.
MethodclearResourceTerms
Description

Clears the resource query terms.

Compliancemandatory This method must be implemented.
MethodmatchUse
Description

Matches provisionables provisioned the number of times in the given range 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.
MethodclearUseTerms
Description

Clears the position 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 broker 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.
MethodgetProvisionableQueryRecord
Description

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

Parametersosid.type.TypeprovisionableRecordType a provisionable record type
Returnosid.provisioning.records.ProvisionableQueryRecord the provisionable query record
ErrorsNULL_ARGUMENT provisionableRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(provisionableRecordType) is false
Compliancemandatory This method must be implemented.