- acknowledgeChange() - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
-
Whenever a change is made, the boolean variable isRecipeInfoModified is set to true.
- acknowledgeControllerTourReady(Position, Position) - Method in class be.ac.ulb.infof307.g02.views.MapView
-
Tells the Controller that the map is ready to display the Best Tour
- ADD_PRODUCT_FXML - Static variable in class be.ac.ulb.infof307.g02.views.CreateProductView
-
The fxml resource for the view
- addAvailabilityButton(HBox, PrefixSelectionComboBox<Product>, Spinner<Double>) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
-
Adds the availability Button in the HBox representing an item of the list.
- addButton - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
-
- addDeleteListItemButton(HBox, PrefixSelectionComboBox<Product>, Spinner<Double>) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
-
Adds The Delete Button in a List Item
- addGroceryList(User, GroceryList) - Method in class be.ac.ulb.infof307.g02.database.GroceryListDB
-
Insert a new GroceryList in the database
- addItemToGroceryList(User, String, ProductAmount) - Method in class be.ac.ulb.infof307.g02.database.GroceryListDB
-
Add a GroceryListItem to a given GroceryList
- addMarker(Position, String) - Method in class be.ac.ulb.infof307.g02.views.MapComponent
-
Adds a marker to the list that will be given to the JavaScript
- addNewProduct(Product) - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
-
Adds a new product to the listComponent
- addNewProduct(Product) - Method in class be.ac.ulb.infof307.g02.views.ImportArticlesView
-
- addNewProduct(Product) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
-
Adds a new product in all the comboBoxes
- addNutritionalButton(HBox, PrefixSelectionComboBox<Product>, Spinner<Double>) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
-
Creates and adds a button to get the nutritional value of a certain product.
- addProduct(Product) - Method in class be.ac.ulb.infof307.g02.database.ProductDB
-
Add a product in the database
- addProductAmount(ProductAmount) - Method in class be.ac.ulb.infof307.g02.models.ProductAmountListOwner
-
Adds the product to the list.
- addProductAmountToRecipe(User, String, ProductAmount) - Method in class be.ac.ulb.infof307.g02.database.RecipeDB
-
Add a ProductAmount to a given Recipe
- addProductButton - Variable in class be.ac.ulb.infof307.g02.views.CreateProductView
-
- addProductComboBox(HBox, Product) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
-
Adds the ComboBox used to select a product in a List Item
- addProductOrIncreaseAmount(ProductAmount) - Method in class be.ac.ulb.infof307.g02.models.ProductAmountListOwner
-
Tries to insert an item in the list.
- addRecipe(User, Recipe) - Method in class be.ac.ulb.infof307.g02.database.RecipeDB
-
Insert a new Recipe in the database
- addResult(FindShopsResult) - Method in class be.ac.ulb.infof307.g02.views.ShowResultView
-
Add a row in the table
- addShop(Shop) - Method in class be.ac.ulb.infof307.g02.database.ShopDB
-
Insert a new entry in the table Shop as well as in the table Schedule from
the database.
- addSpinner(HBox, double) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
-
Adds the Spinner used to select the number associated with a product in a List Item
- addTimeSlot(TimeSlot) - Method in class be.ac.ulb.infof307.g02.models.DaySchedule
-
Adds a time slot to the day schedule, making sure it doesn't overlap any
existing time slot.
- addTimeSlot(TimeSlot, Day) - Method in class be.ac.ulb.infof307.g02.models.Schedule
-
Adds a TimeSlot to the schedule
- addToStock(Article) - Method in class be.ac.ulb.infof307.g02.models.Shop
-
Adds an article to the stock
- addUser(User) - Method in class be.ac.ulb.infof307.g02.database.UserDB
-
Inserts a new entry in the database.
- AES - Class in be.ac.ulb.infof307.g02.utils
-
Shows how to securely perform AES encryption in GCM mode, with 256 bits key size.
- AES() - Constructor for class be.ac.ulb.infof307.g02.utils.AES
-
- AES_KEY_SIZE - Static variable in class be.ac.ulb.infof307.g02.utils.AES
-
The AES key size
We do not use 256 bit, because it makes all tests fail on Gitlab.
- aesKey - Variable in class be.ac.ulb.infof307.g02.utils.Crypto
-
- ALGO_TRANSFORMATION_STRING - Static variable in class be.ac.ulb.infof307.g02.utils.AES
-
Strings that describes all algorithm details (algorithm name + mode + padding)
- ALGORITHM - Static variable in class be.ac.ulb.infof307.g02.database.KeyStorer
-
- ALGORITHM_NAME - Static variable in class be.ac.ulb.infof307.g02.utils.AES
-
- ALGORITHM_NAME - Static variable in class be.ac.ulb.infof307.g02.utils.RSA
-
- ALGORITHM_STRING - Static variable in class be.ac.ulb.infof307.g02.utils.RSA
-
String containing all the information for enryption (algorithm name, mode of operation, padding scheme)
- allItemsVBox - Variable in class be.ac.ulb.infof307.g02.views.SelectionView
-
- allShops - Variable in class be.ac.ulb.infof307.g02.controllers.ShowResultController
-
All the shops contained in the database
- amount - Variable in class be.ac.ulb.infof307.g02.models.ProductAmount
-
- AMOUNT_TO_STEP_BY_IN_SPINNER - Static variable in class be.ac.ulb.infof307.g02.views.ListComponent
-
- anchorpane - Variable in class be.ac.ulb.infof307.g02.views.MapView
-
- anchorPane - Variable in class be.ac.ulb.infof307.g02.views.MapView
-
The view container
- API_KEY - Static variable in class be.ac.ulb.infof307.g02.utils.DistanceCalculator
-
API Key for the GraphHopper API
- areCoordinatesValid(double, double) - Static method in class be.ac.ulb.infof307.g02.models.Position
-
Checks if the coordinates are valid.
- areCredentialsCorrect(User) - Method in class be.ac.ulb.infof307.g02.controllers.LoginController
-
Consults the database to see if the credentials of a user are
correct.
- Article - Class in be.ac.ulb.infof307.g02.models
-
Represents an article (product + price) that is stored in a shop.
- Article(Product, double) - Constructor for class be.ac.ulb.infof307.g02.models.Article
-
- ArticleAlreadyInShopException - Exception in be.ac.ulb.infof307.g02.exceptions.database
-
Exception thrown by the database if an article it tries to insert is already in the shop
- ArticleAlreadyInShopException(String) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.database.ArticleAlreadyInShopException
-
- ArticleConverter - Class in be.ac.ulb.infof307.g02.utils
-
This class can convert an Article to a Pair(Product, Double)
or a Pair(Product, Double) to an Article
- ArticleConverter() - Constructor for class be.ac.ulb.infof307.g02.utils.ArticleConverter
-
- ArticleImportationObserver - Interface in be.ac.ulb.infof307.g02.controllers
-
Implemented by the classes that want to know when articles are imported
- articleImported(Article) - Method in interface be.ac.ulb.infof307.g02.controllers.ArticleImportationObserver
-
- articleImported(Article) - Method in class be.ac.ulb.infof307.g02.controllers.ImportArticlesController
-
Tells the view that a new article has been created
- ArticleImporterFromFile - Class in be.ac.ulb.infof307.g02.utils
-
Class handling the import of articles from CSV file.
- ArticleImporterFromFile(ArticleImportationObserver) - Constructor for class be.ac.ulb.infof307.g02.utils.ArticleImporterFromFile
-
- ArticlesExporter - Class in be.ac.ulb.infof307.g02.utils
-
Responsible to export the stock of a shop into a csv file
- ArticlesExporter() - Constructor for class be.ac.ulb.infof307.g02.utils.ArticlesExporter
-
- askSaveConfirmation() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenuThatSaves
-
- askSaveConfirmation() - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListController
-
Asks the user whether he wants to save the grocery list changes and saves it if he does.
- askSaveConfirmation() - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
-
Asks the user whether he wants to save the recipe changes and saves it if he does.
- askUserOverWriteConfirmation() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
-
Opens a popup asking the user to confirm the overwrite
The boolean answer is then returned
- AutoChefScoreCalculator - Class in be.ac.ulb.infof307.g02.models
-
Calculates the Autochef score.
- AutoChefScoreCalculator() - Constructor for class be.ac.ulb.infof307.g02.models.AutoChefScoreCalculator
-
- AvailabilityChecker - Interface in be.ac.ulb.infof307.g02.views
-
- availabilityChecker - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
-