OSID Logo
OSID Specifications
provisioning package
Version 3.0.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.IdtransactionIdthe request transaction Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTtransactionId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsRequestTransactionQuery() 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTqueueId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsQueueQuery() 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTfrom is greater than to
NULL_ARGUMENTfrom 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsRequesterQuery() 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTagentId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsRequestingAgentQuery() 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
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 supportsResourceQuery() is true .
MethodmatchAnyPool
Description

Matches requests with any pool.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprovisionableId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsRequestedprovisionableQuery() is false
ComplianceoptionalThis method must be implemented if supportsRequestedProvisionableQuery() is true .
MethodmatchAnyRequestedProvisionable
Description

Matches requests with any requested provisionable.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprovisionId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsExchangeProvisionQuery() is false
ComplianceoptionalThis method must be implemented if supportsExchangeProvisionQuery() is true .
MethodmatchAnyExchangeProvision
Description

Matches requests with any exchange provision.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprovisionId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsOriginProvisionQuery() is false
ComplianceoptionalThis method must be implemented if supportsOriginProvisionQuery() is true .
MethodmatchAnyOriginProvision
Description

Matches requests with any originating provision.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstart is greater than end
CompliancemandatoryThis method must be implemented.
MethodmatchAnyPosition
Description

Matches requests with any position.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstart is greater than end
NULL_ARGUMENTstart or end is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyEWA
Description

Matches requests with any ewa.

Parametersbooleanmatchtrue 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
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
ErrorsUNIMPLEMENTEDsupportDistributorQuery() 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_ARGUMENTrequestRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(requestRecordType) is false
CompliancemandatoryThis method must be implemented.