public interface BookSearch extends OsidSearch
The search interface for governing book searches.
Modifier and Type | Method and Description |
---|---|
BookSearchRecord |
getBookSearchRecord(Type bookSearchRecordType)
Gets the book search record corresponding to the given book search
record
Type. |
void |
orderBookResults(BookSearchOrder bookSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongBooks(IdList bookIds)
Execute this search among the given list of books.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongBooks(IdList bookIds)
bookIds
- list of booksNullArgumentException
- bookIds
is
null
mandatory
- This method must be implemented. void orderBookResults(BookSearchOrder bookSearchOrder)
bookSearchOrder
- book search orderNullArgumentException
- bookSearchOrder
is null
UnsupportedException
- bookSearchOrder
is not of this servicemandatory
- This method must be implemented. BookSearchRecord getBookSearchRecord(Type bookSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an object
implementing the requested record.bookSearchRecordType
- a book search record typeNullArgumentException
- bookSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(bookSearchRecordType)
is false
mandatory
- This method must be implemented.