OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.RequestQuery
Implementsosid.OsidRelationshipQuery
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.IdtransactionIdthe request transaction Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT transactionId is null
CompliancemandatoryThis method must be implemented.
MethodclearRequestTransactionIdTerms
Description

Clears the request transaction Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRequestTransactionQuery
Description

Tests if a RequestTransactionQuery is available.

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

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

Returnosid.provisioning.RequestTransactionQuerythe request transaction query
ErrorsUNIMPLEMENTED supportsRequestTransactionQuery() is false
ComplianceoptionalThis method must be implemented if supportsRequestTransactionQuery() is true.
MethodclearRequestTransactionTerms
Description

Clears the request transaction query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchQueueId
Description

Sets the queue Id for this query.

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

Clears the queue Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsQueueQuery
Description

Tests if a QueueQuery is available.

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

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

Returnosid.provisioning.QueueQuerythe queue query
ErrorsUNIMPLEMENTED supportsQueueQuery() is false
ComplianceoptionalThis method must be implemented if supportsQueueQuery() is true.
MethodclearQueueTerms
Description

Clears the queue query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequestDate
Description

Matches requests with a date in the given range inclusive.

Parametersosid.calendaring.DateTimefromthe range start
osid.calendaring.DateTimetothe 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
CompliancemandatoryThis method must be implemented.
MethodclearRequestDateTerms
Description

Clears the request date query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequesterId
Description

Sets the resource Id for this query.

Parametersosid.id.IdresourceIdthe resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearRequesterIdTerms
Description

Clears the resource Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRequesterQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuerythe resource query
ErrorsUNIMPLEMENTED supportsRequesterQuery() is false
ComplianceoptionalThis method must be implemented if supportsRequesterQuery() is true.
MethodclearRequesterTerms
Description

Clears the resource query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequestingAgentId
Description

Sets the agent Id for this query.

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

Clears the agent Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRequestingAgentQuery
Description

Tests if an AgentQuery is available.

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

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

Returnosid.authentication.AgentQuerythe agent query
ErrorsUNIMPLEMENTED supportsRequestingAgentQuery() is false
ComplianceoptionalThis method must be implemented if supportsRequestingAgentQuery() is true.
MethodclearRequestingAgentTerms
Description

Clears the agent query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchPoolId
Description

Sets the pool Id for this query.

Parametersosid.id.IdpoolIdthe pool Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT poolId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsPoolQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearPoolTerms
Description

Clears the pool query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequestedProvisionableId
Description

Sets the requested provisionable Id for this query.

Parametersosid.id.IdprovisionableIdthe provisionable Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT provisionableId is null
CompliancemandatoryThis method must be implemented.
MethodclearRequestedProvisionableIdTerms
Description

Clears the requested provisionable Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRequestedProvisionableQuery
Description

Tests if a ProvisionableQuery is available.

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

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

Returnosid.provisioning.ProvisionableQuerythe provisionable query
ErrorsUNIMPLEMENTED supportsRequestedprovisionableQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearRequestedProvisionableTerms
Description

Clears the requested provisionable query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchExchangeProvisionId
Description

Sets the exchange provision Id for this query.

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

Clears the exchange provision Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsExchangeProvisionQuery
Description

Tests if a ProvisionQuery is available.

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

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

Returnosid.provisioning.ProvisionQuerythe provision query
ErrorsUNIMPLEMENTED supportsExchangeProvisionQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearExchangeProvisionTerms
Description

Clears the exchange provision query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchOriginProvisionId
Description

Sets the origin provision Id for this query.

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

Clears the origin provision Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsOriginProvisionQuery
Description

Tests if a ProvisionQuery is available.

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

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

Returnosid.provisioning.ProvisionQuerythe provision query
ErrorsUNIMPLEMENTED supportsOriginProvisionQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearOriginProvisionTerms
Description

Clears the origin provision query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchPosition
Description

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

Parametersintegerstartstart of range
integerendend of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is greater than end
CompliancemandatoryThis method must be implemented.
MethodmatchAnyPosition
Description

Matches requests with any position.

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

Clears the position query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchEWA
Description

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

Parametersosid.calendaring.Durationstartstart of range
osid.calendaring.Durationendend 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
CompliancemandatoryThis method must be implemented.
MethodmatchAnyEWA
Description

Matches requests with any ewa.

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

Clears the ewa query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDistributorId
Description

Sets the distributor Id for this query.

Parametersosid.id.IddistributorIdthe distributor Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT distributorId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportDistributorQuery() is false
ComplianceoptionalThis method must be implemented if supportsDistributorQuery() is true.
MethodclearDistributorTerms
Description

Clears the distributor query terms.

CompliancemandatoryThis 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.TyperequestRecordTypea request record type
Returnosid.provisioning.records.RequestQueryRecordthe request query record
ErrorsNULL_ARGUMENT requestRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(requestRecordType) is false
CompliancemandatoryThis method must be implemented.