Ejemplo n.º 1
0
 /**
  * Supprimer une liste de participants
  *
  * @param nomParticipants noms des participants
  */
 public void removeParticipants(ArrayList<String> nomParticipants) {
   try {
     FrontModel.get().getFrontModelParticipants().removeParticipants(nomParticipants);
   } catch (ContestOrgWarningException e) {
     ViewHelper.derror(ContestOrg.get().getFenetrePrincipale(), e.getMessage());
   } catch (ContestOrgErrorException e) {
     ContestOrg.get().erreur("Erreur lors de la modification de plusieurs participants", e);
   }
 }
Ejemplo n.º 2
0
 /**
  * Supprimer un participant
  *
  * @param nomParticipant nom du participant
  */
 public void removeParticipant(String nomParticipant) {
   try {
     FrontModel.get().getFrontModelParticipants().removeParticipant(nomParticipant);
   } catch (ContestOrgWarningException e) {
     ViewHelper.derror(ContestOrg.get().getFenetrePrincipale(), e.getMessage());
   } catch (ContestOrgErrorException e) {
     ContestOrg.get().erreur("Erreur lors de la modification d'un participant", e);
   }
 }
Ejemplo n.º 3
0
 /**
  * Mettre à jour les catégories
  *
  * @param categories informations sur les catégories
  */
 public void updateCategories(TrackableList<InfosModelCategorie> categories) {
   try {
     FrontModel.get().getFrontModelParticipants().updateCategories(categories);
   } catch (Exception e) {
     ContestOrg.get().erreur("Erreur lors de la modification des catégories", e);
   }
 }
Ejemplo n.º 4
0
 /**
  * Mettre à jour les poules
  *
  * @param categoriesPoules informations sur les poules
  */
 public void updatePoules(
     ArrayList<Pair<String, TrackableList<Pair<InfosModelPoule, ArrayList<String>>>>>
         categoriesPoules) {
   try {
     FrontModel.get().getFrontModelParticipants().updatePoules(categoriesPoules);
   } catch (Exception e) {
     ContestOrg.get().erreur("Erreur lors de la modification des poules des catégories", e);
   }
 }
Ejemplo n.º 5
0
 /**
  * Ajouter un participant
  *
  * @param infos informations du participant
  */
 public void addParticipant(
     Quintuple<
             String,
             String,
             InfosModelParticipant,
             TrackableList<Pair<String, InfosModelProprietePossedee>>,
             TrackableList<String>>
         infos) {
   try {
     FrontModel.get().getFrontModelParticipants().addParticipant(infos);
   } catch (Exception e) {
     ContestOrg.get().erreur("Erreur lors de la création d'un participant", e);
   }
 }
Ejemplo n.º 6
0
 /**
  * Modifier un participant
  *
  * @param nomParticipant nom du participant
  * @param infos nouvelles informations du participant
  */
 public void updateParticipant(
     String nomParticipant,
     Quintuple<
             String,
             String,
             InfosModelParticipant,
             TrackableList<Pair<String, InfosModelProprietePossedee>>,
             TrackableList<String>>
         infos) {
   try {
     FrontModel.get().getFrontModelParticipants().updateParticipant(nomParticipant, infos);
   } catch (Exception e) {
     ContestOrg.get().erreur("Erreur lors de la modification d'un participant", e);
   }
 }