Interface CookbookSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface CookbookSearchResults extends OsidSearchResults

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

  • Method Details

    • getCookbooks

      CookbookList getCookbooks()
      Gets the cookbook list resulting from a search.
      Returns:
      the cookbook list
      Throws:
      IllegalStateException - list has already been retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getCookbookQueryInspector

      CookbookQueryInspector getCookbookQueryInspector()
      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.
    • getCookbookSearchResultsRecord

      CookbookSearchResultsRecord getCookbookSearchResultsRecord(Type cookbookSearchRecordType) throws OperationFailedException
      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:
      cookbookSearchRecordType - a cookbook search record type
      Returns:
      the cookbook search results record
      Throws:
      NullArgumentException - cookbookSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(cookbookSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.