Interface RecipeSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing recipe searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetRecipeSearchRecord(Type recipeSearchRecordType) Gets the recipe search record corresponding to the given recipe search recordType.voidorderRecipeResults(RecipeSearchOrder recipeSearchOrder) Specify an ordering to the search results.voidsearchAmongRecipes(IdList recipeIds) Execute this search among the given list of recipes.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface OsidSearch
limitResultSet
-
Method Details
-
searchAmongRecipes
Execute this search among the given list of recipes.- Parameters:
recipeIds- list of recipes- Throws:
NullArgumentException-recipeIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRecipeResults
Specify an ordering to the search results.- Parameters:
recipeSearchOrder- recipe search order- Throws:
NullArgumentException-recipeSearchOrderisnullUnsupportedException-recipeSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRecipeSearchRecord
RecipeSearchRecord getRecipeSearchRecord(Type recipeSearchRecordType) throws OperationFailedException Gets the recipe search record corresponding to the given recipe search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
recipeSearchRecordType- a recipe search record type- Returns:
- the recipe search record
- Throws:
NullArgumentException-recipeSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(recipeSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-