| Interface | osid.commenting.BookQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching   Books may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | canSearchBooks | ||
| 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 | getBookQuery | ||
| Description | 
                     Gets a book query.  | ||
| Return | osid.commenting.BookQuery | the book query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBooksByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.commenting.BookQuery | bookQuery | the book query | 
| Return | osid.commenting.BookList | the returned  BookList   | |
| Errors | NULL_ARGUMENT |  bookQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  bookQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |