596,6 → 596,16 |
} |
|
public void clicSupprimerPersonne(final Rafraichissable vue,final List<Personne> personneSelection) { |
|
//Empecher suppression utilisateur |
for (int i=0; i < personneSelection.size(); i++) { |
Personne courante = personneSelection.get(i); |
if (courante.getId().equals(getUtilisateurId())) { |
Info.display("Information", "Vous ne pouvez supprimer votre compte"); |
personneSelection.remove(courante); |
} |
} |
|
if (personneSelection.size() == 0) { |
Info.display("Information", "Veuillez sélectionner une personne."); |
} else if(personneSelection.size() > 0) { |