| Interface | osid.assessment.MyAssessmentTakenSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods for retrieving assessments 
                taken by the authenticated agent. An   Assessments taken may have an additional records indicated 
                by their respective record types. The record is accessed via 
                the   | ||
| Method | getBankId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Bank Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBank | ||
| Description | 
                     Gets the   | ||
| Return | osid.assessment.Bank | the  Bank  associated with this session  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canGetMyTakenAssessments | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if lookup methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsStartedDuring | ||
| Description | 
                     Gets all the assessments started by this agent during the given period of time inclusive.  | ||
| Parameters | osid.calendaring.DateTime | start | start time | 
osid.calendaring.DateTime | end | end time | |
| Return | osid.assessment.AssessmentTakenList | the started assessments | |
| Errors | INVALID_ARGUMENT |  end  is less than  start   |                 |
| NULL_ARGUMENT |  start  or  end  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsStarted | ||
| Description | 
                     Gets all the assessments started by this agent.  | ||
| Return | osid.assessment.AssessmentTakenList | the started assessments | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsInProgressDuring | ||
| Description | 
                     Gets all the assessments in progress by this agent overlapping with the given period of time inclusive.  | ||
| Parameters | osid.calendaring.DateTime | start | start time | 
osid.calendaring.DateTime | end | end time | |
| Return | osid.assessment.AssessmentTakenList | the in progress assessments | |
| Errors | INVALID_ARGUMENT |  end  is less than  start   |                 |
| NULL_ARGUMENT |  start  or  end  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsInProgress | ||
| Description | 
                     Gets all the assessments started but not completed by this agent.  | ||
| Return | osid.assessment.AssessmentTakenList | the assessments in progress | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsCompleted | ||
| Description | 
                     Gets all the assessments completed by this agent.  | ||
| Return | osid.assessment.AssessmentTakenList | the completed assessments | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |