OSID Logo
OSID Specifications
provisioning package
Version 3.0.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.IdpoolIdthe pool Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTpoolId is null
CompliancemandatoryThis method must be implemented.
MethodclearPoolIdTerms
Description

Clears the pool Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsPoolQuery
Description

Tests if a PoolQuery is available.

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

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

Returnosid.provisioning.PoolQuerythe pool query
ErrorsUNIMPLEMENTEDsupportsPoolQuery() is false
ComplianceoptionalThis method must be implemented if supportsPoolQuery() is true .
MethodclearPoolTerms
Description

Clears the pool query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchResourceId
Description

Sets the resource Id for this query.

Parametersosid.id.IdresourceIdthe resource Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearResourceIdTerms
Description

Clears the resource Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuerythe resource query
ErrorsUNIMPLEMENTEDsupportsResourceQuery() is false
ComplianceoptionalThis method must be implemented if supportsResourceQuery() is true .
MethodclearResourceTerms
Description

Clears the resource query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchUse
Description

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

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

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

Parametersosid.type.TypeprovisionableRecordTypea provisionable record type
Returnosid.provisioning.records.ProvisionableQueryRecordthe provisionable query record
ErrorsNULL_ARGUMENTprovisionableRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(provisionableRecordType) is false
CompliancemandatoryThis method must be implemented.