| Interface | osid.assessment.AssessmentOfferedBankSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines two views: 
  | ||
| Method | canLookupAssessmentOfferedBankMappings | ||
| Description | 
                     Tests if this user can perform lookups of assessment 
                    offered/bank mappings. A return of true does not guarantee 
                    successful authorization. A return of false indicates that 
                    it is known lookup methods in this session will result in 
                    a   | ||
| Return | boolean |  false  if looking up mappings is not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeBankView | ||
| 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 | usePlenaryBankView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAssessmentOfferedIdsByBank | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | bankId |  Id  of the  Bank   | 
| Return | osid.id.IdList | list of related assessment offered  Ids   | |
| Errors | NOT_FOUND |  bankId  is not found  |                 |
| NULL_ARGUMENT |  bankId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsOfferedByBank | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | bankId |  Id  of the  Bank   | 
| Return | osid.assessment.AssessmentOfferedList | list of related assessments offered | |
| Errors | NOT_FOUND |  bankId  is not found  |                 |
| NULL_ARGUMENT |  bankId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentOfferedIdsByBanks | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | bankIds | list of bank  Ids   | 
| Return | osid.id.IdList | list of bank  Ids   | |
| Errors | NULL_ARGUMENT |  bankIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsOfferedByBanks | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | bankIds | list of bank  Ids   | 
| Return | osid.assessment.AssessmentOfferedList | list of assessments offered | |
| Errors | NULL_ARGUMENT |  bankIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBankIdsByAssessmentOffered | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | assessmentOfferedId |  Id  of an  AssessmentOffered   | 
| Return | osid.id.IdList | list of bank  Ids   | |
| Errors | NOT_FOUND |  assessmentOfferedId  is not found  |                 |
| NULL_ARGUMENT |  assessmentOfferedId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBanksByAssessmentOffered | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | assessmentOfferedId |  Id  of an  AssessmentOffered   | 
| Return | osid.assessment.BankList | list of banks | |
| Errors | NOT_FOUND |  assessmentOfferedId  is not found  |                 |
| NULL_ARGUMENT |  assessmentOfferedId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |