|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jhu.oose.collegechef.controller.RateableCommentablePage
edu.jhu.oose.collegechef.controller.RecipeResult
public class RecipeResult
Backing bean for the recipe page
Constructor Summary | |
---|---|
RecipeResult()
Default constructor for a RecipeResult object |
Method Summary | |
---|---|
java.lang.String |
getChefId()
Method to get the ID of the chef |
java.util.List<Equipment> |
getEquipment()
Method to get the equipment list |
java.lang.String |
getHeaderText()
Method to view the recipe header |
java.util.List<Ingredient> |
getIngredients()
Method to get the ingredients list |
boolean |
getIsChefViewingOwnRecipe()
Method to determine if the chef is viewing their own recipe |
Recipe |
getRecipe()
Method to return the Recipe associated with this object |
java.lang.String |
getRecipeId()
Method to get the ID of the requirement |
boolean |
getRenderRatingOption()
This method is called by recipe.xhtml to determine whether or not to render the panel to rate the recipe. |
java.util.List<Recipe> |
getSuppRecipes()
Method to get the supplemental recipes list |
void |
init()
Finds the recipe based on the recipeId |
void |
setRecipeId(java.lang.String recipeId)
Method to set the recipe ID |
void |
sortRequirements()
Method to separate the requirements into an Ingredients and Equipment list |
java.lang.String |
storeSelectedChef()
Stores the selected chef to be viewed into the session map. |
Methods inherited from class edu.jhu.oose.collegechef.controller.RateableCommentablePage |
---|
addComment, addRating, getHasChefAlreadyRated, getIsChefLoggedIn, getNewComment, getNewRating, getNumComments, getRatingSelectItems, setNewComment, setNewRating |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecipeResult()
Method Detail |
---|
public Recipe getRecipe()
public boolean getIsChefViewingOwnRecipe()
public boolean getRenderRatingOption()
public void sortRequirements()
public java.util.List<Ingredient> getIngredients()
public java.util.List<Equipment> getEquipment()
public java.util.List<Recipe> getSuppRecipes()
public java.lang.String getHeaderText()
public java.lang.String getChefId()
public java.lang.String getRecipeId()
public void setRecipeId(java.lang.String recipeId)
recipeId
- the recipe ID@PostConstruct public void init()
public java.lang.String storeSelectedChef()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |