Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

S

SALT_SIZE - Static variable in class be.ac.ulb.infof307.g02.database.KeyStorer
Salt Size.
saturdayCheckBox - Variable in class be.ac.ulb.infof307.g02.views.MapView
 
saveButton - Variable in class be.ac.ulb.infof307.g02.views.EditAccountView
 
saveFile(String, File) - Static method in class be.ac.ulb.infof307.g02.utils.ArticlesExporter
Saves the content into a file
saveGroceryList(List<ProductAmount>) - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListController
Creates a new GroceryList, fill it with all the items retrieved from the view and saves it in the database.
saveListInDB(GroceryList) - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListController
Saves the GroceryList in the database.
saveOrOverWriteGroceryListInDb(GroceryList) - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
Saves the grocery list to the database.
saveRecipe() - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
Creates a new Recipe, fills it with all the items retrieved from the view and saves it in the database.
saveRecipeInDB(Recipe) - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
Saves the GroceryList in the database.
scene - Variable in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
The main scene of the application
Schedule - Class in be.ac.ulb.infof307.g02.models
Represents the schedule for a shop.
Schedule() - Constructor for class be.ac.ulb.infof307.g02.models.Schedule
 
Schedule(List<DaySchedule>) - Constructor for class be.ac.ulb.infof307.g02.models.Schedule
 
Schedule(Schedule) - Constructor for class be.ac.ulb.infof307.g02.models.Schedule
 
schedule - Variable in class be.ac.ulb.infof307.g02.models.Shop
 
ScheduleFetchException - Exception in be.ac.ulb.infof307.g02.exceptions.database
Exception thrown by the database if an error occurs when fetching a shop's schedule
ScheduleFetchException(String, Exception) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.database.ScheduleFetchException
 
ScheduleInsertionException - Exception in be.ac.ulb.infof307.g02.exceptions.database
Exception thrown by the database if an error occurs while inserting a shop's schedule
ScheduleInsertionException(String, Exception) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.database.ScheduleInsertionException
 
score - Variable in class be.ac.ulb.infof307.g02.models.FindShopsResult
The autoChef score of a shop for a grocery list
scoreCol - Variable in class be.ac.ulb.infof307.g02.views.ShowResultView
 
searchForBestTour() - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
Finds the best shops to buy all the products in the grocery list.
SELECT_GROCERY_LIST_FXML - Static variable in class be.ac.ulb.infof307.g02.views.SelectBestTourGroceryListView
 
SelectBestTourGroceryListController - Class in be.ac.ulb.infof307.g02.controllers
Controller of the view used to choose a GroceryList for the BestTourFinder algorithm.
SelectBestTourGroceryListController(ControllerMaster) - Constructor for class be.ac.ulb.infof307.g02.controllers.SelectBestTourGroceryListController
 
SelectBestTourGroceryListView - Class in be.ac.ulb.infof307.g02.views
Allows the user to choose a grocery list for the BestTourFinder algorithm.
SelectBestTourGroceryListView(SelectBestTourGroceryListController) - Constructor for class be.ac.ulb.infof307.g02.views.SelectBestTourGroceryListView
 
SELECTION_FXML - Static variable in class be.ac.ulb.infof307.g02.views.SelectionView
The fxml resource for the view
SelectionController - Class in be.ac.ulb.infof307.g02.controllers
Controller of the SelectionView used to display all the items of a user.
SelectionController(ControllerMaster) - Constructor for class be.ac.ulb.infof307.g02.controllers.SelectionController
 
selectionController - Variable in class be.ac.ulb.infof307.g02.views.SelectionView
 
SelectionView - Class in be.ac.ulb.infof307.g02.views
Used to display all the grocery lists and recipes of a user.
SelectionView(SelectionController, Scene, String) - Constructor for class be.ac.ulb.infof307.g02.views.SelectionView
 
sellAllProducts(List<Product>) - Method in class be.ac.ulb.infof307.g02.models.Shop
 
SerializationException - Exception in be.ac.ulb.infof307.g02.exceptions.model
Exception thrown if an error occurs during the serialization of an object
SerializationException(String, Exception) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.model.SerializationException
 
serialize(Object) - Static method in class be.ac.ulb.infof307.g02.models.Serializer
 
Serializer - Class in be.ac.ulb.infof307.g02.models
Serializes any Object into a byte array.
Serializer() - Constructor for class be.ac.ulb.infof307.g02.models.Serializer
Utility class, should not be instantiated
serialVersionUID - Static variable in class be.ac.ulb.infof307.g02.models.DaySchedule
Attributes a unique ID to the class to make serialization work.
serialVersionUID - Static variable in class be.ac.ulb.infof307.g02.models.Schedule
Attributes a unique ID to the class to make serialization work.
serialVersionUID - Static variable in class be.ac.ulb.infof307.g02.models.Time
Attributes a unique ID to the class to make serialization work.
serialVersionUID - Static variable in class be.ac.ulb.infof307.g02.models.TimeSlot
Attributes a unique ID to the class to make serialization work.
session - Variable in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
Contains the information about the logged in user
Session - Class in be.ac.ulb.infof307.g02.models
Keeps track of the current logged in User.
Session(User) - Constructor for class be.ac.ulb.infof307.g02.models.Session
 
setAmount(double) - Method in class be.ac.ulb.infof307.g02.models.ProductAmount
 
setAmountOfItemAtPosition(int, double) - Method in class be.ac.ulb.infof307.g02.views.RecipeView
Allows to change the amount value of a certain product at a given position in the recipe.
setBestTourPaneStyle(StackPane, Accordion, Button) - Method in class be.ac.ulb.infof307.g02.views.MapView
Sets the style of the pane of the best tour.
setCurrentController(Controller) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
setDouble(int, double) - Method in class be.ac.ulb.infof307.g02.database.EncryptedPreparedStatement
 
setErrorText(String) - Method in class be.ac.ulb.infof307.g02.views.SelectionView
 
setHasBeenModified(boolean) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
 
setHashedPassword(String) - Method in class be.ac.ulb.infof307.g02.models.User
 
setId(int) - Method in class be.ac.ulb.infof307.g02.models.Shop
 
setInt(int, int) - Method in class be.ac.ulb.infof307.g02.database.EncryptedPreparedStatement
 
setIsListModified(boolean) - Method in class be.ac.ulb.infof307.g02.views.RecipeView
 
setItemNames(List<String>) - Method in class be.ac.ulb.infof307.g02.controllers.SelectionController
 
setName(String) - Method in class be.ac.ulb.infof307.g02.models.Shop
 
setNumberAtPosition(int, double) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
Sets the number of a spinner at the a given position
setPassword(String) - Method in class be.ac.ulb.infof307.g02.models.User
Updates the password.
setPosition(Position) - Method in class be.ac.ulb.infof307.g02.models.Session
 
setSchedule(Schedule) - Method in class be.ac.ulb.infof307.g02.models.Shop
 
setSession(Session) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
setString(int, String) - Method in class be.ac.ulb.infof307.g02.database.EncryptedPreparedStatement
 
setUnderlyingProductAmountList(List<ProductAmount>) - Method in class be.ac.ulb.infof307.g02.models.ProductAmountListOwner
Only used for testing purposes
setUnencryptedString(int, String) - Method in class be.ac.ulb.infof307.g02.database.EncryptedPreparedStatement
 
setup(KeyPair) - Static method in class be.ac.ulb.infof307.g02.utils.CryptoSingleton
Creates a new Crypto instance used in tests
setUpAddItemButton() - Method in class be.ac.ulb.infof307.g02.views.ListComponent
Creates and sets up the addButton.
setUpButtons() - Method in class be.ac.ulb.infof307.g02.views.ListComponent
Sets up the Add new Item and Clear all buttons.
setUpClearAllButton() - Method in class be.ac.ulb.infof307.g02.views.ListComponent
Creates and sets up the clearAllButton.
setupCryptoForUser(User) - Static method in class be.ac.ulb.infof307.g02.utils.CryptoSingleton
Creates a new Crypto instance when user logs in, which fetches all the required key information
setupCryptoForUser(User, DatabaseConnection) - Static method in class be.ac.ulb.infof307.g02.utils.CryptoSingleton
Creates a new Crypto instance when user logs in, which fetches all the required key information
setupFilterMenu() - Method in class be.ac.ulb.infof307.g02.views.MapView
Sets up all the UI element for the filter menu
setUpInstructionsTextArea(String) - Method in class be.ac.ulb.infof307.g02.views.RecipeView
Writes the instructions string given as parameter in the text area.
setupKeyStore() - Static method in class be.ac.ulb.infof307.g02.utils.Utils
 
setupMap() - Method in class be.ac.ulb.infof307.g02.views.MapView
Sets up the map: it creates all the markers for the shops, adds them to the map and then shows the map.
setUpNutritionalListButton() - Method in class be.ac.ulb.infof307.g02.views.ListComponent
Creates and sets up the button used to get the total nutritional value the list.
setupSpinner(Spinner<Double>) - Method in class be.ac.ulb.infof307.g02.views.CreateProductView
 
setUpSpinner(int) - Method in class be.ac.ulb.infof307.g02.views.RecipeView
Sets the spinner to the value given as parameter.
setupUI() - Method in class be.ac.ulb.infof307.g02.views.CreateProductView
Sets up the user interface
setupUI() - Method in class be.ac.ulb.infof307.g02.views.NutritionalValueView
Sets up the user interface
setupUI() - Method in class be.ac.ulb.infof307.g02.views.SelectBestTourGroceryListView
Fills the comboBox with all the grocery list names
setUser(User) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
setUser(User) - Method in class be.ac.ulb.infof307.g02.models.Session
 
setUserName(String) - Method in class be.ac.ulb.infof307.g02.models.User
Sets the user name, trimming the whitespace at the start and the end.
setView(ViewWithMenu) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
Sets a viewWithMenu as the displayed view
Shop - Class in be.ac.ulb.infof307.g02.models
Represents a shop with a name, a schedule, a position and a stock of articles.
Shop(int, String, Schedule, Position, Map<Product, Article>) - Constructor for class be.ac.ulb.infof307.g02.models.Shop
Construct the Shop given the ID (from the database).
Shop(int, String, Schedule, Position) - Constructor for class be.ac.ulb.infof307.g02.models.Shop
Construct the Shop with an empty stock.
Shop(String, Schedule, Position, Map<Product, Article>) - Constructor for class be.ac.ulb.infof307.g02.models.Shop
Construct the Shop without a real ID (indicated by having ID=1).
shopCol - Variable in class be.ac.ulb.infof307.g02.views.ShowResultView
 
ShopDB - Class in be.ac.ulb.infof307.g02.database
Class responsible to get and update info on the shops in the database.
ShopDB() - Constructor for class be.ac.ulb.infof307.g02.database.ShopDB
Class constructor that fetches the connection to the production database.
ShopDB(DatabaseConnection) - Constructor for class be.ac.ulb.infof307.g02.database.ShopDB
Class constructor that stores the given database connection for later use.
ShopFilterer - Class in be.ac.ulb.infof307.g02.models
Handles all the filters that can be applied on an set of shops.
ShopFilterer(List<Shop>, Position) - Constructor for class be.ac.ulb.infof307.g02.models.ShopFilterer
 
ShopInsertionException - Exception in be.ac.ulb.infof307.g02.exceptions.database
Exception thrown by the database if an error occurs while inserting a shop
ShopInsertionException(String, Exception) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.database.ShopInsertionException
 
shopName - Variable in class be.ac.ulb.infof307.g02.models.FindShopsResult
 
shopNameField - Variable in class be.ac.ulb.infof307.g02.views.MapView
 
shops - Variable in class be.ac.ulb.infof307.g02.controllers.MapController
All the shops that can be displayed on the map
shops - Variable in class be.ac.ulb.infof307.g02.models.BestTourFinder
 
shops - Variable in class be.ac.ulb.infof307.g02.models.ShopFilterer
 
shops - Variable in class be.ac.ulb.infof307.g02.views.MapView
 
SHOW_RESULT_FXML - Static variable in class be.ac.ulb.infof307.g02.views.ShowResultView
The fxml resource for the view
showAllGroceryHelp(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.HelpView
 
showBestTour(BestTour) - Method in class be.ac.ulb.infof307.g02.views.MapView
Show a best tour on the map
showBestTourHelp(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.HelpView
 
showBestTourPane(List<GroceryList>) - Method in class be.ac.ulb.infof307.g02.views.MapView
Creates the pane used to show the user which article of a grocery list he has to buy in each shop
showBestTourRoute(List<Position>) - Method in class be.ac.ulb.infof307.g02.views.MapView
Shows the User the route he has to take for a best tour
showConfirmationPopup(String, String) - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showDatabaseConnectionError() - Method in class be.ac.ulb.infof307.g02.views.ViewHandlingDBExceptions
 
showDataBaseInternalError() - Method in class be.ac.ulb.infof307.g02.views.ViewHandlingDBExceptions
 
showEmptyGroceryListError() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showEmptyGroceryListError() - Method in class be.ac.ulb.infof307.g02.views.SelectBestTourGroceryListView
 
showErrorGettingRecipe() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
 
showErrorPassword() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
Displays an error label and a popup when an error with the password occurred
showErrorSavingList() - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
Tells the user that an error occurred while saving the grocery list
showErrorSavingRecipe() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
Opens a popup informing the user that an error has occurred while saving the recipe.
showErrorUsername() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
Displays an error label when an error with the user name occurred
showFilterHelp(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.HelpView
 
showGroceryHelp(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.HelpView
 
showImportCSVConsistencyError(String) - Method in class be.ac.ulb.infof307.g02.views.ImportArticlesView
 
showImportCSVConsistencyError(String) - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showImportFailedForSomeProducts() - Method in class be.ac.ulb.infof307.g02.views.ImportArticlesView
 
showImportFailedForSomeProducts() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showImportHelp(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.HelpView
 
showImportSuccessful() - Method in class be.ac.ulb.infof307.g02.views.ImportArticlesView
 
showImportSuccessful() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showIncorrectCredentialsError() - Method in class be.ac.ulb.infof307.g02.views.LoginView
 
showInfoPasswordPopup() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
Displays an information popup to explain the rules on the password
showInfoPasswordPopup() - Method in class be.ac.ulb.infof307.g02.views.RegisterView
 
showInvalidCredentialsError() - Method in class be.ac.ulb.infof307.g02.views.LoginView
 
showInvalidCredentialsError() - Method in class be.ac.ulb.infof307.g02.views.RegisterView
 
showInvalidCurrentPasswordError() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
Displays an error label when the current password is invalid
showLogin() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
showMapHelp(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.HelpView
 
showMapInWebView() - Method in class be.ac.ulb.infof307.g02.views.MapComponent
Creates the JavaScript model then show it in the webView
showNoBestTourError() - Method in class be.ac.ulb.infof307.g02.views.MapView
 
showNutritionalView(NutritionalValues) - Method in class be.ac.ulb.infof307.g02.controllers.NutritionalValuesController
Shows the nutritional values
showPasswordsDontMatchError() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
Displays an error label when the passwords don't match
showPopup(Alert.AlertType, String, String) - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupAccountCreated() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupAccountProfileEdited() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupConfirmSaveList() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupConfirmSaveRecipe() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupDatabaseConnection() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupDatabaseInternalError() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupErrorCreatingItem() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupErrorGettingRecipe() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupErrorSavingList() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupErrorSavingRecipe() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupListSaved() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupNoTourError() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupOverwriteConfirmation() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupPasswordRules(Alert.AlertType) - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showPopupRecipeSaved() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showProductAlreadyExistsError() - Method in class be.ac.ulb.infof307.g02.views.CreateProductView
 
showProfileEditedPopup() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
Displays an information popup to notify the user his profile has been updated
showRecipeHelp(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.HelpView
 
showRegister() - Method in class be.ac.ulb.infof307.g02.controllers.LoginController
Shows the register view
ShowResultController - Class in be.ac.ulb.infof307.g02.controllers
Controller of the ShowResultView.
ShowResultController(ControllerMaster, GroceryList) - Constructor for class be.ac.ulb.infof307.g02.controllers.ShowResultController
Class Constructor
showResultController - Variable in class be.ac.ulb.infof307.g02.views.ShowResultView
 
showResultsInView(Shop[], List<Double>, List<Double>, List<Double>) - Method in class be.ac.ulb.infof307.g02.controllers.ShowResultController
Tells the view to display the results.
showResultsScreen(GroceryList, Position) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
Shows the result view
ShowResultView - Class in be.ac.ulb.infof307.g02.views
Displays all the shops containing all the products of a given grocery list or the shops containing a given product
ShowResultView(ShowResultController, Scene) - Constructor for class be.ac.ulb.infof307.g02.views.ShowResultView
 
showRoute(List<ArrayList<Double>>) - Method in class be.ac.ulb.infof307.g02.views.MapComponent
Asks the JavaScript to show a route between a list of position
showSaveMessageBox() - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
Asks the user if he wants to save the grocery list
showSaveMessageBox() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
Opens a popup asking the user for a confirmation on whether ir not he/she wants to save the recipe.
showShopsWithAllProducts() - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListController
Finds all shops whose contain every item from the list
showShopsWithProduct(ProductAmount) - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListController
Shows shops containing a product
showSuccessPopup() - Method in class be.ac.ulb.infof307.g02.views.CreateProductView
 
showSuccessPopup() - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
Tells the user that the grocery list has been saved successfully
showSuccessPopup() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
Shows a popup stating that the recipe was successfully saved.
showSuccessPopup() - Method in class be.ac.ulb.infof307.g02.views.RegisterView
 
showUnexpectedError() - Method in class be.ac.ulb.infof307.g02.views.MapView
 
showUnexpectedError() - Static method in class be.ac.ulb.infof307.g02.views.Popup
 
showUserNameTakenError() - Method in class be.ac.ulb.infof307.g02.views.RegisterView
 
spinners - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
 
STACK_PANE_WIDTH - Static variable in class be.ac.ulb.infof307.g02.views.MapView
 
stage - Variable in class be.ac.ulb.infof307.g02.views.FileSelectorView
 
stage - Variable in class be.ac.ulb.infof307.g02.views.HelpView
 
stage - Variable in class be.ac.ulb.infof307.g02.views.SelectBestTourGroceryListView
 
start(Stage) - Method in class be.ac.ulb.infof307.g02.MainApplication
 
startingPos - Variable in class be.ac.ulb.infof307.g02.controllers.MapController
The starting position of a bestTour
startPos - Variable in class be.ac.ulb.infof307.g02.models.BestTourFinder
 
stock - Variable in class be.ac.ulb.infof307.g02.models.Shop
 
stockContainer - Variable in class be.ac.ulb.infof307.g02.views.MapView
 
StockFillingException - Exception in be.ac.ulb.infof307.g02.exceptions.database
Exception thrown by the database if an error occurs while filling a shop's stock
StockFillingException(String, Exception) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.database.StockFillingException
 
stockToCsvFormat(Shop) - Static method in class be.ac.ulb.infof307.g02.utils.ArticlesExporter
Converts the stock of a shop into a string formatted for a CSV file
storeAllKeys(KeyPair, byte[], User) - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
Store the user's key chain (RSA keypair, encrypted AES key and salt)
storePrivateKey(PrivateKey, User, byte[]) - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
Store user's private key in the keystore.jks file
storePublicData(String, PublicKey, byte[], byte[]) - Method in class be.ac.ulb.infof307.g02.database.KeyDB
Store user's public data (RSA public key, encrypted AES key and salt) in the key table
sundayCheckBox - Variable in class be.ac.ulb.infof307.g02.views.MapView
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links