Interface BookSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface BookSearchResults extends OsidSearchResults

This interface provides a means to capture results of a search.

  • Method Details

    • getBooks

      BookList getBooks()
      Gets the book list resulting from a search.
      Returns:
      the book list
      Throws:
      IllegalStateException - list has already been retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getBookQueryInspector

      BookQueryInspector getBookQueryInspector()
      Gets the inspector for the query to examine the terns used in the search.
      Returns:
      the query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getBookSearchResultsRecord

      BookSearchResultsRecord getBookSearchResultsRecord(Type bookSearchRecordType) throws OperationFailedException
      Gets the book search results record corresponding to the given book search record Type. This method is used to retrieve an object implementing the requested record.
      Parameters:
      bookSearchRecordType - a book search record type
      Returns:
      the book search results record
      Throws:
      NullArgumentException - BookSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(bookSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.