| Interface | osid.hold.HoldOublietteSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines several views: 
  | ||
| Method | canLookupHoldOublietteMappings | ||
| Description | 
                     Tests if this user can perform lookups of 
                    hold/oubliette 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 | useComparativeHoldOublietteView | ||
| 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 | usePlenaryHoldOublietteView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getHoldIdsByOubliette | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | oublietteId |  Id  of the  Oubliette   | 
| Return | osid.id.IdList | list of related hold  Ids   | |
| Errors | NOT_FOUND |  oublietteId  is not found  |                 |
| NULL_ARGUMENT |  oublietteId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldsByOubliette | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | oublietteId |  Id  of the  Oubliette   | 
| Return | osid.hold.HoldList | list of related holds | |
| Errors | NOT_FOUND |  oublietteId  is not found  |                 |
| NULL_ARGUMENT |  oublietteId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldIdsByOubliettes | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | oublietteIds | list of oubliette  Ids   | 
| Return | osid.id.IdList | list of hold  Ids   | |
| Errors | NULL_ARGUMENT |  oublietteIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldsByOubliettes | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | oublietteIds | list of oubliette  Ids   | 
| Return | osid.hold.HoldList | list of holds | |
| Errors | NULL_ARGUMENT |  oublietteIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getOublietteIdsByHold | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | holdId |  Id  of a  Hold   | 
| Return | osid.id.IdList | list of oubliettes | |
| Errors | NOT_FOUND |  holdId  is not found  |                 |
| NULL_ARGUMENT |  holdId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getOublietteByHold | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | holdId |  Id  of a  Hold   | 
| Return | osid.hold.OublietteList | list of oubliettes | |
| Errors | NOT_FOUND |  holdId  is not found  |                 |
| NULL_ARGUMENT |  holdId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |