public interface RecipeSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
RecipeQueryInspector |
getRecipeQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
RecipeList |
getRecipes()
Gets the recipe list resulting from a search.
|
RecipeSearchResultsRecord |
getRecipeSearchResultsRecord(Type recipeSearchRecordType)
Gets the recipe search results record corresponding to the given
recipe search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
RecipeList getRecipes()
IllegalStateException
- list already retrievedmandatory
- This method must be implemented. RecipeQueryInspector getRecipeQueryInspector()
mandatory
- This method must be implemented. RecipeSearchResultsRecord getRecipeSearchResultsRecord(Type recipeSearchRecordType) throws OperationFailedException, PermissionDeniedException
Type.
This method is used to
retrieve an object implementing the requested record.recipeSearchRecordType
- a recipe search record typeNullArgumentException
- recipeSearchRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(recipeSearchRecordType)
is false
mandatory
- This method must be implemented.