| Interface | osid.assessment.BankLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for retrieving  This session defines views that offer differing behaviors when retrieving multiple objects. 
  Generally, the comparative view should be used for most 
                applications as it permits operation even if there is data 
                that cannot be accessed. For example, a browsing application 
                may only need to examine the   Banks may have an additional records indicated by their 
                respective record types. The record may not be accessed 
                through a cast of the   | ||
| Method | canLookupBanks | ||
| 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 | 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 | getBank | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | bankId |  Id  of the  Bank   | 
| Return | osid.assessment.Bank | the bank | |
| Errors | NOT_FOUND |  bankId  not found  |                 |
| NULL_ARGUMENT |  bankId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getBanksByIds | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.id.IdList | bankIds | the list of  Ids  to retrieve  | 
| Return | osid.assessment.BankList | the returned  Bank  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  bankIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBanksByGenusType | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.type.Type | bankGenusType | a bank genus type | 
| Return | osid.assessment.BankList | the returned  Bank  list  | |
| Errors | NULL_ARGUMENT |  bankGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBanksByParentGenusType | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.type.Type | bankGenusType | a bank genus type | 
| Return | osid.assessment.BankList | the returned  Bank  list  | |
| Errors | NULL_ARGUMENT |  bankGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBanksByRecordType | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.type.Type | bankRecordType | a bank record type | 
| Return | osid.assessment.BankList | the returned  Bank  list  | |
| Errors | NULL_ARGUMENT |  bankRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBanksByProvider | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.id.Id | resourceId | a resource  Id   | 
| Return | osid.assessment.BankList | the returned  Bank  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 | getBanks | ||
| Description | 
                     Gets all   | ||
| Return | osid.assessment.BankList | a  BankList   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |