- unit - Variable in class be.ac.ulb.infof307.g02.models.Product
-
- Unit(String) - Constructor for enum be.ac.ulb.infof307.g02.models.Product.Unit
-
- unitField - Variable in class be.ac.ulb.infof307.g02.views.CreateProductView
-
- unitName - Variable in enum be.ac.ulb.infof307.g02.models.Product.Unit
-
- updateAccountInformation(String, String, String, String) - Method in class be.ac.ulb.infof307.g02.controllers.EditAccountController
-
Checks if the new informations are correct, then update the account informations
- updateAllKeys(KeyPair, byte[], User, User) - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
-
Update user's keys (required when they change their password or username).
- updateAmount(double) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
-
Multiplies all the quantities by multiplier.
- updatePassword(String) - Method in class be.ac.ulb.infof307.g02.controllers.EditAccountController
-
Updates the password of the logged in User.
- updatePassword(String, String) - Method in class be.ac.ulb.infof307.g02.database.UserDB
-
Allows updating the password of a user in the database.
- updateUserKeys(User, User) - Static method in class be.ac.ulb.infof307.g02.utils.CryptoSingleton
-
Regenerates the user's keys, stores the new information and creates a new Crypto instance
with the new keys.
- updateUserKeys(User, User, DatabaseConnection) - Static method in class be.ac.ulb.infof307.g02.utils.CryptoSingleton
-
Regenerates the user's keys, stores the new information and creates a new Crypto instance
with the new keys.
- updateUsername(String) - Method in class be.ac.ulb.infof307.g02.controllers.EditAccountController
-
Updates the user name in the database and in the session.
- updateUserName(String, String) - Method in class be.ac.ulb.infof307.g02.database.UserDB
-
Allows updating the profile in the database by giving a new user name to an
account.
- updateUserPosition(Position) - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
-
Updates the position of the user in the Session
- updateUserPosition(Position) - Method in class be.ac.ulb.infof307.g02.controllers.MapController
-
Updates the user position.
- updateUserPosition(double, double) - Method in class be.ac.ulb.infof307.g02.views.MapComponent.Bridge
-
Allows to update the user position when it was changed in the map.
- updateUserPosition(double, double) - Method in class be.ac.ulb.infof307.g02.views.MapView
-
Updates the current position of the user
- user - Variable in class be.ac.ulb.infof307.g02.models.Session
-
- User - Class in be.ac.ulb.infof307.g02.models
-
Represents a user.
- User(String, String) - Constructor for class be.ac.ulb.infof307.g02.models.User
-
Creates a User, trimming the whitespace at the start and end of the user
name.
- User(String, byte[]) - Constructor for class be.ac.ulb.infof307.g02.models.User
-
Creates a user using their name and the hashed password.
- User(User) - Constructor for class be.ac.ulb.infof307.g02.models.User
-
- USER_HOME - Static variable in class be.ac.ulb.infof307.g02.views.FileSelectorView
-
Default folder
- UserAlreadyHasKeysException - Exception in be.ac.ulb.infof307.g02.exceptions.crypto
-
Exception thrown if the user have already a public key, encrypted AES key and a salt.
- UserAlreadyHasKeysException(String, Exception) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.crypto.UserAlreadyHasKeysException
-
- UserCreationException - Exception in be.ac.ulb.infof307.g02.exceptions.model
-
Exception thrown if the user creation fails,
occurs if the password or the username don't respect account creation rules.
- UserCreationException() - Constructor for exception be.ac.ulb.infof307.g02.exceptions.model.UserCreationException
-
- UserDB - Class in be.ac.ulb.infof307.g02.database
-
Class responsible to get and update the info on the users in the database.
- UserDB() - Constructor for class be.ac.ulb.infof307.g02.database.UserDB
-
Class constructor that fetches the connection to the production database.
- UserDB(DatabaseConnection) - Constructor for class be.ac.ulb.infof307.g02.database.UserDB
-
Class constructor that stores the given database connection for later use.
- userName - Variable in class be.ac.ulb.infof307.g02.models.User
-
the userName
- userNameField - Variable in class be.ac.ulb.infof307.g02.views.EditAccountView
-
- userNameField - Variable in class be.ac.ulb.infof307.g02.views.LoginView
-
- userNameField - Variable in class be.ac.ulb.infof307.g02.views.RegisterView
-
- userNameInfoLabel - Variable in class be.ac.ulb.infof307.g02.views.EditAccountView
-
- UserNameTakenException - Exception in be.ac.ulb.infof307.g02.exceptions.database
-
Exception thrown by the database if a user name is already taken by another user.
- UserNameTakenException(String) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.database.UserNameTakenException
-
- userPosition - Variable in class be.ac.ulb.infof307.g02.models.ShopFilterer
-
- userPosition - Variable in class be.ac.ulb.infof307.g02.views.MapComponent
-
- Utils - Class in be.ac.ulb.infof307.g02.utils
-
- Utils() - Constructor for class be.ac.ulb.infof307.g02.utils.Utils
-
Utility class: should not be instantiated