OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.ProvisionQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.provisioning.DistributorQuery
osid.provisioning.ProvisionQuerySession
osid.provisioning.ProvisionSearchSession
osid.provisioning.ProvisionSmartDistributorSession
osid.provisioning.RequestQuery
osid.provisioning.rules.ProvisionEnablerQuery
osid.provisioning.rules.ProvisionEnablerSmartDistributorSession
Description

This is the query for searching provisions. 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 supportBrokerQuery() is true.
MethodclearBrokerTerms
Description

Clears the broker 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 Provisionable. 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.
MethodclearProvisionableTerms
Description

Clears the provisionable query terms.

Compliancemandatory This method must be implemented.
MethodmatchRecipientId
Description

Sets the recipient 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.
MethodclearRecipientIdTerms
Description

Clears the recipient Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRecipientQuery
Description

Tests if a RecipientQuery is available.

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

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

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

Clears the recipient query terms.

Compliancemandatory This method must be implemented.
MethodmatchRequestId
Description

Sets the request Id for this query.

Parametersosid.id.IdrequestId the request Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT requestId is null
Compliancemandatory This method must be implemented.
MethodclearRequestIdTerms
Description

Clears the request Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRequestQuery
Description

Tests if a RequestQuery is available.

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

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

Returnosid.provisioning.RequestQuery the request query
ErrorsUNIMPLEMENTED supportsRequestQuery() is false
Complianceoptional This method must be implemented if supportsRequestQuery() is true.
MethodmatchAnyRequest
Description

Matches provisions with any request.

Parametersbooleanmatch true to match provisions with a request, false to match provisions with no requests
Compliancemandatory This method must be implemented.
MethodclearRequestTerms
Description

Clears the request query terms.

Compliancemandatory This method must be implemented.
MethodmatchProvisionDate
Description

Matches provisions with a provision date in the given range inclusive.

Parametersosid.calendaring.DateTimefrom the range start
osid.calendaring.DateTimeto the range end
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodclearProvisionDateTerms
Description

Clears the provision date query terms.

Compliancemandatory This method must be implemented.
MethodmatchLeased
Description

Matches provisions that are leases.

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

Clears the leased query terms.

Compliancemandatory This method must be implemented.
MethodmatchMustReturn
Description

Matches provisions that must be returned.

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

Clears the must return query terms.

Compliancemandatory This method must be implemented.
MethodmatchDueDate
Description

Matches leased provisions with a due date within the given range inclusive.

Parametersosid.calendaring.DateTimefrom the range start
osid.calendaring.DateTimeto the range end
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyDueDate
Description

Matches provisions with any due date.

Parametersbooleanmatch true to match provisions with a due date, false to match provisions with no due date
Compliancemandatory This method must be implemented.
MethodclearDueDateTerms
Description

Clears the due date query terms.

Compliancemandatory This method must be implemented.
MethodmatchCost
Description

Matches leased provisions with a cost within the given range inclusive.

Parametersosid.financials.Currencyfrom the range start
osid.financials.Currencyto the range end
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyCost
Description

Matches provisions with any cost.

Parametersbooleanmatch true to match provisions with a cost, false to match provisions with no cost
Compliancemandatory This method must be implemented.
MethodclearCostTerms
Description

Clears the cost query terms.

Compliancemandatory This method must be implemented.
MethodmatchRateAmount
Description

Matches leased provisions with a rate amount within the given range inclusive.

Parametersosid.financials.Currencyfrom the range start
osid.financials.Currencyto the range end
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyRateAmount
Description

Matches provisions with any rate amount.

Parametersbooleanmatch true to match provisions with a rate, false to match provisions with no rate
Compliancemandatory This method must be implemented.
MethodclearRateAmountTerms
Description

Clears the rate amount query terms.

Compliancemandatory This method must be implemented.
MethodmatchRatePeriod
Description

Matches leased provisions with a rate period within the given range inclusive.

Parametersosid.calendaring.Durationfrom the range start
osid.calendaring.Durationto the range end
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyRatePeriod
Description

Matches provisions with any rate period.

Parametersbooleanmatch true to match provisions with a rate period, false to match provisions with no rate period
Compliancemandatory This method must be implemented.
MethodclearRatePeriodTerms
Description

Clears the rate period query terms.

Compliancemandatory This method must be implemented.
MethodsupportsProvisionReturnQuery
Description

Tests if a ProvisionReturn is available.

Returnboolean true if a provision return query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetProvisionReturnQuery
Description

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

Returnosid.provisioning.ProvisionReturnQuery the provision return query
ErrorsUNIMPLEMENTED supportsProvisionReturnQuery() is false
Complianceoptional This method must be implemented if supportsProvisionReturnQuery() is true.
MethodmatchAnyProvisionReturn
Description

Matches provisions with any provision return.

Parametersbooleanmatch true to match provisions with a provision return, false to match provisions with no provision return
Compliancemandatory This method must be implemented.
MethodclearProvisionReturnTerms
Description

Clears the provision return query terms.

Compliancemandatory This method must be implemented.
MethodmatchDistributorId
Description

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

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

Parametersosid.type.TypeprovisionRecordType a provision record type
Returnosid.provisioning.records.ProvisionQueryRecord the provision query record
ErrorsNULL_ARGUMENT provisionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(provisionRecordType) is false
Compliancemandatory This method must be implemented.