| Interface | osid.resource.BinSearchSession | ||
|---|---|---|---|
| Implements | osid.resource.BinQuerySession | ||
| Description | 
                 This session provides methods for searching among     Bins may have a bin query record indicated by their 
                respective record types. The bin query record is accessed via 
                the   | ||
| Method | getBinSearch | ||
| Description | 
                     Gets a bin search.  | ||
| Return | osid.resource.BinSearch | the bin search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBinSearchOrder | ||
| Description | 
                     Gets a bin search order. The   | ||
| Return | osid.resource.BinSearchOrder | the bin search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBinsBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.resource.BinQuery | binQuery | the bin query | 
osid.resource.BinSearch | binSearch | the bin search | |
| Return | osid.resource.BinSearchResults | the bin search results | |
| Errors | NULL_ARGUMENT |  binQuery  or  binSearch  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  binQuery  or  binSearch  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBinQueryFromInspector | ||
| Description | 
                     Gets a bin query from an inspector. The inspector is 
                    available from a   | ||
| Parameters | osid.resource.BinQueryInspector | binQueryInspector | a bin query inspector | 
| Return | osid.resource.BinQuery | the bin query | |
| Errors | NULL_ARGUMENT |  binQueryInspector  is  null   |                 |
| UNSUPPORTED |  binQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |