OSID Logo
OSID Specifications
commenting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.commenting.BookSearchResults
Implementsosid.OsidSearchResults
Description

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

MethodgetBooks
Description

Gets the book list resulting from a search.

Returnosid.commenting.BookListthe book list
ErrorsILLEGAL_STATElist has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetBookQueryInspector
Description

Gets the inspector for the query to examine the terns used in the search.

Returnosid.commenting.BookQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetBookSearchResultsRecord
Description

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.

Parametersosid.type.TypebookSearchRecordTypea book search record type
Returnosid.commenting.records.BookSearchResultsRecordthe book search results record
ErrorsNULL_ARGUMENT BookSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(bookSearchRecordType) is false
CompliancemandatoryThis method must be implemented.