| Interface | osid.assessment.AssessmentTakenLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | This session defines methods for retrieving assessments taken. This lookup session defines several views: 
  The methods   Assessments taken may have a record 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 | canLookupAssessmentsTaken | ||
| 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 | useComparativeAssessmentTakenView | ||
| Description | The returns from the lookup methods may omit or translate elements based on this session, such as assessment, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | usePlenaryAssessmentTakenView | ||
| Description | A complete view of the  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedBankView | ||
| Description | Federates the view for methods in this session. A federated view will include assessments in banks which are children of this bank in the bank hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedBankView | ||
| Description | Isolates the view for methods in this session. An isolated view restricts lookups to this bank only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAssessmentTaken | ||
| Description | Gets the  | ||
| Parameters | osid.id.Id | assessmentTakenId |  Id of the AssessmentTaken  | 
| Return | osid.assessment.AssessmentTaken | the assessment taken | |
| Errors | NOT_FOUND |  assessmentTakenId not found | |
| NULL_ARGUMENT |  assessmentTakenId is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAssessmentsTakenByIds | ||
| Description | Gets an  | ||
| Parameters | osid.id.IdList | assessmentTakenIds | the list of  Ids to retrieve | 
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list  | |
| Errors | NOT_FOUND | an  Id was not found | |
| NULL_ARGUMENT |  assessmentTakenIds is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | assessment failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenByGenusType | ||
| Description | Gets an  | ||
| Parameters | osid.type.Type | assessmentTakenGenusType | an assessment taken genus type | 
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list  | |
| Errors | NULL_ARGUMENT |  assessmentTakenGenusType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenByParentGenusType | ||
| Description | Gets an  | ||
| Parameters | osid.type.Type | assessmentTakenGenusType | an assessment taken genus type | 
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list  | |
| Errors | NULL_ARGUMENT |  assessmentTakenGenusType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenByRecordType | ||
| Description | Gets an  | ||
| Parameters | osid.type.Type | assessmentTakenRecordType | an assessment taken record type | 
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | NULL_ARGUMENT |  assessmentTakenRecordType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenByDate | ||
| Description | Gets an  | ||
| Parameters | osid.calendaring.DateTime | from | start date | 
| osid.calendaring.DateTime | to | end date | |
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | INVALID_ARGUMENT |  from is greater than to  | |
| NULL_ARGUMENT |  from or to is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenForTaker | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | resourceId |  Id of a Resource  | 
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | NULL_ARGUMENT |  resourceId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenByDateForTaker | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | resourceId |  Id of a Resource  | 
| osid.calendaring.DateTime | from | start date | |
| osid.calendaring.DateTime | to | end date | |
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | INVALID_ARGUMENT |  from is greater than to  | |
| NULL_ARGUMENT |  resourceId, from or to is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenForAssessment | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | assessmentId |  Id of an Assessment  | 
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | NULL_ARGUMENT |  assessmentId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenByDateForAssessment | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | assessmentId |  Id of an Assessment  | 
| osid.calendaring.DateTime | from | start date | |
| osid.calendaring.DateTime | to | end date | |
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | INVALID_ARGUMENT |  from is greater than to  | |
| NULL_ARGUMENT |  assessmentId, from or to is null 
 | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenForTakerAndAssessment | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | resourceId |  Id of a Resource  | 
| osid.id.Id | assessmentId |  Id of an Assessment  | |
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | NULL_ARGUMENT |  resourceId or assessmentId is null 
 | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenByDateForTakerAndAssessment | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | resourceId |  Id of a Resource  | 
| osid.id.Id | assessmentId |  Id of an Assessment  | |
| osid.calendaring.DateTime | from | start date | |
| osid.calendaring.DateTime | to | end date | |
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | INVALID_ARGUMENT |  from is greater than to  | |
| NULL_ARGUMENT |  resourceId, assessmentId, from or to is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenForAssessmentOffered | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | assessmentOfferedId |  Id of an AssessmentOffered  | 
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | NULL_ARGUMENT |  assessmentOfferedId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenByDateForAssessmentOffered | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | assessmentOfferedId |  Id of an AssessmentOffered  | 
| osid.calendaring.DateTime | from | start date | |
| osid.calendaring.DateTime | to | end date | |
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | INVALID_ARGUMENT |  from is greater than to  | |
| NULL_ARGUMENT |  assessmentOfferedId, from, or to is 
null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenForTakerAndAssessmentOffered | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | resourceId |  Id of a Resource  | 
| osid.id.Id | assessmentOfferedId |  Id of an AssessmentOffered  | |
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | NULL_ARGUMENT |  resourceId or assessmenOfferedtId is 
null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTakenByDateForTakerAndAssessmentOffered | ||
| Description | Gets an  | ||
| Parameters | osid.id.Id | resourceId |  Id of a Resource  | 
| osid.id.Id | assessmentOfferedId |  Id of an AssessmentOffered  | |
| osid.calendaring.DateTime | from | start date | |
| osid.calendaring.DateTime | to | end date | |
| Return | osid.assessment.AssessmentTakenList | the returned  AssessmentTaken list | |
| Errors | INVALID_ARGUMENT |  from is greater than to  | |
| NULL_ARGUMENT |  resourceId, assessmentOfferedId, from, or to is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsTaken | ||
| Description | Gets all  | ||
| Return | osid.assessment.AssessmentTakenList | a list of  AssessmentTaken elements | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |