OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.Request
Implementsosid.OsidRelationship
Used Byosid.provisioning.ExchangeSession
osid.provisioning.Provision
osid.provisioning.RequestAdminSession
osid.provisioning.RequestList
osid.provisioning.RequestLookupSession
Description

A Request is an entry in a Queue . It is a relationship berween a Queue and a Resource qualified by a Pool. A request is inactive if the queue is disabled.

MethodgetRequestTransactionId
Description

Gets the Id of the transaction in which this request is a part. Requests can be made individually or as part of a transaction group to provide an atomic compound request.

Returnosid.id.Id the request transaction Id
Compliancemandatory This method must be implemented.
MethodgetRequestTransaction
Description

Gets the Id of the transaction in which this request is a part. Requests can be made individually or as part of a transaction group to provide an atomic compound request.

Returnosid.provisioning.RequestTransaction the request transaction
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetQueueId
Description

Gets the Id of the queue.

Returnosid.id.Id the queue Id
Compliancemandatory This method must be implemented.
MethodgetQueue
Description

Gets the queue.

Returnosid.provisioning.Queue the queue
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetRequestDate
Description

Gets the date of the request.

Returnosid.calendaring.DateTime the request date
Compliancemandatory This method must be implemented.
MethodgetRequesterId
Description

Gets the Id of the queued resource.

Returnosid.id.Id the resource Id
Compliancemandatory This method must be implemented.
MethodgetRequester
Description

Gets the queued resource.

Returnosid.resource.Resource the resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetRequestingAgentId
Description

Gets the Id of the requesting agent.

Returnosid.id.Id the agent Id
Compliancemandatory This method must be implemented.
MethodgetRequestingAgent
Description

Gets the requesting agent.

Returnosid.authentication.Agent the requesting agent
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasPool
Description

Tests if this request is qualified by a pool. An unqualified request may be allocated out of any pool in the broker.

Returnboolean true if this request has a pool, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPoolId
Description

Gets the Id of the pool.

Returnosid.id.Id the pool Id
ErrorsILLEGAL_STATE hasPool() is false
Compliancemandatory This method must be implemented.
MethodgetPool
Description

Gets the pool.

Returnosid.provisioning.Pool the pool
ErrorsILLEGAL_STATE hasPool() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetRequestedProvisionableIds
Description

Gets the Ids of the requested provisionables.

Returnosid.id.IdList the requested provisionable Ids
Compliancemandatory This method must be implemented.
MethodgetRequestedProvisionables
Description

Gets the requested provisionables.

Returnosid.provisioning.ProvisionableList the requested provisionables
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodisExchange
Description

Tests if this request was created to exchange a provision.

Returnboolean true if this request is an exchange request, false otherwise
Compliancemandatory This method must be implemented.
MethodgetExchangeProvisionId
Description

Gets the Id of the provision to be exchanged if this request is provisioned.

Returnosid.id.Id the exchange provision Id
ErrorsILLEGAL_STATE isExchange() is false
Compliancemandatory This method must be implemented.
MethodgetExchangeProvision
Description

Gets the provision to be exchanged if this request is provisioned.

Returnosid.provisioning.Provision the exchange provision
ErrorsILLEGAL_STATE isExchange() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodisProvisionResult
Description

Tests if this request was created as a result of another provision.

Returnboolean true if this request is a provision result, false otherwise
Compliancemandatory This method must be implemented.
MethodgetOriginProvisionId
Description

Gets the Id of the provision that resulted in this request.

Returnosid.id.Id the origin provision Id
ErrorsILLEGAL_STATE isProvisionResult() is f alse
Compliancemandatory This method must be implemented.
MethodgetOriginProvision
Description

Gets the provision that resulted in this request.

Returnosid.provisioning.Provision the origin provision
ErrorsILLEGAL_STATE isProvisionResult() is f alse
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasPosition
Description

Tests if this request has a position in the queue. A position may be indicate the rank of the request among waiting requests for the same pool.

Returnboolean true if this request has a position, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPosition
Description

Gets the position of this request in the queue. A position may be indicate the rank of the request among waiting request for the same pool.

Returninteger the position
ErrorsILLEGAL_STATE hasPosition() is false
Compliancemandatory This method must be implemented.
MethodhasEWA
Description

Tests if there is an estimated waiting time for a provision out of the pool.

Returnboolean true if this request has an estimated time, false otherwise
Compliancemandatory This method must be implemented.
MethodgetEWA
Description

Gets the estimated waiting time for a provision out of the pool.

Returnosid.calendaring.Duration the estimated waiting time
ErrorsILLEGAL_STATE hasEWA() is false
Compliancemandatory This method must be implemented.
MethodgetRequestRecord
Description

Gets the request record corresponding to the given Request record Type.This method is used to retrieve an object implementing the requested record. The requestRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(requestRecordType) is true.

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