Package | Description |
---|---|
be.ac.ulb.infof307.g02.controllers | |
be.ac.ulb.infof307.g02.database | |
be.ac.ulb.infof307.g02.models |
Modifier and Type | Method and Description |
---|---|
void |
ControllerMaster.onShowRecipe(java.lang.String recipeName)
Shows the recipe view
|
void |
RecipeController.saveRecipe()
Creates a new Recipe, fills it with all the items retrieved from the
view and saves it in the database.
|
Constructor and Description |
---|
RecipeController(ControllerMaster master,
java.lang.String recipeName)
Constructor: Fetches the recipe from the DB and creates the view.
|
Modifier and Type | Method and Description |
---|---|
Recipe |
RecipeDB.getRecipe(User recipeOwner,
java.lang.String recipeName)
Get a Recipe from the database
|
Constructor and Description |
---|
Recipe(java.lang.String name)
Creates an empty recipe for one person.
|
Recipe(java.lang.String name,
int numberOfPeople)
Constructor used to make testing easier.
|
Recipe(java.lang.String name,
int numberOfPeople,
java.util.List<ProductAmount> productAmountList,
java.lang.String instructions) |
Recipe(java.lang.String name,
int numberOfPeople,
java.lang.String instructions)
Constructor used to make testing easier.
|