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, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
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, PermissionDeniedException 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 requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(recipeSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-