| Interface | osid.offering.ResultSearchResults | ||
|---|---|---|---|
| Implements | osid.OsidSearchResults | ||
| Description |
This interface provides a means to capture results of a search. | ||
| Method | getResults | ||
| Description |
Gets the result list resulting from a search. | ||
| Return | osid.offering.ResultList | the result list | |
| Errors | ILLEGAL_STATE | the list has already been retrieved | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResultQueryInspector | ||
| Description |
Gets the inspector for the query to examine the terms used in the search. | ||
| Return | osid.offering.ResultQueryInspector | the query inspector | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResultSearchResultsRecord | ||
| Description |
Gets the record corresponding to the given result
search record | ||
| Parameters | osid.type.Type | resultSearchRecordType | an result search record type |
| Return | osid.offering.records.ResultSearchResultsRecord | the result search results record | |
| Errors | NULL_ARGUMENT | resultSearchRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(resultSearchRecordType) is false
| ||
| Compliance | mandatory | This method must be implemented. | |