| Interface | osid.recognition.AwardLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for retrieving  This session defines views that offer differing behaviors when retrieving multiple objects. 
  | ||
| Method | getAcademyId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Academy Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAcademy | ||
| Description | 
                     Gets the   | ||
| Return | osid.recognition.Academy | the academy | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupAwards | ||
| 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 | useComparativeAwardView | ||
| Description | 
                     The returns from the lookup methods may omit or translate elements based on this session, such as authorization, 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 | usePlenaryAwardView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedAcademyView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include awards in academies which are children of this academy in the academy hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedAcademyView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts retrievals to this academy only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAward | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | awardId |  Id  of the  Award   | 
| Return | osid.recognition.Award | the award | |
| Errors | NOT_FOUND |  awardId  not found  |                 |
| NULL_ARGUMENT |  awardId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAwardsByIds | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.id.IdList | awardIds | the list of  Ids  to retrieve  | 
| Return | osid.recognition.AwardList | the returned  Award  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  awardIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAwardsByGenusType | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.type.Type | awardGenusType | an award genus type | 
| Return | osid.recognition.AwardList | the returned  Award  list  | |
| Errors | NULL_ARGUMENT |  awardGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAwardsByParentGenusType | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.type.Type | awardGenusType | an award genus type | 
| Return | osid.recognition.AwardList | the returned  Award  list  | |
| Errors | NULL_ARGUMENT |  awardGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAwardsByRecordType | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.type.Type | awardRecordType | an award record type | 
| Return | osid.recognition.AwardList | the returned  Award  list  | |
| Errors | NULL_ARGUMENT |  awardRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAwards | ||
| Description | 
                     Gets all   | ||
| Return | osid.recognition.AwardList | a list of  Awards   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |