- ObjectDB - Class in be.ac.ulb.infof307.g02.database
-
This abstract base class is used for each DB.
- ObjectDB() - Constructor for class be.ac.ulb.infof307.g02.database.ObjectDB
-
Class constructor that fetches the connection to the production database.
- ObjectDB(DatabaseConnection) - Constructor for class be.ac.ulb.infof307.g02.database.ObjectDB
-
Class constructor that stores the given database connection for later use.
- obsAllProductList - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
-
- observer - Variable in class be.ac.ulb.infof307.g02.controllers.CreateProductController
-
The observer is informed when a new product is created
- observer - Variable in class be.ac.ulb.infof307.g02.utils.ArticleImporterFromFile
-
The observer is informed when a new article is imported
- onAddItem(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
-
Event Listener on the addItemButton.onAction
- onArticlesImport(Shop) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the Importation view
- onBestRouteAlgoReady(GroceryList) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the best route.
- onClearAll(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
-
Event Listener on clearButton.onAction
- onClose() - Method in class be.ac.ulb.infof307.g02.controllers.HelpController
-
Called when closing the view
- onClosePane() - Method in class be.ac.ulb.infof307.g02.views.MapComponent
-
Asks the JavaScript to remove all the elements of a best tour from the map
- onCloseSelectGroceryListView() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Removes start and destination pin of best tour.
- onCloseSelectGroceryListView() - Method in class be.ac.ulb.infof307.g02.controllers.SelectBestTourGroceryListController
-
Informs the ControllerMaster that the user has closed the view
- onCreateItem(String) - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListSelectionController
-
Creates the new grocery list, adds it to the DB and then shows the "Edit
Grocery List" screen with the newly created (empty) list.
- onCreateItem(String) - Method in class be.ac.ulb.infof307.g02.controllers.RecipeSelectionController
-
Creates the new recipe, adds it to the DB and then shows the "Edit
Recipe" screen with the newly created (empty) recipe.
- onCreateItem(String) - Method in class be.ac.ulb.infof307.g02.controllers.SelectionController
-
- onCreateNewItem() - Method in class be.ac.ulb.infof307.g02.views.SelectionView
-
- onCreateNewProduct() - Method in class be.ac.ulb.infof307.g02.controllers.ImportArticlesController
-
Tells the ControllerMaster that the user wants to create a product
- onCreateNewProduct() - Method in class be.ac.ulb.infof307.g02.views.ImportArticlesView
-
Event listener the create new product button
- onCreateProduct() - Method in class be.ac.ulb.infof307.g02.views.CreateProductView
-
Handles the click on the "Create Product" button.
- onCreateProduct(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
-
Event listener on the createProductButton
- onCreateProductClosed() - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListController
-
Asks the view to enable the addProduct button
- onCreateProductClosed() - Method in class be.ac.ulb.infof307.g02.controllers.ImportArticlesController
-
Tells the view that new products can be created again
- onCreateProductClosed() - Method in interface be.ac.ulb.infof307.g02.controllers.ProductCreationObserver
-
- onDelete(String) - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListSelectionController
-
Deletes a groceryList from the database
- onDelete(String) - Method in class be.ac.ulb.infof307.g02.controllers.RecipeSelectionController
-
Deletes a recipe from the database
- onDelete(String) - Method in class be.ac.ulb.infof307.g02.controllers.SelectionController
-
- onEditProfileClick() - Method in class be.ac.ulb.infof307.g02.views.MenuComponent
-
- onEditProfileClick() - Method in class be.ac.ulb.infof307.g02.views.ViewWithMenu
-
Shows the edit profile
- onExportArticles(int) - Method in class be.ac.ulb.infof307.g02.controllers.MapController
-
Called when the user clicks on the export button of a shop.
- onFindItinerary() - Method in class be.ac.ulb.infof307.g02.views.SelectBestTourGroceryListView
-
Event Listener on Button[#findItineraryButton].onAction
- onFindShops(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
-
Event listener on the find shops button
- onGenerateGroceryList() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
-
Called whenever the user clicks on the generate
grocery list button.
- onGoBack() - Method in class be.ac.ulb.infof307.g02.views.ShowResultView
-
- onGroceryListGenerated(String) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Called when a grocery List has been generated from a recipe
- onHelpClick() - Method in class be.ac.ulb.infof307.g02.views.MenuComponent
-
- onHelpClick() - Method in class be.ac.ulb.infof307.g02.views.ViewWithMenu
-
Shows the help page
- onHelpViewStatusChanged(boolean) - Method in class be.ac.ulb.infof307.g02.controllers.Controller
-
Some controllers must enable the help button when the help window is closed or disable
the help button when the help is opened.
- onHelpViewStatusChanged(boolean) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
-
Whenever the help window is opened or closed the help button must be disabled or enabled accordingly.
- onImport() - Method in class be.ac.ulb.infof307.g02.views.ImportArticlesView
-
Event listener on the import button
- onListSelected(String) - Method in class be.ac.ulb.infof307.g02.controllers.SelectBestTourGroceryListController
-
Fetches the list selected by the user from the database and acknowledge the
master that all the information are now available
- onLogin(Session) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Sets the session to newSession and then shows the map
- onLogin() - Method in class be.ac.ulb.infof307.g02.views.LoginView
-
Handles the click on the "login" button.
- onLogout() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Closes the help, reset the session and the cryptography
Then, shows the login screen
- onLogout() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
-
Logout
- onLogout() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenuThatSaves
-
Asks the user if he wants to save changes then logs out
- onLogoutClick() - Method in class be.ac.ulb.infof307.g02.views.MenuComponent
-
- onLogoutClick() - Method in class be.ac.ulb.infof307.g02.views.ViewWithMenu
-
Logout
- onMyGroceryListsClick() - Method in class be.ac.ulb.infof307.g02.views.MenuComponent
-
- onMyGroceryListsClick() - Method in class be.ac.ulb.infof307.g02.views.ViewWithMenu
-
Shows the grocery lists
- onMyRecipesClick() - Method in class be.ac.ulb.infof307.g02.views.MenuComponent
-
- onMyRecipesClick() - Method in class be.ac.ulb.infof307.g02.views.ViewWithMenu
-
Shows the recipes
- onPositionsForTourReady(Position, Position) - Method in class be.ac.ulb.infof307.g02.controllers.MapController
-
Called when the starting and the destination position have been
clicked on the map.
- onProductCreated(Product) - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListController
-
Asks the view to add a newly created product to the choices
- onProductCreated(Product) - Method in class be.ac.ulb.infof307.g02.controllers.ImportArticlesController
-
Tells the view that a new product has been created
- onProductCreated(Product) - Method in interface be.ac.ulb.infof307.g02.controllers.ProductCreationObserver
-
- onRegister() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Show Login
- onRegister() - Method in class be.ac.ulb.infof307.g02.views.LoginView
-
Handles the click on the "register" button.
- onRegister() - Method in class be.ac.ulb.infof307.g02.views.RegisterView
-
Handles the click on the Register button.
- onReturnToLogin() - Method in class be.ac.ulb.infof307.g02.views.RegisterView
-
Handles the click on the return to login button.
- onSave(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
-
Handles the event when the save button is pressed
- onSaveChanges(ActionEvent) - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
-
Event listener on the save changes button
- onSaveChanges() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
-
Called whenever the user clicks on the save button.
- onSelectCSV() - Method in class be.ac.ulb.infof307.g02.views.ImportArticlesView
-
- onSelection(String) - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListSelectionController
-
Shows the selected grocery list.
- onSelection(String) - Method in class be.ac.ulb.infof307.g02.controllers.RecipeSelectionController
-
Shows the selected recipe.
- onSelection(String) - Method in class be.ac.ulb.infof307.g02.controllers.SelectionController
-
- onShowAddProduct(ProductCreationObserver) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the add product view
- onShowAllGroceryLists() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows all the grocery lists of the connected user
- onShowAllGroceryLists() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
-
Shows all the grocery lists of the logged in user
- onShowAllGroceryLists() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenuThatSaves
-
Asks the user if he wants to save changes then shows all grocery lists
- onShowAllRecipes() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows all the recipes of the connected user
- onShowAllRecipes() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
-
Shows all the recipes of the logged in user
- onShowAllRecipes() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenuThatSaves
-
Asks the user if he wants to save changes then shows all the grocery lists
- onShowEditProfile() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the edit profile view
- onShowEditProfile() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
-
Shows the Edit profile view
- onShowEditProfile() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenuThatSaves
-
Asks the user if he wants to save changes then shows the Edit Profile view
- onShowGroceryList(String) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the groceryList view
- onShowGroceryListSelector() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the view to select a grocery list for a Best Tour.
- onShowHelp(HelpPage) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the help view in a new stage
- onShowHelp() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
-
Shows the Help View
- onShowLogin() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the login view
- onShowMap() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the map view.
- onShowMap() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
-
Shows the map
- onShowMap() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerWithMenuThatSaves
-
Asks the user if he wants to save changes then shows the map
- onShowMapClick() - Method in class be.ac.ulb.infof307.g02.views.MenuComponent
-
- onShowMapClick() - Method in class be.ac.ulb.infof307.g02.views.ViewWithMenu
-
Shows the map
- onShowRecipe(String) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the recipe view
- onShowRegister() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Shows the register view
- onUserClosedHelp() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Called when the user close the help screen
- openingDays - Variable in class be.ac.ulb.infof307.g02.models.FilterData
-
The days during which the shops must be open
- openingTime - Variable in class be.ac.ulb.infof307.g02.models.FilterData
-
A time during which the shops must be open
- openTime - Variable in class be.ac.ulb.infof307.g02.models.TimeSlot
-