Interface CookbookSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface CookbookSearch extends OsidSearch

The search interface for governing cookbook searches.

  • Method Details

    • searchAmongCookbooks

      void searchAmongCookbooks(IdList cookbookIds)
      Execute this search among the given list of cookbooks.
      Parameters:
      cookbookIds - list of cookbooks
      Throws:
      NullArgumentException - cookbookIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderCookbookResults

      void orderCookbookResults(CookbookSearchOrder cookbooksearchOrder)
      Specify an ordering to the search results.
      Parameters:
      cookbooksearchOrder - cookbook search order
      Throws:
      NullArgumentException - cookbooksearchOrder is null
      UnsupportedException - cookbooksearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getCookbookSearchRecord

      CookbookSearchRecord getCookbookSearchRecord(Type cookbookSearchRecordType) throws OperationFailedException
      Gets the cookbook search record corresponding to the given cookbook search record Type . This method is used to retrieve an object implementing the requested record interface.
      Parameters:
      cookbookSearchRecordType - a cookbook search record type
      Returns:
      the cookbook search record
      Throws:
      NullArgumentException - cookbooksearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(cookbooksearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.