| Interface | osid.hold.HoldSearchSession | ||
|---|---|---|---|
| Implements | osid.hold.HoldQuerySession | ||
| Description | 
                 This session provides methods for searching among    This session defines views that offer differing behaviors for searching. 
  Holds may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getHoldSearch | ||
| Description | 
                     Gets a hold search.  | ||
| Return | osid.hold.HoldSearch | the hold search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldSearchOrder | ||
| Description | 
                     Gets a hold search order. The   | ||
| Return | osid.hold.HoldSearchOrder | the hold search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldsBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.hold.HoldQuery | holdQuery | the hold query | 
osid.hold.HoldSearch | holdSearch | the hold search | |
| Return | osid.hold.HoldSearchResults | the hold search results | |
| Errors | NULL_ARGUMENT |  holdQuery  or  holdSearch  is  null 
  |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  holdQuery  or  holdSearch  is not of this 
service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldQueryFromInspector | ||
| Description | 
                     Gets a hold query from an inspector. The inspector is 
                    available from a   | ||
| Parameters | osid.hold.HoldQueryInspector | holdQueryInspector | a hold query inspector | 
| Return | osid.hold.HoldQuery | the hold query | |
| Errors | NULL_ARGUMENT |  holdQueryInspector  is  null   |                 |
| UNSUPPORTED |  holdQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |