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 

G

generateAESKey() - Static method in class be.ac.ulb.infof307.g02.utils.AES
 
generateGroceryList() - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
Saves the recipe, generates the grocery list from the recipe, saves it in the DB and then shows it.
generateKeyPair() - Static method in class be.ac.ulb.infof307.g02.utils.RSA
 
geoLocalise() - Method in class be.ac.ulb.infof307.g02.controllers.MapController
GeoLocalises the user using his IP Address
getAesKey(User) - Method in class be.ac.ulb.infof307.g02.utils.Crypto
Returns the (unencrypted) AES key
getAesKey() - Method in class be.ac.ulb.infof307.g02.utils.Crypto
 
getAliasForPrivateKey(User) - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
Returns the alias for the user's private key - the alias is used to store/fetch the key in the keystore.jks file
getAllGroceryList() - Method in class be.ac.ulb.infof307.g02.controllers.SelectBestTourGroceryListController
Gets all the grocery lists from the database
getAllGroceryListsName(User) - Method in class be.ac.ulb.infof307.g02.database.GroceryListDB
Get all the names of the GroceryLists of a user from the database
getAllProducts() - Method in class be.ac.ulb.infof307.g02.database.ProductDB
Retrieve all the products from the database
getAllRecipesName(User) - Method in class be.ac.ulb.infof307.g02.database.RecipeDB
Gets all the names of the Recipes of a user from the database
getAllShops() - Method in class be.ac.ulb.infof307.g02.database.ShopDB
Gets all the shops from the database
getAmount() - Method in class be.ac.ulb.infof307.g02.models.ProductAmount
 
getBestTour() - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
Create a BestTour object to store the result of the algorithm
getBestTourPositions() - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
Returns all the positions of the tour: the start position, the shops (in order) and the end position.
getBestTourShops() - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
Returns the shops (in order) of the best tour.
getBytes(String, String) - Method in class be.ac.ulb.infof307.g02.database.KeyDB
Fetches the bytes in the given column of the Key table for the given user
getCalories() - Method in class be.ac.ulb.infof307.g02.models.NutritionalValues
 
getCarbohydrateGramsPerUnit() - Method in class be.ac.ulb.infof307.g02.models.Product
 
getCarbohydrates() - Method in class be.ac.ulb.infof307.g02.models.NutritionalValues
 
getCloseTime() - Method in class be.ac.ulb.infof307.g02.models.TimeSlot
 
getConfirmPasswordField() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
 
getCostForProductInNewShop(ProductAmount, Shop, Set<Shop>) - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
Gets the cost of buying the product in the shop, given that we haven't planned yet to go to that shop.
getCostForProductInVisitedShop(ProductAmount, Shop) - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
Gets the cost of buying the product in the shop, given that we already planned to visit the shop to buy another product.
getCrypto() - Static method in class be.ac.ulb.infof307.g02.utils.CryptoSingleton
Returns the current Crypto instance
getCurrentPasswordField() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
 
getDatabaseConnection() - Static method in class be.ac.ulb.infof307.g02.database.DatabaseConnectionSingleton
Returns the database connection, instantiating it if doesn't exist yet.
getDatabaseConnection() - Method in class be.ac.ulb.infof307.g02.database.ObjectDB
 
getDay() - Method in class be.ac.ulb.infof307.g02.models.DaySchedule
 
getDayName() - Method in class be.ac.ulb.infof307.g02.models.DaySchedule
 
getDaySchedules() - Method in class be.ac.ulb.infof307.g02.models.Schedule
Returns a copy of the time slots of the schedule, organized by day.
getDaySchedules() - Method in class be.ac.ulb.infof307.g02.models.Shop
 
getDayTimeSlots(Day) - Method in class be.ac.ulb.infof307.g02.models.Schedule
Gets all the TimeSlots for a day
getDistance() - Method in class be.ac.ulb.infof307.g02.models.FindShopsResult
 
getDistanceCostOfAddingShop(Shop, Set<Shop>) - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
Return the cost of adding a new shop to the actual tour, using an approximation.
getDouble(String) - Method in class be.ac.ulb.infof307.g02.database.EncryptedResultSet
 
getEncryptedAESKey(String) - Method in class be.ac.ulb.infof307.g02.database.KeyDB
Return user's encrypted AES key
getEncryptedAESKey(User) - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
Return user's encrypted AES key
getEncryptedAESKey() - Method in class be.ac.ulb.infof307.g02.utils.Crypto
Return the RSA-encrypted AES key
getEncryptedAESKey(byte[], PublicKey) - Method in class be.ac.ulb.infof307.g02.utils.Crypto
Return AES key after RSA encryption with the given RSA public key
getEncryptedResultSet() - Method in class be.ac.ulb.infof307.g02.database.EncryptedPreparedStatement
 
getEndPos() - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
 
getGroceryList(User, String) - Method in class be.ac.ulb.infof307.g02.database.GroceryListDB
Get a GroceryList from the database
getGroceryListFromView() - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
Creates a GroceryList bases on the content of the recipe view
getGroceryListName() - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListController
 
getGroceryListName() - Method in class be.ac.ulb.infof307.g02.models.GroceryList
 
getGroceryLists() - Method in class be.ac.ulb.infof307.g02.models.BestTour
 
getHashedPassword() - Method in class be.ac.ulb.infof307.g02.models.User
 
getHashedPasswordBytes() - Method in class be.ac.ulb.infof307.g02.models.User
 
getHeader() - Method in class be.ac.ulb.infof307.g02.views.ViewWithMenu
 
getHelpButton() - Method in class be.ac.ulb.infof307.g02.views.MenuComponent
 
getHour() - Method in class be.ac.ulb.infof307.g02.models.Time
 
getId() - Method in class be.ac.ulb.infof307.g02.models.Shop
 
getImportableProducts() - Method in class be.ac.ulb.infof307.g02.controllers.ImportArticlesController
 
getIndex() - Method in enum be.ac.ulb.infof307.g02.models.Day
 
getInstructions() - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
Returns the Instructions of the recipe
getInstructions() - Method in class be.ac.ulb.infof307.g02.models.Recipe
 
getInstructionsText() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
Returns the string present in the instructions text area
getInt(String) - Method in class be.ac.ulb.infof307.g02.database.EncryptedResultSet
 
getItemList() - Method in class be.ac.ulb.infof307.g02.views.ListComponent
Returns a list of Object (of type T), there is one object in the list of each item in the component
getItemNames() - Method in class be.ac.ulb.infof307.g02.controllers.SelectionController
Gets the names of the selectable items
getIvParameterSpec() - Static method in class be.ac.ulb.infof307.g02.utils.AES
Build the initialization vector, this vector is used to prevent for bruteforce (Rainbow) attack, which is required for our AES encryption scheme.
getKeyPair(User) - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
Return the user's RSA key pair
getKeyPair() - Method in class be.ac.ulb.infof307.g02.utils.Crypto
 
getKeystoreFileInputStream() - Static method in class be.ac.ulb.infof307.g02.database.KeyStorer
 
getKeystoreOutputStream() - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
Returns an output stream to the keystore.jks file
getKeystoreResourceInputStream() - Static method in class be.ac.ulb.infof307.g02.database.KeyStorer
Gets an InputStream to the keystore resource
getLatitude() - Method in class be.ac.ulb.infof307.g02.models.Position
 
getLinearDistance(Position, Position) - Static method in class be.ac.ulb.infof307.g02.utils.DistanceCalculator
Calculates distance between two points in latitude and longitude using the Haversine method.
getLipidGramsPerUnit() - Method in class be.ac.ulb.infof307.g02.models.Product
 
getLipids() - Method in class be.ac.ulb.infof307.g02.models.NutritionalValues
 
getLongitude() - Method in class be.ac.ulb.infof307.g02.models.Position
 
getMaxDistance() - Method in class be.ac.ulb.infof307.g02.models.FilterData
 
getMinute() - Method in class be.ac.ulb.infof307.g02.models.Time
 
getName() - Method in enum be.ac.ulb.infof307.g02.models.Day
 
getName() - Method in class be.ac.ulb.infof307.g02.models.FilterData
 
getName() - Method in class be.ac.ulb.infof307.g02.models.Product
 
getName() - Method in class be.ac.ulb.infof307.g02.models.Recipe
 
