| Interface | osid.offering.ResultCatalogueSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines several views: 
  | ||
| Method | canLookupResultCatalogueMappings | ||
| Description | 
                     Tests if this user can perform lookups of 
                    result/catalogue 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 | useComparativeCatalogueView | ||
| 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 | usePlenaryCatalogueView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getResultIdsByCatalogue | ||
| Description | 
                     Gets the list of Result Ids associated with a   | ||
| Parameters | osid.id.Id | catalogueId |  Id  of a  Catalogues.   | 
| Return | osid.id.IdList | list of related result  Ids   | |
| Errors | NOT_FOUND |  catalogueId  is not found  |                 |
| NULL_ARGUMENT |  catalogueId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getResultsByCatalogue | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | catalogueId |  Id  of a  Catalogue   | 
| Return | osid.offering.ResultList | list of related results | |
| Errors | NOT_FOUND |  catalogueId  is not found  |                 |
| NULL_ARGUMENT |  catalogueId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getResultIdsByCatalogues | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | catalogueIds | list of catalogue  Ids   | 
| Return | osid.id.IdList | list of result  Ids   | |
| Errors | NULL_ARGUMENT |  catalogueIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getResultsByCatalogues | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | catalogueIds | list of catalogue  Ids   | 
| Return | osid.offering.ResultList | list of results | |
| Errors | NULL_ARGUMENT |  catalogueIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCatalogueIdsByResult | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | resultId |  Id  of an  Result   | 
| Return | osid.id.IdList | list of catalogue  Ids   | |
| Errors | NOT_FOUND |  resultId  is not found  |                 |
| NULL_ARGUMENT |  resultId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCataloguesByResult | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | resultId |  Id  of an  Result   | 
| Return | osid.offering.CatalogueList | list of catalogues | |
| Errors | NOT_FOUND |  resultId  is not found  |                 |
| NULL_ARGUMENT |  resultId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |