Package | Description |
---|---|
net.bo |
Classes métier (Business Objects)
|
net.technics |
Modifier and Type | Field and Description |
---|---|
private Groupe |
Utilisateur.leGroupe |
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.String,Groupe> |
Application.lesGroupes |
Modifier and Type | Method and Description |
---|---|
Groupe |
Application.getGroupeById(int id)
Retourne le groupe dont l'ID est passée en paramètre
|
Groupe |
Utilisateur.getLeGroupe() |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,Groupe> |
Application.getLesGroupes() |
Modifier and Type | Method and Description |
---|---|
void |
Utilisateur.addToGroup(Groupe aGroup)
Ajoute l'utilisateur dans le groupe aGroup
|
void |
Utilisateur.setLeGroupe(Groupe leGroupe) |
Modifier and Type | Method and Description |
---|---|
static java.util.HashMap<java.lang.String,Groupe> |
DbGateway.getGroupes()
charge les groupes depuis la connection à la base de données de l'application
|
Modifier and Type | Method and Description |
---|---|
static void |
DbGateway.updateOneGroup(Groupe group,
Db db)
Met à jour dans la base de données db le groupe passé en paramètre
en utilisant son membre recordStatus
|
Modifier and Type | Method and Description |
---|---|
static void |
DbGateway.allocateUsers(java.util.HashMap<java.lang.String,Utilisateur> users,
java.util.HashMap<java.lang.String,Groupe> groups)
Répartit les utilisateurs dans leur groupe, et remplit les groupes d'utilisateurs
Chaque utilisateur doit être affecté au groupe auquel il appartient, en fonction de son idGroupe
|
static void |
DbGateway.updateGroupes(java.util.HashMap<java.lang.String,Groupe> groupes)
Met à jour dans la base de données la hashMap des groupes passée en paramètre
en utilisant le membre recordStatus de chaque objet
|