getName() - Method in class be.ac.ulb.infof307.g02.models.Shop
 
getNewItemName() - Method in class be.ac.ulb.infof307.g02.views.SelectionView
 
getNumberAtPosition(int) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
Returns only the number of the item at a given position in the list component
getNumberAtPosition(int) - Method in class be.ac.ulb.infof307.g02.views.RecipeView
Returns the amount of a certain product located at a given position in the recipe.
getNumberOfPeople() - Method in class be.ac.ulb.infof307.g02.models.Recipe
 
getNumberPeople() - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
Returns the number of people for which the recipe is made
getNumPeopleValue() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
Returns the value present in the spinner containing the information of how many people was the recipe conceived for.
getOpeningDays() - Method in class be.ac.ulb.infof307.g02.models.FilterData
 
getOpeningTime() - Method in class be.ac.ulb.infof307.g02.models.FilterData
 
getOpenTime() - Method in class be.ac.ulb.infof307.g02.models.TimeSlot
 
getPasswordField() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
 
getPasswordProtection(String, byte[]) - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
Return password protection used for the user in the keystore
getPosition() - Method in class be.ac.ulb.infof307.g02.models.Session
 
getPosition() - Method in class be.ac.ulb.infof307.g02.models.Shop
 
getPrice() - Method in class be.ac.ulb.infof307.g02.models.Article
 
getPrice() - Method in class be.ac.ulb.infof307.g02.models.FindShopsResult
 
getPriceOfList(GroceryList) - Method in class be.ac.ulb.infof307.g02.models.Shop
 
getPrivateKey(User) - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
Return user's RSA private key
getProduct(String) - Method in class be.ac.ulb.infof307.g02.database.ProductDB
Retrieve the product "productName" from the database
getProduct() - Method in class be.ac.ulb.infof307.g02.models.Article
 
getProduct() - Method in class be.ac.ulb.infof307.g02.models.ProductAmount
 
getProductAmountByProductName(String) - Method in class be.ac.ulb.infof307.g02.models.GroceryList
Searches and returns a product in the productAmountList.
getProductAmountByProductName(String) - Method in class be.ac.ulb.infof307.g02.models.ProductAmountListOwner
Search and return a product in the productAmountList list.
getProductAmountList() - Method in class be.ac.ulb.infof307.g02.models.GroceryList
Gets a list of all the products of a grocery list with their amount
getProductAmountList() - Method in class be.ac.ulb.infof307.g02.models.Recipe
Gets a list of the products with their amounts
getProductAmountsList() - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
Gets all the products and amounts from the listComponent
getProductAmountsList() - Method in class be.ac.ulb.infof307.g02.views.RecipeView
 
getProductCarbohydrates() - Method in class be.ac.ulb.infof307.g02.models.Article
 
getProductDoublePairs() - Method in class be.ac.ulb.infof307.g02.views.ListComponent
Gets a list of (poduct, double) pairs, there is an item in the list for each element of the component
getProductFromResultSet(ResultSet) - Static method in class be.ac.ulb.infof307.g02.database.ProductDB
Creates a product from the information in the given ResultSet
getProductLipids() - Method in class be.ac.ulb.infof307.g02.models.Article
 
getProductList() - Method in class be.ac.ulb.infof307.g02.models.FilterData
 
getProductName() - Method in class be.ac.ulb.infof307.g02.models.Article
 
getProductName() - Method in class be.ac.ulb.infof307.g02.models.ProductAmount
 
getProductPrice(Product) - Method in class be.ac.ulb.infof307.g02.models.Shop
 
getProductPriceAtShop(ProductAmount, Shop) - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
Returns the price of buying a product in a certain amount at the given shop.
getProductProteins() - Method in class be.ac.ulb.infof307.g02.models.Article
 
getProducts() - Method in class be.ac.ulb.infof307.g02.controllers.MapController
Returns a list of all the product available in the database.
getProducts() - Method in class be.ac.ulb.infof307.g02.models.Shop
 
getProductsAtShop(Shop) - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
Returns all the products that the purchaser will buy in a given shop during the best tour.
getProductsList() - Method in class be.ac.ulb.infof307.g02.models.GroceryList
Gets a list of all the products contained in the productAmountList.
getProductUnitName() - Method in class be.ac.ulb.infof307.g02.models.Article
 
getProteinGramsPerUnit() - Method in class be.ac.ulb.infof307.g02.models.Product
 
getProteins() - Method in class be.ac.ulb.infof307.g02.models.NutritionalValues
 
getPublicKey(String) - Method in class be.ac.ulb.infof307.g02.database.KeyDB
Return user's RSA public key
getRealDistance(Position, Position) - Static method in class be.ac.ulb.infof307.g02.utils.DistanceCalculator
Calculates the real route distance between two points in latitude and longitude using GraphHopperAPI
getRecipe(User, String) - Method in class be.ac.ulb.infof307.g02.database.RecipeDB
Get a Recipe from the database
getRecipeGeneralInfos(String, User) - Method in class be.ac.ulb.infof307.g02.database.RecipeDB
Gets the Instructions of a recipe and the number of people from the database
getRecipeName() - Method in class be.ac.ulb.infof307.g02.controllers.RecipeController
 
getRecipeProductAmounts(String, User) - Method in class be.ac.ulb.infof307.g02.database.RecipeDB
Gets all the ProductAmounts of a recipe
getRouteDistanceInKm(List<List<BigDecimal>>) - Static method in class be.ac.ulb.infof307.g02.utils.DistanceCalculator
 
getSalt(String) - Method in class be.ac.ulb.infof307.g02.database.KeyDB
Return the user's salt.
getScene() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
getSchedule() - Method in class be.ac.ulb.infof307.g02.models.Shop
 
getScheduleFromResultSet(ResultSet) - Method in class be.ac.ulb.infof307.g02.database.ShopDB
Gets the schedule of a shop from a ResultSet
getScore() - Method in class be.ac.ulb.infof307.g02.models.FindShopsResult
 
getSelectedDays() - Method in class be.ac.ulb.infof307.g02.views.MapView
Gets all the days that the user has selected
getSelectedFileToOpen() - Method in class be.ac.ulb.infof307.g02.views.FileSelectorView
Gets the selected file from the file chooser, which we'll open
getSelectedFileToSave() - Method in class be.ac.ulb.infof307.g02.views.FileSelectorView
Gets the selected file from the file chooser, in which we will save data
getShopByID(int) - Method in class be.ac.ulb.infof307.g02.controllers.MapController
Returns the shop corresponding to a shopID, if no such shop is found it throws an NoSuchException
getShopName() - Method in class be.ac.ulb.infof307.g02.models.FindShopsResult
 
getShops() - Method in class be.ac.ulb.infof307.g02.controllers.MapController
 
getShops() - Method in class be.ac.ulb.infof307.g02.views.MapView
Gets all the shops displayed in the view
getStartPos() - Method in class be.ac.ulb.infof307.g02.models.BestTourFinder
 
getStock() - Method in class be.ac.ulb.infof307.g02.models.Shop
 
getString(String) - Method in class be.ac.ulb.infof307.g02.database.EncryptedResultSet
 
getTimeFromPicker() - Method in class be.ac.ulb.infof307.g02.views.MapView
Gets the time that the user has selected
getTimeSlots() - Method in class be.ac.ulb.infof307.g02.models.DaySchedule
 
getTour() - Method in class be.ac.ulb.infof307.g02.models.BestTour
Gets the besTour found buy the algorithm
getUnderlyingProductAmountList() - Method in class be.ac.ulb.infof307.g02.models.ProductAmountListOwner
Returns a direct reference to the product amount list (not a copy).
getUnit() - Method in class be.ac.ulb.infof307.g02.models.Product
 
getUnitName() - Method in class be.ac.ulb.infof307.g02.models.Product
 
getUnitName() - Method in enum be.ac.ulb.infof307.g02.models.Product.Unit
 
getUser() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
getUser() - Method in class be.ac.ulb.infof307.g02.models.Session
 
getUserByName(String) - Method in class be.ac.ulb.infof307.g02.database.UserDB
Return the User with the given user name.
getUserName() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
getUserName() - Method in class be.ac.ulb.infof307.g02.models.Session
 
getUserName() - Method in class be.ac.ulb.infof307.g02.models.User
 
