| Interface | osid.commenting.BookSearchSession | ||
|---|---|---|---|
| Implements | osid.commenting.BookQuerySession | ||
| 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 | getBookSearch | ||
| Description | 
                     Gets a book search.  | ||
| Return | osid.commenting.BookSearch | the book search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBookSearchOrder | ||
| Description | 
                     Gets a book search order. The   | ||
| Return | osid.commenting.BookSearchOrder | the book search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBooksBySearch | ||
| Description | 
                     Gets the search results matching the given search.  | ||
| Parameters | osid.commenting.BookQuery | bookQuery | the book query | 
osid.commenting.BookSearch | bookSearch | the book search | |
| Return | osid.commenting.BookSearchResults | the search results | |
| Errors | NULL_ARGUMENT |  bookQuery  or  bookSearch  is  null 
  |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  bookQuery  or  bookSearch  is not of this 
service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBookQueryFromInspector | ||
| Description | 
                     Gets an entry query from an inspector. The inspector is 
                    available from an   | ||
| Parameters | osid.commenting.BookQueryInspector | bookQueryInspector | a book query inspector | 
| Return | osid.commenting.BookQuery | the book query | |
| Errors | NULL_ARGUMENT |  bookQueryInspector  is  null   |                 |
| UNSUPPORTED |  bookQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |