OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.RequestQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.provisioning.ProvisionQuery
osid.provisioning.QueueQuery
osid.provisioning.RequestQuerySession
osid.provisioning.RequestSearchSession
osid.provisioning.RequestSmartDistributorSession
osid.provisioning.RequestTransactionQuery
Description

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

MethodmatchRequestTransactionId
Description

Sets the request transaction Id for this query.

Parametersosid.id.IdtransactionId the request transaction Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT transactionId is null
Compliancemandatory This method must be implemented.
MethodclearRequestTransactionIdTerms
Description

Clears the request transaction Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRequestTransactionQuery
Description

Tests if a RequestTransactionQuery is available.

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

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

Returnosid.provisioning.RequestTransactionQuery the request transaction query
ErrorsUNIMPLEMENTED supportsRequestTransactionQuery() is false
Complianceoptional This method must be implemented if supportsRequestTransactionQuery() is true.
MethodclearRequestTransactionTerms
Description

Clears the request transaction query terms.

Compliancemandatory This method must be implemented.
MethodmatchQueueId
Description

Sets the queue Id for this query.

Parametersosid.id.IdqueueId the queue Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT queueId is null
Compliancemandatory This method must be implemented.
MethodclearQueueIdTerms
Description

Clears the queue Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsQueueQuery
Description

Tests if a QueueQuery is available.

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

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

Returnosid.provisioning.QueueQuery the queue query
ErrorsUNIMPLEMENTED supportsQueueQuery() is false
Complianceoptional This method must be implemented if supportsQueueQuery() is true.
MethodclearQueueTerms
Description

Clears the queue query terms.

Compliancemandatory This method must be implemented.
MethodmatchRequestDate
Description

Matches requests with a 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.
MethodclearRequestDateTerms
Description

Clears the request date query terms.

Compliancemandatory This method must be implemented.
MethodmatchRequesterId
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.
MethodclearRequesterIdTerms
Description

Clears the resource Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRequesterQuery
Description

Tests if a ResourceQuery is available.

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

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

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

Clears the resource query terms.

Compliancemandatory This method must be implemented.
MethodmatchRequestingAgentId
Description

Sets the agent Id for this query.

Parametersosid.id.IdagentId the agent Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
Compliancemandatory This method must be implemented.
MethodclearRequestingAgentIdTerms
Description

Clears the agent Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRequestingAgentQuery
Description

Tests if an AgentQuery is available.

Returnboolean true if an agent query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRequestingAgentQuery
Description

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

Returnosid.authentication.AgentQuery the agent query
ErrorsUNIMPLEMENTED supportsRequestingAgentQuery() is false
Complianceoptional This method must be implemented if supportsRequestingAgentQuery() is true.
MethodclearRequestingAgentTerms
Description

Clears the agent query terms.

Compliancemandatory This method must be implemented.
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 supportsResourceQuery() is true.
MethodmatchAnyPool
Description

Matches requests with any pool.

Parametersbooleanmatch true to match requests with any poo, false to match requests with no pool
Compliancemandatory This method must be implemented.
MethodclearPoolTerms
Description

Clears the pool query terms.

Compliancemandatory This method must be implemented.
MethodmatchRequestedProvisionableId
Description

Sets the requested 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.
MethodclearRequestedProvisionableIdTerms
Description

Clears the requested provisionable Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRequestedProvisionableQuery
Description

Tests if a ProvisionableQuery is available.

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

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

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

Matches requests with any requested provisionable.

Parametersbooleanmatch true to match requests with any requested provisionable, false to match requests with no requested provisionables
Compliancemandatory This method must be implemented.
MethodclearRequestedProvisionableTerms
Description

Clears the requested provisionable query terms.

Compliancemandatory This method must be implemented.
MethodmatchExchangeProvisionId
Description

Sets the exchange provision Id for this query.

Parametersosid.id.IdprovisionId the provision Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT provisionId is null
Compliancemandatory This method must be implemented.
MethodclearExchangeProvisionIdTerms
Description

Clears the exchange provision Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsExchangeProvisionQuery
Description

Tests if a ProvisionQuery is available.

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

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

Returnosid.provisioning.ProvisionQuery the provision query
ErrorsUNIMPLEMENTED supportsExchangeProvisionQuery() is false
Complianceoptional This method must be implemented if supportsExchangeProvisionQuery() is true.
MethodmatchAnyExchangeProvision
Description

Matches requests with any exchange provision.

Parametersbooleanmatch true to match requests with any exchange provision, false to match requests with no exchange provision
Compliancemandatory This method must be implemented.
MethodclearExchangeProvisionTerms
Description

Clears the exchange provision query terms.

Compliancemandatory This method must be implemented.
MethodmatchOriginProvisionId
Description

Sets the origin provision Id for this query.

Parametersosid.id.IdprovisionId the provision Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT provisionId is null
Compliancemandatory This method must be implemented.
MethodclearOriginProvisionIdTerms
Description

Clears the origin provision Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsOriginProvisionQuery
Description

Tests if a ProvisionQuery is available.

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

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

Returnosid.provisioning.ProvisionQuery the provision query
ErrorsUNIMPLEMENTED supportsOriginProvisionQuery() is false
Complianceoptional This method must be implemented if supportsOriginProvisionQuery() is true.
MethodmatchAnyOriginProvision
Description

Matches requests with any originating provision.

Parametersbooleanmatch true to match requests with any originating provision, false to match requests with no origininating provision
Compliancemandatory This method must be implemented.
MethodclearOriginProvisionTerms
Description

Clears the origin provision query terms.

Compliancemandatory This method must be implemented.
MethodmatchPosition
Description

Matches requests whose position is in the given range inclusive,.

Parametersintegerstart start of range
integerend 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.
MethodmatchAnyPosition
Description

Matches requests with any position.

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

Clears the position query terms.

Compliancemandatory This method must be implemented.
MethodmatchEWA
Description

Matches requests whose estimated waiting time is in the given range inclusive,.

Parametersosid.calendaring.Durationstart start of range
osid.calendaring.Durationend end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is greater than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnyEWA
Description

Matches requests with any ewa.

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

Clears the ewa query terms.

Compliancemandatory This method must be implemented.
MethodmatchDistributorId
Description

Sets the distributor Id for this query.

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 supportDistributorQuery() 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.
MethodgetRequestQueryRecord
Description

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

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