OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.MyAssessmentTakenSession
Implementsosid.OsidSession
Description

This session defines methods for retrieving assessments taken by the authenticated agent. An AssessmentTaken is created using the AssessmentTakenAdminSession.

Assessments taken may have an additional records indicated by their respective record types. The record is accessed via the AssessmentTaken. The returns may not be cast directly from the returns in the lookup methods.

MethodgetBankId
Description

Gets the Bank Id associated with this session.

Returnosid.id.Idthe Bank Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetBank
Description

Gets the Bank associated with this session.

Returnosid.assessment.Bankthe Bank associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanGetMyTakenAssessments
Description

Tests if this user can perform AssessmentOffered lookups. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.

Returnboolean false if lookup methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentsStartedDuring
Description

Gets all the assessments started by this agent during the given period of time inclusive.

Parametersosid.calendaring.DateTimestartstart time
osid.calendaring.DateTimeendend time
Returnosid.assessment.AssessmentTakenListthe started assessments
ErrorsINVALID_ARGUMENT end is less than start
NULL_ARGUMENT start or end is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentsStarted
Description

Gets all the assessments started by this agent.

Returnosid.assessment.AssessmentTakenListthe started assessments
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentsInProgressDuring
Description

Gets all the assessments in progress by this agent overlapping with the given period of time inclusive.

Parametersosid.calendaring.DateTimestartstart time
osid.calendaring.DateTimeendend time
Returnosid.assessment.AssessmentTakenListthe in progress assessments
ErrorsINVALID_ARGUMENT end is less than start
NULL_ARGUMENT start or end is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentsInProgress
Description

Gets all the assessments started but not completed by this agent.

Returnosid.assessment.AssessmentTakenListthe assessments in progress
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentsCompleted
Description

Gets all the assessments completed by this agent.

Returnosid.assessment.AssessmentTakenListthe completed assessments
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.