edu.jhu.oose.collegechef.middleman
Class RecipeResultsMiddleman

java.lang.Object
  extended by edu.jhu.oose.collegechef.middleman.ResultsMiddleman
      extended by edu.jhu.oose.collegechef.middleman.RecipeResultsMiddleman
Direct Known Subclasses:
ChefRecipesMiddleman, SearchMiddleman, TopTenRecipesMiddleman

public abstract class RecipeResultsMiddleman
extends ResultsMiddleman

Class that maintains a list of results based on recipes


Constructor Summary
RecipeResultsMiddleman(java.lang.String sessionMapKey)
          Creates a new instance of a RecipeResultsMiddleman
 
Method Summary
 java.util.List<RecipeListing> getCurrentResults()
          Returns the current results stored in this middleman
 void setCurrentResultsFromRecipeList(java.util.List<Recipe> currentResultsRecipeList)
          Sets the current results for this middleman
 
Methods inherited from class edu.jhu.oose.collegechef.middleman.ResultsMiddleman
getSessionMapKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipeResultsMiddleman

public RecipeResultsMiddleman(java.lang.String sessionMapKey)
Creates a new instance of a RecipeResultsMiddleman

Parameters:
sessionMapKey - the session map key for this middleman
Method Detail

getCurrentResults

public java.util.List<RecipeListing> getCurrentResults()
Returns the current results stored in this middleman

Returns:
the current results stored in this middleman

setCurrentResultsFromRecipeList

public void setCurrentResultsFromRecipeList(java.util.List<Recipe> currentResultsRecipeList)
Sets the current results for this middleman

Parameters:
currentResultsRecipeList - the new list of results for this middleman