| Interface | osid.recipe.CookbookSearchResults | ||
|---|---|---|---|
| Implements | osid.OsidSearchResults | ||
| Used By | osid.recipe.CookbookSearchSession | ||
| Description |
This interface provides a means to capture results of a search. | ||
| Method | getCookbooks | ||
| Description |
Gets the cookbook list resulting from a search. | ||
| Return | osid.recipe.CookbookList | the cookbook list | |
| Errors | ILLEGAL_STATE | list has already been retrieved | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCookbookQueryInspector | ||
| Description |
Gets the inspector for the query to examine the terns used in the search. | ||
| Return | osid.recipe.CookbookQueryInspector | the query inspector | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCookbookSearchResultsRecord | ||
| Description |
Gets the cookbook search rsults record corresponding to the given cookbook search record Type. This method is used to retrieve an object implementing the requested record. | ||
| Parameters | osid.type.Type | cookbookSearchRecordType | a cookbook search record type |
| Return | osid.recipe.records.CookbookSearchResultsRecord | the cookbook search results record | |
| Errors | NULL_ARGUMENT | cookbookSearchRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(cookbookSearchRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |