OSID Logo
OSID Specifications
osid package
Version 3.1.0
Interfaceosid.OsidRequest
Implementsosid.OsidObject
Implemented Byosid.course.registration.request.RegistrationRequest
Description

OsidRequest is the top level interface for OsidObjects used to submit and process transactional requests. An OsidRequest typically has a submitting Agent and is acommpanied by a set of request item Subjugateables reprsenting the parts or line items of the OsidReques t.

OsidRequests have an explicit state model:
  • not submitted
  • submitted
  • processed
  • error
  • cancelled

Additional states may be added through an OsidRecord or orchestrated Process.

MethodgetPostingDate
Description

Gets the posting date of the request.

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

Gets the Id of the requester.

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

Gets the requester.

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

Tests if this request has been submitted.

Returnboolean true if this request has been submitted, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSubmittedDate
Description

Gets the date the request was submitted.

Returnosid.calendaring.DateTime the submission date
ErrorsILLEGAL_STATE isSubmitted() is false
Compliancemandatory This method must be implemented.
MethodgetSubmitterId
Description

Gets the Id of the submittor.

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

Gets the submittor.

Returnosid.resource.Resource the resource
ErrorsILLEGAL_STATE isSubmitted() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetSubmittingAgentId
Description

Gets the Id of the submitting agent.

Returnosid.id.Id the submitting agent Id
ErrorsILLEGAL_STATE isSubmitted() is false
Compliancemandatory This method must be implemented.
MethodgetSubmittingAgent
Description

Gets the submitting agent.

Returnosid.authentication.Agent the submitting agent
ErrorsILLEGAL_STATE isSubmitted() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodisCanceled
Description

Tests if this request has been canceled.

Returnboolean true if this request has been canceled, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCanceledDate
Description

Gets the date the request was canceled.

Returnosid.calendaring.DateTime the cancel date
ErrorsILLEGAL_STATE isCanceled() is false
Compliancemandatory This method must be implemented.
MethodisProcessed
Description

Tests if this request has been processed.

Returnboolean true if this request has been processed, false otherwise
Compliancemandatory This method must be implemented.
MethodgetProcessedDate
Description

Gets the date the request processing completed.

Returnosid.calendaring.DateTime the procsssed date
ErrorsILLEGAL_STATE isProcessed() is false
Compliancemandatory This method must be implemented.
MethodhasError
Description

Tests if this request has been processed but not fulfilled due to error.

Returnboolean true if this request has error, false otherwise
Compliancemandatory This method must be implemented.
MethodgetErrorId
Description

Gets the Id of the error state.

Returnosid.id.Id the state Id
ErrorsILLEGAL_STATE hasError() is false
Compliancemandatory This method must be implemented.
MethodgetError
Description

Gets the error state.

Returnosid.process.State the state
ErrorsILLEGAL_STATE hasError() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.