| 60 | 
           jpm | 
           1 | 
           package org.tela_botanica.client;
  | 
        
        
            | 
            | 
           2 | 
              | 
        
        
           | 898 | 
           gduche | 
           3 | 
           import java.util.HashMap;
  | 
        
        
           | 237 | 
           aurelien | 
           4 | 
           import java.util.Iterator;
  | 
        
        
            | 
            | 
           5 | 
           import java.util.List;
  | 
        
        
            | 
            | 
           6 | 
              | 
        
        
           | 1329 | 
           cyprien | 
           7 | 
           import org.tela_botanica.client.configuration.Configuration;
  | 
        
        
           | 60 | 
           jpm | 
           8 | 
           import org.tela_botanica.client.interfaces.Rafraichissable;
  | 
        
        
           | 64 | 
           jpm | 
           9 | 
           import org.tela_botanica.client.modeles.Utilisateur;
  | 
        
        
           | 69 | 
           jpm | 
           10 | 
           import org.tela_botanica.client.modeles.UtilisateurAsyncDao;
  | 
        
        
           | 91 | 
           jpm | 
           11 | 
           import org.tela_botanica.client.modeles.ValeurListeAsyncDao;
  | 
        
        
           | 935 | 
           jpm | 
           12 | 
           import org.tela_botanica.client.modeles.collection.Collection;
  | 
        
        
           | 989 | 
           jpm | 
           13 | 
           import org.tela_botanica.client.modeles.collection.CollectionACommentaire;
  | 
        
        
            | 
            | 
           14 | 
           import org.tela_botanica.client.modeles.collection.CollectionACommentaireAsyncDao;
  | 
        
        
           | 935 | 
           jpm | 
           15 | 
           import org.tela_botanica.client.modeles.collection.CollectionAPersonne;
  | 
        
        
            | 
            | 
           16 | 
           import org.tela_botanica.client.modeles.collection.CollectionAPersonneAsyncDao;
  | 
        
        
            | 
            | 
           17 | 
           import org.tela_botanica.client.modeles.collection.CollectionAPublication;
  | 
        
        
            | 
            | 
           18 | 
           import org.tela_botanica.client.modeles.collection.CollectionAPublicationAsyncDao;
  | 
        
        
           | 1802 | 
           aurelien | 
           19 | 
           import org.tela_botanica.client.modeles.collection.CollectionAStructureAsyncDao;
  | 
        
        
           | 935 | 
           jpm | 
           20 | 
           import org.tela_botanica.client.modeles.collection.CollectionAsyncDao;
  | 
        
        
           | 985 | 
           jpm | 
           21 | 
           import org.tela_botanica.client.modeles.commentaire.Commentaire;
  | 
        
        
            | 
            | 
           22 | 
           import org.tela_botanica.client.modeles.commentaire.CommentaireAsyncDao;
  | 
        
        
           | 935 | 
           jpm | 
           23 | 
           import org.tela_botanica.client.modeles.personne.Personne;
  | 
        
        
            | 
            | 
           24 | 
           import org.tela_botanica.client.modeles.personne.PersonneAsyncDao;
  | 
        
        
            | 
            | 
           25 | 
           import org.tela_botanica.client.modeles.publication.Publication;
  | 
        
        
            | 
            | 
           26 | 
           import org.tela_botanica.client.modeles.publication.PublicationAPersonne;
  | 
        
        
            | 
            | 
           27 | 
           import org.tela_botanica.client.modeles.publication.PublicationAPersonneAsyncDao;
  | 
        
        
            | 
            | 
           28 | 
           import org.tela_botanica.client.modeles.publication.PublicationAsyncDao;
  | 
        
        
            | 
            | 
           29 | 
           import org.tela_botanica.client.modeles.structure.Structure;
  | 
        
        
            | 
            | 
           30 | 
           import org.tela_botanica.client.modeles.structure.StructureAPersonne;
  | 
        
        
            | 
            | 
           31 | 
           import org.tela_botanica.client.modeles.structure.StructureAPersonneAsyncDao;
  | 
        
        
            | 
            | 
           32 | 
           import org.tela_botanica.client.modeles.structure.StructureAsyncDao;
  | 
        
        
            | 
            | 
           33 | 
           import org.tela_botanica.client.modeles.structure.StructureConservation;
  | 
        
        
            | 
            | 
           34 | 
           import org.tela_botanica.client.modeles.structure.StructureValorisation;
  | 
        
        
           | 1323 | 
           gduche | 
           35 | 
           import org.tela_botanica.client.synchronisation.Sequenceur;
  | 
        
        
           | 1818 | 
           mathias | 
           36 | 
           import org.tela_botanica.client.util.Analytics;
  | 
        
        
           | 1227 | 
           cyprien | 
           37 | 
           import org.tela_botanica.client.util.Debug;
  | 
        
        
           | 60 | 
           jpm | 
           38 | 
              | 
        
        
            | 
            | 
           39 | 
           import com.extjs.gxt.ui.client.Registry;
  | 
        
        
           | 673 | 
           aurelien | 
           40 | 
           import com.google.gwt.core.client.GWT;
  | 
        
        
           | 1323 | 
           gduche | 
           41 | 
           import com.google.gwt.user.client.Window;
  | 
        
        
           | 60 | 
           jpm | 
           42 | 
              | 
        
        
            | 
            | 
           43 | 
           // TODO : le transformer en SINGLETON
  | 
        
        
           | 277 | 
           jp_milcent | 
           44 | 
           public class Modele {
  | 
        
        
           | 60 | 
           jpm | 
           45 | 
              | 
        
        
            | 
            | 
           46 | 
           	public Modele() {
  | 
        
        
            | 
            | 
           47 | 
           		Registry.register(RegistreId.MODELE, this);
  | 
        
        
            | 
            | 
           48 | 
           	}
  | 
        
        
            | 
            | 
           49 | 
              | 
        
        
           | 231 | 
           jp_milcent | 
           50 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           51 | 
           	//												GESTION DES VALEURS ET LISTES
  | 
        
        
            | 
            | 
           52 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
           | 1323 | 
           gduche | 
           53 | 
           	public void obtenirListeValeurs(Rafraichissable vue, Integer id, Integer seqId) {
  | 
        
        
           | 277 | 
           jp_milcent | 
           54 | 
           		ValeurListeAsyncDao lsDao = new ValeurListeAsyncDao(vue);
  | 
        
        
           | 1323 | 
           gduche | 
           55 | 
           		lsDao.obtenirListe(id, seqId);
  | 
        
        
           | 91 | 
           jpm | 
           56 | 
           	}
  | 
        
        
           | 1292 | 
           cyprien | 
           57 | 
              | 
        
        
           | 1323 | 
           gduche | 
           58 | 
           	public void obtenirListeValeurs(Rafraichissable vue, String type, int id, Integer seqId) {
  | 
        
        
           | 1292 | 
           cyprien | 
           59 | 
           		ValeurListeAsyncDao lsDao = new ValeurListeAsyncDao(vue);
  | 
        
        
           | 1323 | 
           gduche | 
           60 | 
           		lsDao.obtenirListe(type, String.valueOf(id), seqId);
  | 
        
        
           | 1292 | 
           cyprien | 
           61 | 
           	}
  | 
        
        
           | 91 | 
           jpm | 
           62 | 
              | 
        
        
           | 1323 | 
           gduche | 
           63 | 
           	public void obtenirListeValeurs(Rafraichissable vue, Integer listId, boolean pagination, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
           | 1292 | 
           cyprien | 
           64 | 
           		ValeurListeAsyncDao lsDao = new ValeurListeAsyncDao(vue);
  | 
        
        
           | 1323 | 
           gduche | 
           65 | 
           		lsDao.obtenirListe(listId, pagination, recherche, start, nbElements, seqId);
  | 
        
        
           | 1292 | 
           cyprien | 
           66 | 
           	}
  | 
        
        
           | 1323 | 
           gduche | 
           67 | 
              | 
        
        
            | 
            | 
           68 | 
           	public void obtenirListeValeurs(Rafraichissable vue, String type, String id, Integer seqId) {
  | 
        
        
            | 
            | 
           69 | 
           		ValeurListeAsyncDao lsDao = new ValeurListeAsyncDao(vue);
  | 
        
        
            | 
            | 
           70 | 
           		lsDao.obtenirListe(type, String.valueOf(id), seqId);
  | 
        
        
           | 297 | 
           gduche | 
           71 | 
           	}
  | 
        
        
            | 
            | 
           72 | 
              | 
        
        
           | 1323 | 
           gduche | 
           73 | 
           	public void obtenirValeur(Rafraichissable vue, String type, Integer id, String identifiant, Integer seqId) {
  | 
        
        
           | 297 | 
           gduche | 
           74 | 
           		ValeurListeAsyncDao lsDao = new ValeurListeAsyncDao(vue);
  | 
        
        
           | 1323 | 
           gduche | 
           75 | 
           		lsDao.selectionner(type, id, null, identifiant, seqId);
  | 
        
        
           | 289 | 
           gduche | 
           76 | 
           	}
  | 
        
        
            | 
            | 
           77 | 
              | 
        
        
           | 231 | 
           jp_milcent | 
           78 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           79 | 
           	//												GESTION DES UTILISATEURS
  | 
        
        
            | 
            | 
           80 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
           | 237 | 
           aurelien | 
           81 | 
              | 
        
        
           | 277 | 
           jp_milcent | 
           82 | 
           	public void connecterUtilisateur(Rafraichissable vue, String login, String mdp) {
  | 
        
        
            | 
            | 
           83 | 
           		Utilisateur utilisateur = (Utilisateur) Registry.get(RegistreId.UTILISATEUR_COURANT);
  | 
        
        
           | 65 | 
           jpm | 
           84 | 
           		utilisateur.setLogin(login);
  | 
        
        
            | 
            | 
           85 | 
           		utilisateur.setMotDePasse(mdp);
  | 
        
        
           | 277 | 
           jp_milcent | 
           86 | 
           		UtilisateurAsyncDao uDao = new UtilisateurAsyncDao(vue);
  | 
        
        
           | 65 | 
           jpm | 
           87 | 
           		uDao.connecterUtilisateur();
  | 
        
        
           | 64 | 
           jpm | 
           88 | 
           	}
  | 
        
        
            | 
            | 
           89 | 
              | 
        
        
           | 277 | 
           jp_milcent | 
           90 | 
           	public void deconnecterUtilisateur(Rafraichissable vue) {
  | 
        
        
            | 
            | 
           91 | 
           		UtilisateurAsyncDao uDao = new UtilisateurAsyncDao(vue);
  | 
        
        
           | 65 | 
           jpm | 
           92 | 
           		uDao.deconnecterUtilisateur();
  | 
        
        
           | 64 | 
           jpm | 
           93 | 
           	}
  | 
        
        
           | 898 | 
           gduche | 
           94 | 
              | 
        
        
           | 1906 | 
           mathias | 
           95 | 
           	public void getEtatUtilisateur(Rafraichissable vue) {
  | 
        
        
            | 
            | 
           96 | 
           		UtilisateurAsyncDao uDao = new UtilisateurAsyncDao(vue);
  | 
        
        
            | 
            | 
           97 | 
           		uDao.getEtatUtilisateur();
  | 
        
        
            | 
            | 
           98 | 
           	}
  | 
        
        
            | 
            | 
           99 | 
              | 
        
        
           | 898 | 
           gduche | 
           100 | 
           	public void accepterLicence(Rafraichissable vue)	{
  | 
        
        
            | 
            | 
           101 | 
           		UtilisateurAsyncDao uDao = new UtilisateurAsyncDao(vue);
  | 
        
        
            | 
            | 
           102 | 
           		uDao.accepterLicence();
  | 
        
        
           | 453 | 
           jp_milcent | 
           103 | 
              | 
        
        
           | 898 | 
           gduche | 
           104 | 
           	}
  | 
        
        
           | 912 | 
           jpm | 
           105 | 
              | 
        
        
            | 
            | 
           106 | 
           	public void modifierUtilisateur(Rafraichissable vueARafraichir, Utilisateur utilisateur)	{
  | 
        
        
            | 
            | 
           107 | 
           		PersonneAsyncDao pAdao = new PersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 898 | 
           gduche | 
           108 | 
              | 
        
        
           | 912 | 
           jpm | 
           109 | 
           		Personne personne = new Personne();
  | 
        
        
            | 
            | 
           110 | 
           		personne.setId(utilisateur.getId());
  | 
        
        
            | 
            | 
           111 | 
           		personne.setPrenom(utilisateur.getPrenom());
  | 
        
        
            | 
            | 
           112 | 
           		personne.setNom(utilisateur.getNom());
  | 
        
        
            | 
            | 
           113 | 
           		personne.setNomComplet(utilisateur.getNomComplet());
  | 
        
        
            | 
            | 
           114 | 
           		personne.setParametre(utilisateur.getParametre());
  | 
        
        
            | 
            | 
           115 | 
              | 
        
        
            | 
            | 
           116 | 
           		pAdao.modifier(personne);
  | 
        
        
            | 
            | 
           117 | 
           	}
  | 
        
        
            | 
            | 
           118 | 
              | 
        
        
           | 453 | 
           jp_milcent | 
           119 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
           | 231 | 
           jp_milcent | 
           120 | 
           	//												GESTION DES STRUCTURES
  | 
        
        
            | 
            | 
           121 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
           | 64 | 
           jpm | 
           122 | 
              | 
        
        
           | 1763 | 
           aurelien | 
           123 | 
           	public void selectionnerStructure(Rafraichissable vueARafraichir, String structureId, String nomStructure, int start, int nbElements, Integer seqId, boolean searchCity) {
  | 
        
        
           | 209 | 
           jp_milcent | 
           124 | 
           		// Gestion des données des tables coel_structure, coel_structure_conservation et coel_structure_valorisation
  | 
        
        
           | 769 | 
           jpm | 
           125 | 
           		StructureAsyncDao sDao = new StructureAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           126 | 
           		sDao.selectionner(false, structureId, nomStructure, null, start, nbElements, seqId, searchCity);
  | 
        
        
           | 156 | 
           jp_milcent | 
           127 | 
           	}
  | 
        
        
            | 
            | 
           128 | 
              | 
        
        
           | 1763 | 
           aurelien | 
           129 | 
           	public void selectionnerStructureAvecPaginationProgressive(Rafraichissable vueARafraichir, String structureId, String nomStructure, String formatRetour, int start, int nbElements, Integer seqId, boolean searchCity) {
  | 
        
        
           | 1526 | 
           jpm | 
           130 | 
           		// Gestion des données des tables coel_structure, coel_structure_conservation et coel_structure_valorisation
  | 
        
        
            | 
            | 
           131 | 
           		StructureAsyncDao sDao = new StructureAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           132 | 
           		sDao.selectionner(true, structureId, nomStructure, formatRetour, start, nbElements, seqId, searchCity);
  | 
        
        
           | 1526 | 
           jpm | 
           133 | 
           	}
  | 
        
        
            | 
            | 
           134 | 
              | 
        
        
           | 1691 | 
           raphael | 
           135 | 
           	public void selectionnerStructure(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId, boolean searchCity) {
  | 
        
        
           | 1329 | 
           cyprien | 
           136 | 
           		// Gestion des données des tables coel_structure, coel_structure_conservation et coel_structure_valorisation
  | 
        
        
            | 
            | 
           137 | 
           		StructureAsyncDao sDao = new StructureAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           138 | 
           		sDao.selectionner(true, null, recherche, null, start, nbElements, seqId, searchCity);
  | 
        
        
           | 1329 | 
           cyprien | 
           139 | 
           	}
  | 
        
        
            | 
            | 
           140 | 
              | 
        
        
           | 119 | 
           jpm | 
           141 | 
           	/** Lance la creation d'une Structure
  | 
        
        
           | 468 | 
           jp_milcent | 
           142 | 
           	 * @param vueARafraichir la vue demandant a être rafraichie
  | 
        
        
           | 119 | 
           jpm | 
           143 | 
           	 * @param structure les données de la structure
  | 
        
        
            | 
            | 
           144 | 
           	 */
  | 
        
        
           | 769 | 
           jpm | 
           145 | 
           	public void ajouterStructure(Rafraichissable vueARafraichir, Structure structure, StructureConservation conservation, StructureValorisation valorisation) {
  | 
        
        
            | 
            | 
           146 | 
           		StructureAsyncDao structureDao = new StructureAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           147 | 
           		structureDao.ajouter(structure, conservation, valorisation);
  | 
        
        
           | 119 | 
           jpm | 
           148 | 
           	}
  | 
        
        
           | 135 | 
           jpm | 
           149 | 
              | 
        
        
           | 769 | 
           jpm | 
           150 | 
           	public void supprimerStructure(Rafraichissable vueARafraichir, String idStr) {
  | 
        
        
            | 
            | 
           151 | 
           		StructureAsyncDao structureDao = new StructureAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           152 | 
           		structureDao.supprimer(idStr);
  | 
        
        
           | 135 | 
           jpm | 
           153 | 
           	}
  | 
        
        
           | 119 | 
           jpm | 
           154 | 
              | 
        
        
           | 769 | 
           jpm | 
           155 | 
           	public void modifierStructure(Rafraichissable vueARafraichir, String structureId, Structure structure, StructureConservation conservation, StructureValorisation valorisation) {
  | 
        
        
            | 
            | 
           156 | 
           		StructureAsyncDao structureDao = new StructureAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           157 | 
           		structureDao.modifier(structureId, structure, conservation, valorisation);
  | 
        
        
           | 156 | 
           jp_milcent | 
           158 | 
           	}
  | 
        
        
           | 231 | 
           jp_milcent | 
           159 | 
              | 
        
        
           | 265 | 
           jp_milcent | 
           160 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           161 | 
           	// GESTION de la relation STRUCTURE A PERSONNE
  | 
        
        
            | 
            | 
           162 | 
              | 
        
        
           | 1323 | 
           gduche | 
           163 | 
           	public void selectionnerStructureAPersonne(Rafraichissable vueARafraichir, String structureId, String roleId, Integer seqId) {
  | 
        
        
           | 265 | 
           jp_milcent | 
           164 | 
           		// Gestion des données de la table coel_structure_a_personne
  | 
        
        
            | 
            | 
           165 | 
           		if (structureId != null && roleId != null) {
  | 
        
        
           | 761 | 
           jpm | 
           166 | 
           			StructureAPersonneAsyncDao sapDao = new StructureAPersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 1468 | 
           jpm | 
           167 | 
           			sapDao.selectionner(false, structureId, roleId, null, 0, -1, seqId);
  | 
        
        
           | 265 | 
           jp_milcent | 
           168 | 
           		}
  | 
        
        
            | 
            | 
           169 | 
           	}
  | 
        
        
            | 
            | 
           170 | 
              | 
        
        
           | 1468 | 
           jpm | 
           171 | 
           	public void selectionnerStructureAPersonne(Rafraichissable vueARafraichir, String structureId, String roleId, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
            | 
            | 
           172 | 
           		StructureAPersonneAsyncDao sapDao = new StructureAPersonneAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           173 | 
           		sapDao.selectionner(true, structureId, roleId, recherche, start, nbElements, seqId);
  | 
        
        
            | 
            | 
           174 | 
           	}
  | 
        
        
            | 
            | 
           175 | 
              | 
        
        
           | 767 | 
           jpm | 
           176 | 
           	public void modifierStructureAPersonne(Rafraichissable vueARafraichir, StructureAPersonne personnel) {
  | 
        
        
           | 761 | 
           jpm | 
           177 | 
           		StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 767 | 
           jpm | 
           178 | 
           		structureAPersonneDao.modifier(personnel);
  | 
        
        
           | 231 | 
           jp_milcent | 
           179 | 
           	}
  | 
        
        
           | 156 | 
           jp_milcent | 
           180 | 
              | 
        
        
           | 767 | 
           jpm | 
           181 | 
           	public void ajouterStructureAPersonne(Rafraichissable vueARafraichir, String structureId, StructureAPersonne personnel) {
  | 
        
        
           | 761 | 
           jpm | 
           182 | 
           		StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 767 | 
           jpm | 
           183 | 
           		structureAPersonneDao.ajouter(structureId, personnel);
  | 
        
        
           | 231 | 
           jp_milcent | 
           184 | 
           	}
  | 
        
        
            | 
            | 
           185 | 
              | 
        
        
           | 767 | 
           jpm | 
           186 | 
           	public void supprimerStructureAPersonne(Rafraichissable vueARafraichir, String personnelId) {
  | 
        
        
           | 761 | 
           jpm | 
           187 | 
           		StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 767 | 
           jpm | 
           188 | 
           		structureAPersonneDao.supprimer(personnelId);
  | 
        
        
           | 231 | 
           jp_milcent | 
           189 | 
           	}
  | 
        
        
           | 453 | 
           jp_milcent | 
           190 | 
              | 
        
        
           | 231 | 
           jp_milcent | 
           191 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
           | 453 | 
           jp_milcent | 
           192 | 
           	//												GESTION DES COLLECTIONS
  | 
        
        
           | 231 | 
           jp_milcent | 
           193 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           194 | 
              | 
        
        
           | 1763 | 
           aurelien | 
           195 | 
           	public void selectionnerCollection(Rafraichissable vueARafraichir, String collectionId, String nom, int start, int nbElements, Integer seqId) {
  | 
        
        
           | 872 | 
           jpm | 
           196 | 
           		CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
  | 
        
        
           | 1939 | 
           mathias | 
           197 | 
           		//Coel.LogVersFirebug("> selectionnerCollection : [" + collectionId + "]");
  | 
        
        
           | 1763 | 
           aurelien | 
           198 | 
           		cDao.selectionner(false, collectionId, nom, start, nbElements, seqId);
  | 
        
        
           | 143 | 
           gduche | 
           199 | 
           	}
  | 
        
        
           | 453 | 
           jp_milcent | 
           200 | 
              | 
        
        
           | 1367 | 
           cyprien | 
           201 | 
           	public void selectionnerCollection(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
           | 1329 | 
           cyprien | 
           202 | 
           		CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           203 | 
           		cDao.selectionner(true, null, recherche, start, nbElements, seqId);
  | 
        
        
           | 1329 | 
           cyprien | 
           204 | 
           	}
  | 
        
        
            | 
            | 
           205 | 
              | 
        
        
           | 968 | 
           jpm | 
           206 | 
           	public void ajouterCollection(Rafraichissable vueARafraichir, Collection collection) {
  | 
        
        
            | 
            | 
           207 | 
           		CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           208 | 
           		cDao.ajouter(collection);
  | 
        
        
           | 1818 | 
           mathias | 
           209 | 
           		Analytics.evenement("collection", "ajout", "{'nom': '" + collection.getNom() + "'}");
  | 
        
        
           | 453 | 
           jp_milcent | 
           210 | 
           	}
  | 
        
        
           | 224 | 
           aurelien | 
           211 | 
              | 
        
        
           | 872 | 
           jpm | 
           212 | 
           	public void modifierCollection(Rafraichissable vueARafraichir, Collection collection) {
  | 
        
        
            | 
            | 
           213 | 
           		CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           214 | 
           		cDao.modifier(collection);
  | 
        
        
           | 1818 | 
           mathias | 
           215 | 
           		Analytics.evenement("collection", "modification", "{'nom': '" + collection.getNom() + "'}");
  | 
        
        
           | 453 | 
           jp_milcent | 
           216 | 
           	}
  | 
        
        
            | 
            | 
           217 | 
              | 
        
        
           | 968 | 
           jpm | 
           218 | 
           	public void supprimerCollection(Rafraichissable vueARafraichir, String identifiantsCollectionSepareParVirgule) {
  | 
        
        
            | 
            | 
           219 | 
           		CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           220 | 
           		cDao.supprimer(identifiantsCollectionSepareParVirgule);
  | 
        
        
           | 1818 | 
           mathias | 
           221 | 
           		int nombreDeCollectionsSupprimees = identifiantsCollectionSepareParVirgule.split(",").length;
  | 
        
        
            | 
            | 
           222 | 
           		Analytics.evenement("collection", "suppression", "{'identifiants': '[" + identifiantsCollectionSepareParVirgule + "]'}", nombreDeCollectionsSupprimees);
  | 
        
        
           | 453 | 
           jp_milcent | 
           223 | 
           	}
  | 
        
        
            | 
            | 
           224 | 
              | 
        
        
           | 1802 | 
           aurelien | 
           225 | 
           	public void selectionnerCollectionAStructure(Rafraichissable vueARafraichir, String structureId, int start, int nbElements,
  | 
        
        
            | 
            | 
           226 | 
           			Integer seqId) {
  | 
        
        
            | 
            | 
           227 | 
           		CollectionAStructureAsyncDao cDao = new CollectionAStructureAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           228 | 
           		cDao.selectionner(structureId, start, nbElements, seqId);
  | 
        
        
            | 
            | 
           229 | 
           	}
  | 
        
        
            | 
            | 
           230 | 
              | 
        
        
           | 231 | 
           jp_milcent | 
           231 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
           | 875 | 
           jpm | 
           232 | 
           	// GESTION de la relation COLLECTION A PERSONNE
  | 
        
        
            | 
            | 
           233 | 
              | 
        
        
           | 1468 | 
           jpm | 
           234 | 
           	public void selectionnerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, String roleId, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
            | 
            | 
           235 | 
           		CollectionAPersonneAsyncDao sapDao = new CollectionAPersonneAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           236 | 
           		sapDao.selectionner(true, collectionId, roleId, recherche, start, nbElements, seqId);
  | 
        
        
            | 
            | 
           237 | 
           	}
  | 
        
        
            | 
            | 
           238 | 
              | 
        
        
           | 1367 | 
           cyprien | 
           239 | 
           	public void selectionnerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, String roleId, Integer seqId) {
  | 
        
        
           | 883 | 
           jpm | 
           240 | 
           		CollectionAPersonneAsyncDao sapDao = new CollectionAPersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 1468 | 
           jpm | 
           241 | 
           		sapDao.selectionner(false, collectionId, roleId, null, 0, -1, seqId);
  | 
        
        
           | 875 | 
           jpm | 
           242 | 
           	}
  | 
        
        
            | 
            | 
           243 | 
              | 
        
        
            | 
            | 
           244 | 
           	public void modifierCollectionAPersonne(Rafraichissable vueARafraichir, CollectionAPersonne collectionAPersonne) {
  | 
        
        
            | 
            | 
           245 | 
           		CollectionAPersonneAsyncDao collectionAPersonneDao = new CollectionAPersonneAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           246 | 
           		collectionAPersonneDao.modifier(collectionAPersonne);
  | 
        
        
            | 
            | 
           247 | 
           	}
  | 
        
        
            | 
            | 
           248 | 
              | 
        
        
            | 
            | 
           249 | 
           	public void ajouterCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, CollectionAPersonne collectionAPersonne) {
  | 
        
        
            | 
            | 
           250 | 
           		CollectionAPersonneAsyncDao collectionAPersonneDao = new CollectionAPersonneAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           251 | 
           		collectionAPersonneDao.ajouter(collectionId, collectionAPersonne);
  | 
        
        
            | 
            | 
           252 | 
           	}
  | 
        
        
            | 
            | 
           253 | 
              | 
        
        
            | 
            | 
           254 | 
           	public void supprimerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionAPersonneId) {
  | 
        
        
            | 
            | 
           255 | 
           		CollectionAPersonneAsyncDao collectionAPersonneDao = new CollectionAPersonneAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           256 | 
           		collectionAPersonneDao.supprimer(collectionAPersonneId);
  | 
        
        
            | 
            | 
           257 | 
           	}
  | 
        
        
            | 
            | 
           258 | 
              | 
        
        
            | 
            | 
           259 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
           | 883 | 
           jpm | 
           260 | 
           	// GESTION de la relation COLLECTION A PUBLICATION
  | 
        
        
           | 1513 | 
           jpm | 
           261 | 
              | 
        
        
            | 
            | 
           262 | 
           	public void selectionnerCollectionAPublication(Rafraichissable vueARafraichir, String collectionId, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
            | 
            | 
           263 | 
           		CollectionAPublicationAsyncDao capDao = new CollectionAPublicationAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           264 | 
           		capDao.selectionner(true, collectionId, recherche, start, nbElements, seqId);
  | 
        
        
            | 
            | 
           265 | 
           	}
  | 
        
        
           | 883 | 
           jpm | 
           266 | 
              | 
        
        
           | 1367 | 
           cyprien | 
           267 | 
           	public void selectionnerCollectionAPublication(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
  | 
        
        
           | 883 | 
           jpm | 
           268 | 
           		CollectionAPublicationAsyncDao capDao = new CollectionAPublicationAsyncDao(vueARafraichir);
  | 
        
        
           | 1513 | 
           jpm | 
           269 | 
           		capDao.selectionner(false, collectionId, null, 0, -1, seqId);
  | 
        
        
           | 883 | 
           jpm | 
           270 | 
           	}
  | 
        
        
            | 
            | 
           271 | 
              | 
        
        
            | 
            | 
           272 | 
           	public void modifierCollectionAPublication(Rafraichissable vueARafraichir, CollectionAPublication collectionAPublication) {
  | 
        
        
            | 
            | 
           273 | 
           		CollectionAPublicationAsyncDao collectionAPublicationDao = new CollectionAPublicationAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           274 | 
           		collectionAPublicationDao.modifier(collectionAPublication);
  | 
        
        
            | 
            | 
           275 | 
           	}
  | 
        
        
            | 
            | 
           276 | 
              | 
        
        
            | 
            | 
           277 | 
           	public void ajouterCollectionAPublication(Rafraichissable vueARafraichir, String collectionId, CollectionAPublication collectionAPublication) {
  | 
        
        
            | 
            | 
           278 | 
           		CollectionAPublicationAsyncDao collectionAPublicationDao = new CollectionAPublicationAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           279 | 
           		collectionAPublicationDao.ajouter(collectionId, collectionAPublication);
  | 
        
        
            | 
            | 
           280 | 
           	}
  | 
        
        
            | 
            | 
           281 | 
              | 
        
        
            | 
            | 
           282 | 
           	public void supprimerCollectionAPublication(Rafraichissable vueARafraichir, String collectionAPublicationId) {
  | 
        
        
            | 
            | 
           283 | 
           		CollectionAPublicationAsyncDao collectionAPublicationDao = new CollectionAPublicationAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           284 | 
           		collectionAPublicationDao.supprimer(collectionAPublicationId);
  | 
        
        
            | 
            | 
           285 | 
           	}
  | 
        
        
           | 989 | 
           jpm | 
           286 | 
              | 
        
        
            | 
            | 
           287 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           288 | 
           	// GESTION de la relation COLLECTION A COMMENTAIRE
  | 
        
        
           | 883 | 
           jpm | 
           289 | 
              | 
        
        
           | 1367 | 
           cyprien | 
           290 | 
           	public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
  | 
        
        
           | 989 | 
           jpm | 
           291 | 
           		CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
  | 
        
        
           | 1513 | 
           jpm | 
           292 | 
           		cacDao.selectionner(false, collectionId, null, 0, -1, seqId);
  | 
        
        
           | 989 | 
           jpm | 
           293 | 
           	}
  | 
        
        
            | 
            | 
           294 | 
              | 
        
        
           | 1513 | 
           jpm | 
           295 | 
           	public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
            | 
            | 
           296 | 
           		CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           297 | 
           		cacDao.selectionner(true, collectionId, recherche, start, nbElements, seqId);
  | 
        
        
            | 
            | 
           298 | 
           	}
  | 
        
        
            | 
            | 
           299 | 
              | 
        
        
           | 989 | 
           jpm | 
           300 | 
           	public void modifierCollectionACommentaire(Rafraichissable vueARafraichir, CollectionACommentaire collectionACommentaire) {
  | 
        
        
            | 
            | 
           301 | 
           		CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           302 | 
           		cacDao.modifier(collectionACommentaire);
  | 
        
        
            | 
            | 
           303 | 
           	}
  | 
        
        
            | 
            | 
           304 | 
              | 
        
        
           | 997 | 
           jpm | 
           305 | 
           	public void ajouterCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, CollectionACommentaire collectionACommentaire) {
  | 
        
        
           | 989 | 
           jpm | 
           306 | 
           		CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
  | 
        
        
           | 997 | 
           jpm | 
           307 | 
           		cacDao.ajouter(collectionId, collectionACommentaire);
  | 
        
        
           | 989 | 
           jpm | 
           308 | 
           	}
  | 
        
        
            | 
            | 
           309 | 
              | 
        
        
            | 
            | 
           310 | 
           	public void supprimerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionACommentaireId, String mode) {
  | 
        
        
            | 
            | 
           311 | 
           		CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           312 | 
           		cacDao.supprimer(collectionACommentaireId, mode);
  | 
        
        
            | 
            | 
           313 | 
           	}
  | 
        
        
            | 
            | 
           314 | 
              | 
        
        
           | 883 | 
           jpm | 
           315 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
           | 231 | 
           jp_milcent | 
           316 | 
           	//												GESTION DES PERSONNES
  | 
        
        
            | 
            | 
           317 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
           | 1763 | 
           aurelien | 
           318 | 
              | 
        
        
            | 
            | 
           319 | 
           	public void selectionnerPersonne(Rafraichissable vueARafraichir, String personneId, String nomComplet, int start, int nbElements) {
  | 
        
        
            | 
            | 
           320 | 
           		selectionnerPersonne(vueARafraichir, personneId, nomComplet, start, nbElements, null);
  | 
        
        
           | 1323 | 
           gduche | 
           321 | 
           	}
  | 
        
        
           | 231 | 
           jp_milcent | 
           322 | 
              | 
        
        
           | 1763 | 
           aurelien | 
           323 | 
           	public void selectionnerPersonne(Rafraichissable vueARafraichir, String personneId, String nomComplet, int start, int nbElements, Integer seqId) {
  | 
        
        
           | 468 | 
           jp_milcent | 
           324 | 
           		PersonneAsyncDao pDao = new PersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           325 | 
           		pDao.selectionner(false, personneId, nomComplet, start, nbElements, seqId);
  | 
        
        
           | 244 | 
           jp_milcent | 
           326 | 
           	}
  | 
        
        
           | 1329 | 
           cyprien | 
           327 | 
              | 
        
        
            | 
            | 
           328 | 
           	public void selectionnerPersonne(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
            | 
            | 
           329 | 
           		PersonneAsyncDao pDao = new PersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           330 | 
           		pDao.selectionner(true, null, recherche, start, nbElements, seqId);
  | 
        
        
           | 1329 | 
           cyprien | 
           331 | 
           	}
  | 
        
        
           | 277 | 
           jp_milcent | 
           332 | 
              | 
        
        
           | 772 | 
           jpm | 
           333 | 
           	public void supprimerPersonne(Rafraichissable vueARafraichir, String idPersonneSepareParVirgule) {
  | 
        
        
           | 468 | 
           jp_milcent | 
           334 | 
           		PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 772 | 
           jpm | 
           335 | 
           		personneDao.supprimer(idPersonneSepareParVirgule);
  | 
        
        
           | 277 | 
           jp_milcent | 
           336 | 
           	}
  | 
        
        
           | 244 | 
           jp_milcent | 
           337 | 
              | 
        
        
           | 430 | 
           gduche | 
           338 | 
           	public void ajouterPersonne(Rafraichissable vue, Personne personne)	{
  | 
        
        
           | 388 | 
           gduche | 
           339 | 
           		PersonneAsyncDao personneDao = new PersonneAsyncDao(vue);
  | 
        
        
           | 748 | 
           jpm | 
           340 | 
           		personneDao.ajouter(personne);
  | 
        
        
           | 388 | 
           gduche | 
           341 | 
           	}
  | 
        
        
           | 430 | 
           gduche | 
           342 | 
              | 
        
        
           | 468 | 
           jp_milcent | 
           343 | 
           	public void modifierPersonne(Rafraichissable vueARafraichir, Personne personne)	{
  | 
        
        
            | 
            | 
           344 | 
           		PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 748 | 
           jpm | 
           345 | 
           		personneDao.modifier(personne);
  | 
        
        
           | 430 | 
           gduche | 
           346 | 
           	}
  | 
        
        
           | 1513 | 
           jpm | 
           347 | 
              | 
        
        
           | 231 | 
           jp_milcent | 
           348 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           349 | 
           	//												GESTION DES PUBLICATIONS
  | 
        
        
            | 
            | 
           350 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           351 | 
              | 
        
        
           | 1763 | 
           aurelien | 
           352 | 
           	public void selectionnerPublication(Rafraichissable vueARafraichir, String publicationId, String nomComplet, int pageCourante, int nbElements, Integer seqId) {
  | 
        
        
           | 468 | 
           jp_milcent | 
           353 | 
           		PublicationAsyncDao lsDao = new PublicationAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           354 | 
           		lsDao.selectionner(false, publicationId, nomComplet, pageCourante, nbElements, seqId);
  | 
        
        
           | 231 | 
           jp_milcent | 
           355 | 
           	}
  | 
        
        
            | 
            | 
           356 | 
              | 
        
        
           | 1513 | 
           jpm | 
           357 | 
           	public void selectionnerPublication(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
            | 
            | 
           358 | 
           		PublicationAsyncDao lsDao = new PublicationAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           359 | 
           		lsDao.selectionner(true, null, recherche, start, nbElements, seqId);
  | 
        
        
           | 1513 | 
           jpm | 
           360 | 
           	}
  | 
        
        
            | 
            | 
           361 | 
              | 
        
        
           | 1323 | 
           gduche | 
           362 | 
           	public void modifierPublication(Rafraichissable vueRafraichir, Publication publication, Integer seqId) {
  | 
        
        
           | 468 | 
           jp_milcent | 
           363 | 
           		PublicationAsyncDao pDao = new PublicationAsyncDao(vueRafraichir);
  | 
        
        
           | 1323 | 
           gduche | 
           364 | 
           		pDao.modifier(publication, seqId);
  | 
        
        
           | 228 | 
           aurelien | 
           365 | 
           	}
  | 
        
        
            | 
            | 
           366 | 
              | 
        
        
           | 1323 | 
           gduche | 
           367 | 
           	public void ajouterPublication(Rafraichissable vueARafraichir, Publication publication, Integer seqId) {
  | 
        
        
           | 468 | 
           jp_milcent | 
           368 | 
           		PublicationAsyncDao pDao = new PublicationAsyncDao(vueARafraichir);
  | 
        
        
           | 1323 | 
           gduche | 
           369 | 
           		pDao.ajouter(publication, seqId);
  | 
        
        
           | 228 | 
           aurelien | 
           370 | 
           	}
  | 
        
        
           | 231 | 
           jp_milcent | 
           371 | 
              | 
        
        
           | 1227 | 
           cyprien | 
           372 | 
           	public void supprimerPublication(Rafraichissable vueARafraichir, String idPublicationSeparesParVirgule) {
  | 
        
        
           | 468 | 
           jp_milcent | 
           373 | 
           		PublicationAsyncDao pDao = new PublicationAsyncDao(vueARafraichir);
  | 
        
        
           | 1513 | 
           jpm | 
           374 | 
           		pDao.supprimer(idPublicationSeparesParVirgule);
  | 
        
        
           | 237 | 
           aurelien | 
           375 | 
           	}
  | 
        
        
           | 244 | 
           jp_milcent | 
           376 | 
              | 
        
        
           | 822 | 
           jpm | 
           377 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           378 | 
           	// GESTION de la relation PUBLICATION A PERSONNE
  | 
        
        
            | 
            | 
           379 | 
              | 
        
        
           | 1513 | 
           jpm | 
           380 | 
           	public void selectionPersonnesAPublication(Rafraichissable vueARafraichir, String publicationId, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
            | 
            | 
           381 | 
           		PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           382 | 
           		paDao.selectionner(true, publicationId, null, PublicationAPersonne.ROLE_AUTEUR, recherche, start, nbElements, seqId);
  | 
        
        
            | 
            | 
           383 | 
           	}
  | 
        
        
            | 
            | 
           384 | 
              | 
        
        
            | 
            | 
           385 | 
           	public void selectionPublicationsAPersonne(Rafraichissable vueARafraichir, String personneId, String roleIds, String recherche, int start, int nbElements, Integer seqId) {
  | 
        
        
            | 
            | 
           386 | 
           		PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           387 | 
           		paDao.selectionner(true, null, personneId, roleIds, recherche, start, nbElements, seqId);
  | 
        
        
            | 
            | 
           388 | 
           	}
  | 
        
        
            | 
            | 
           389 | 
              | 
        
        
           | 1323 | 
           gduche | 
           390 | 
           	public void selectionPublicationAPersonne(Rafraichissable vueARafraichir, String publicationId, String personnesId, String roleId, Integer seqId) {
  | 
        
        
           | 1262 | 
           cyprien | 
           391 | 
           		PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 1513 | 
           jpm | 
           392 | 
           		paDao.selectionner(false, publicationId, personnesId, roleId, null, 0, -1, seqId);
  | 
        
        
           | 741 | 
           aurelien | 
           393 | 
           	}
  | 
        
        
           | 822 | 
           jpm | 
           394 | 
              | 
        
        
           | 1428 | 
           cyprien | 
           395 | 
           	public void ajouterPublicationAPersonne(Rafraichissable vueARafraichir, String publicationId, String personnesId, String ordreAuteursSepareParVirgule, String roleId, Integer seqId) {
  | 
        
        
           | 741 | 
           aurelien | 
           396 | 
           		PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 1428 | 
           cyprien | 
           397 | 
           		paDao.ajouter(publicationId, personnesId, ordreAuteursSepareParVirgule, roleId, seqId);
  | 
        
        
           | 741 | 
           aurelien | 
           398 | 
           	}
  | 
        
        
           | 1428 | 
           cyprien | 
           399 | 
              | 
        
        
            | 
            | 
           400 | 
           	public void modifierPublicationAPersonne(Rafraichissable vueARafraichir, String publicationId, String personnesId, String ordreAuteurs, String roleId, Integer seqId) {
  | 
        
        
            | 
            | 
           401 | 
           		PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           402 | 
           		paDao.modifier(publicationId, personnesId, ordreAuteurs, roleId, seqId);
  | 
        
        
            | 
            | 
           403 | 
           	}
  | 
        
        
           | 741 | 
           aurelien | 
           404 | 
              | 
        
        
           | 1227 | 
           cyprien | 
           405 | 
           	public void supprimerPublicationAPersonne(Rafraichissable vueARafraichir, String publicationsAPersonneId) {
  | 
        
        
           | 1428 | 
           cyprien | 
           406 | 
           		PublicationAPersonneAsyncDao publicationAPersonneDao = new PublicationAPersonneAsyncDao(vueARafraichir);
  | 
        
        
           | 901 | 
           jpm | 
           407 | 
           		publicationAPersonneDao.supprimer(publicationsAPersonneId);
  | 
        
        
           | 750 | 
           aurelien | 
           408 | 
           	}
  | 
        
        
            | 
            | 
           409 | 
              | 
        
        
           | 985 | 
           jpm | 
           410 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           411 | 
           	//												GESTION DES COMMENTAIRES
  | 
        
        
            | 
            | 
           412 | 
           	//+----------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           413 | 
              | 
        
        
           | 1763 | 
           aurelien | 
           414 | 
           	public void selectionnerCommentaire(Rafraichissable vueARafraichir, String commentaireId, String titre, int pageCourante, int nbElements, Integer seqId) {
  | 
        
        
           | 985 | 
           jpm | 
           415 | 
           		CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           416 | 
           		cDao.selectionner(false, commentaireId, titre, pageCourante, nbElements, seqId);
  | 
        
        
           | 985 | 
           jpm | 
           417 | 
           	}
  | 
        
        
            | 
            | 
           418 | 
              | 
        
        
           | 1513 | 
           jpm | 
           419 | 
           	public void selectionnerCommentaire(Rafraichissable vueARafraichir, String recherche, int pageCourante, int nbElements, Integer seqId) {
  | 
        
        
            | 
            | 
           420 | 
           		CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
  | 
        
        
           | 1763 | 
           aurelien | 
           421 | 
           		cDao.selectionner(true, null, recherche, pageCourante, nbElements, seqId);
  | 
        
        
           | 1513 | 
           jpm | 
           422 | 
           	}
  | 
        
        
            | 
            | 
           423 | 
              | 
        
        
           | 985 | 
           jpm | 
           424 | 
           	public void modifierCommentaire(Rafraichissable vueRafraichir, Commentaire commentaire) {
  | 
        
        
            | 
            | 
           425 | 
           		CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueRafraichir);
  | 
        
        
            | 
            | 
           426 | 
           		cDao.modifier(commentaire);
  | 
        
        
            | 
            | 
           427 | 
           	}
  | 
        
        
           | 902 | 
           aurelien | 
           428 | 
              | 
        
        
           | 985 | 
           jpm | 
           429 | 
           	public void ajouterCommentaire(Rafraichissable vueARafraichir, Commentaire commentaire) {
  | 
        
        
            | 
            | 
           430 | 
           		CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           431 | 
           		cDao.ajouter(commentaire);
  | 
        
        
            | 
            | 
           432 | 
           	}
  | 
        
        
            | 
            | 
           433 | 
              | 
        
        
            | 
            | 
           434 | 
           	public void supprimerCommentaire(Rafraichissable vueARafraichir, String idCommentaireSeparesParVirgule) {
  | 
        
        
            | 
            | 
           435 | 
           		CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
  | 
        
        
            | 
            | 
           436 | 
           		cDao.supprimer(idCommentaireSeparesParVirgule);
  | 
        
        
            | 
            | 
           437 | 
           	}
  | 
        
        
           | 1691 | 
           raphael | 
           438 | 
           }
  |