getUserNameField() - Method in class be.ac.ulb.infof307.g02.views.EditAccountView
 
getUserPosition() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
getUserPosition() - Method in class be.ac.ulb.infof307.g02.controllers.MapController
Returns the user position.
getUserPosition() - Method in class be.ac.ulb.infof307.g02.views.MapView
 
getView() - Method in class be.ac.ulb.infof307.g02.controllers.SelectionController
 
getWebView() - Method in class be.ac.ulb.infof307.g02.views.MapView
Gets the webView in which the map is displayed
globalContainer - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
 
goBackToGroceryList() - Method in class be.ac.ulb.infof307.g02.controllers.ShowResultController
Go back to the groceryLists view from which we came from
goToLogin() - Method in class be.ac.ulb.infof307.g02.controllers.RegisterController
Goes to the login view
GROCERY_LIST_FXML - Static variable in class be.ac.ulb.infof307.g02.views.GroceryListView
The fxml resource for the view
groceryList - Variable in class be.ac.ulb.infof307.g02.controllers.GroceryListController
 
groceryList - Variable in class be.ac.ulb.infof307.g02.controllers.ShowResultController
The grocery list that contains all the products that need to be sold by the shops
groceryList - Variable in class be.ac.ulb.infof307.g02.models.BestTourFinder
 
GroceryList - Class in be.ac.ulb.infof307.g02.models
Represents a grocery list.
GroceryList(String) - Constructor for class be.ac.ulb.infof307.g02.models.GroceryList
 
GroceryList(GroceryList) - Constructor for class be.ac.ulb.infof307.g02.models.GroceryList
 
GroceryList(String, List<ProductAmount>) - Constructor for class be.ac.ulb.infof307.g02.models.GroceryList
 
GroceryListController - Class in be.ac.ulb.infof307.g02.controllers
Controller of the grocery list view.
GroceryListController(ControllerMaster, String) - Constructor for class be.ac.ulb.infof307.g02.controllers.GroceryListController
 
groceryListController - Variable in class be.ac.ulb.infof307.g02.views.GroceryListView
 
groceryListDB - Variable in class be.ac.ulb.infof307.g02.controllers.GroceryListController
 
groceryListDB - Variable in class be.ac.ulb.infof307.g02.controllers.GroceryListSelectionController
 
GroceryListDB - Class in be.ac.ulb.infof307.g02.database
Class responsible to get and update info on the grocery lists in the database.
GroceryListDB() - Constructor for class be.ac.ulb.infof307.g02.database.GroceryListDB
Class constructor that fetches the connection to the production database.
GroceryListDB(DatabaseConnection) - Constructor for class be.ac.ulb.infof307.g02.database.GroceryListDB
Class constructor that stores the given database connection for later use.
groceryListField - Variable in class be.ac.ulb.infof307.g02.views.SelectBestTourGroceryListView
 
GroceryListInsertionException - Exception in be.ac.ulb.infof307.g02.exceptions.database
Exception thrown by the database if it can't insert a grocery list
GroceryListInsertionException(String, Exception) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.database.GroceryListInsertionException
 
GroceryListItemInsertException - Exception in be.ac.ulb.infof307.g02.exceptions.database
Exception thrown by the database if an error occurs internally during the insertion of a grocery list iem
GroceryListItemInsertException(String, Exception) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.database.GroceryListItemInsertException
 
groceryListName - Variable in class be.ac.ulb.infof307.g02.models.GroceryList
 
groceryLists - Variable in class be.ac.ulb.infof307.g02.models.BestTour
The grocery lists needed for the best tour, which contain what should be bought at each store
GroceryListSelectionController - Class in be.ac.ulb.infof307.g02.controllers
Controller of the view displaying all the grocery lists of a User.
GroceryListSelectionController(ControllerMaster) - Constructor for class be.ac.ulb.infof307.g02.controllers.GroceryListSelectionController
 
GroceryListView - Class in be.ac.ulb.infof307.g02.views
View allowing the user to see and update his grocery lists
GroceryListView(GroceryListController, Scene, GroceryList, List<Product>) - Constructor for class be.ac.ulb.infof307.g02.views.GroceryListView
 
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