| Interface | osid.resource.BinQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| 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 | canSearchBins | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if search methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBinQuery | ||
| Description | 
                     Gets a bin query. The returned query will not have an extension query.  | ||
| Return | osid.resource.BinQuery | the bin query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBinsByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.resource.BinQuery | binQuery | the bin query | 
| Return | osid.resource.BinList | the returned  BinList   | |
| Errors | NULL_ARGUMENT |  binQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | a  binQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |