| Line 2... |
Line 2... |
| 2 |
|
2 |
|
| 3 |
import java.util.HashMap;
|
3 |
import java.util.HashMap;
|
| 4 |
import java.util.Iterator;
|
4 |
import java.util.Iterator;
|
| Line -... |
Line 5... |
| - |
|
5 |
import java.util.List;
|
| 5 |
import java.util.List;
|
6 |
|
| 6 |
|
7 |
import org.tela_botanica.client.configuration.Configuration;
|
| 7 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
8 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
| 8 |
import org.tela_botanica.client.modeles.Utilisateur;
|
9 |
import org.tela_botanica.client.modeles.Utilisateur;
|
| 9 |
import org.tela_botanica.client.modeles.UtilisateurAsyncDao;
|
10 |
import org.tela_botanica.client.modeles.UtilisateurAsyncDao;
|
| Line 122... |
Line 123... |
| 122 |
// GESTION DES PROJETS
|
123 |
// GESTION DES PROJETS
|
| 123 |
//+----------------------------------------------------------------------------------------------------------------+
|
124 |
//+----------------------------------------------------------------------------------------------------------------+
|
| Line 124... |
Line 125... |
| 124 |
|
125 |
|
| 125 |
public void selectionnerProjet(Rafraichissable vueARafraichir, String projetId, String nom, int start, int nbElements, Integer seqId) {
|
126 |
public void selectionnerProjet(Rafraichissable vueARafraichir, String projetId, String nom, int start, int nbElements, Integer seqId) {
|
| 126 |
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
|
127 |
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
|
| - |
|
128 |
pADAO.selectionner(false, projetId, nom, start, nbElements, seqId);
|
| - |
|
129 |
}
|
| - |
|
130 |
|
| - |
|
131 |
public void selectionnerProjet(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
|
| - |
|
132 |
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
|
| 127 |
pADAO.selectionner(projetId, nom, start, nbElements, seqId);
|
133 |
pADAO.selectionner(true, null, recherche, start, nbElements, seqId);
|
| Line 128... |
Line 134... |
| 128 |
}
|
134 |
}
|
| 129 |
|
135 |
|
| 130 |
public void ajouterProjet(Rafraichissable vueARafraichir, Projet projetCollecte) {
|
136 |
public void ajouterProjet(Rafraichissable vueARafraichir, Projet projetCollecte) {
|
| Line 142... |
Line 148... |
| 142 |
//+----------------------------------------------------------------------------------------------------------------+
|
148 |
//+----------------------------------------------------------------------------------------------------------------+
|
| Line 143... |
Line 149... |
| 143 |
|
149 |
|
| 144 |
public void selectionnerStructure(Rafraichissable vueARafraichir, String projetId, String structureId, String nomStructure, int start, int nbElements, Integer seqId) {
|
150 |
public void selectionnerStructure(Rafraichissable vueARafraichir, String projetId, String structureId, String nomStructure, int start, int nbElements, Integer seqId) {
|
| 145 |
// Gestion des données des tables coel_structure, coel_structure_conservation et coel_structure_valorisation
|
151 |
// Gestion des données des tables coel_structure, coel_structure_conservation et coel_structure_valorisation
|
| 146 |
StructureAsyncDao sDao = new StructureAsyncDao(vueARafraichir);
|
152 |
StructureAsyncDao sDao = new StructureAsyncDao(vueARafraichir);
|
| - |
|
153 |
sDao.selectionner(false, projetId, structureId, nomStructure, start, nbElements, seqId);
|
| - |
|
154 |
}
|
| - |
|
155 |
|
| - |
|
156 |
public void selectionnerStructure(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
|
| - |
|
157 |
// Gestion des données des tables coel_structure, coel_structure_conservation et coel_structure_valorisation
|
| - |
|
158 |
StructureAsyncDao sDao = new StructureAsyncDao(vueARafraichir);
|
| 147 |
sDao.selectionner(projetId, structureId, nomStructure, start, nbElements, seqId);
|
159 |
sDao.selectionner(true, null, null, recherche, start, nbElements, seqId);
|
| Line 148... |
Line 160... |
| 148 |
}
|
160 |
}
|
| 149 |
|
161 |
|
| 150 |
/** Lance la creation d'une Structure
|
162 |
/** Lance la creation d'une Structure
|
| Line 196... |
Line 208... |
| 196 |
// GESTION DES COLLECTIONS
|
208 |
// GESTION DES COLLECTIONS
|
| 197 |
//+----------------------------------------------------------------------------------------------------------------+
|
209 |
//+----------------------------------------------------------------------------------------------------------------+
|
| Line 198... |
Line 210... |
| 198 |
|
210 |
|
| 199 |
public void selectionnerCollection(Rafraichissable vueARafraichir, String projetId, String collectionId, String nom, int start, int nbElements) {
|
211 |
public void selectionnerCollection(Rafraichissable vueARafraichir, String projetId, String collectionId, String nom, int start, int nbElements) {
|
| 200 |
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
|
212 |
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
|
| - |
|
213 |
cDao.selectionner(false, projetId, collectionId, nom, start, nbElements);
|
| - |
|
214 |
}
|
| - |
|
215 |
|
| - |
|
216 |
public void selectionnerCollection(Rafraichissable vueARafraichir, String recherche, int start, int nbElements) {
|
| - |
|
217 |
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
|
| 201 |
cDao.selectionner(projetId, collectionId, nom, start, nbElements);
|
218 |
cDao.selectionner(true, null, null, recherche, start, nbElements);
|
| Line 202... |
Line 219... |
| 202 |
}
|
219 |
}
|
| 203 |
|
220 |
|
| 204 |
public void ajouterCollection(Rafraichissable vueARafraichir, Collection collection) {
|
221 |
public void ajouterCollection(Rafraichissable vueARafraichir, Collection collection) {
|
| Line 292... |
Line 309... |
| 292 |
selectionnerPersonne(vueARafraichir, personneId, projetId, nomComplet, start, nbElements, null);
|
309 |
selectionnerPersonne(vueARafraichir, personneId, projetId, nomComplet, start, nbElements, null);
|
| 293 |
}
|
310 |
}
|
| Line 294... |
Line 311... |
| 294 |
|
311 |
|
| 295 |
public void selectionnerPersonne(Rafraichissable vueARafraichir, String personneId, String projetId, String nomComplet, int start, int nbElements, Integer seqId) {
|
312 |
public void selectionnerPersonne(Rafraichissable vueARafraichir, String personneId, String projetId, String nomComplet, int start, int nbElements, Integer seqId) {
|
| 296 |
PersonneAsyncDao pDao = new PersonneAsyncDao(vueARafraichir);
|
313 |
PersonneAsyncDao pDao = new PersonneAsyncDao(vueARafraichir);
|
| - |
|
314 |
pDao.selectionner(false, personneId, projetId, nomComplet, start, nbElements, seqId);
|
| - |
|
315 |
}
|
| - |
|
316 |
|
| - |
|
317 |
public void selectionnerPersonne(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
|
| - |
|
318 |
PersonneAsyncDao pDao = new PersonneAsyncDao(vueARafraichir);
|
| 297 |
pDao.selectionner(personneId, projetId, nomComplet, start, nbElements, seqId);
|
319 |
pDao.selectionner(true, null, null, recherche, start, nbElements, seqId);
|
| Line 298... |
Line 320... |
| 298 |
}
|
320 |
}
|
| 299 |
|
321 |
|
| 300 |
public void supprimerPersonne(Rafraichissable vueARafraichir, String idPersonneSepareParVirgule) {
|
322 |
public void supprimerPersonne(Rafraichissable vueARafraichir, String idPersonneSepareParVirgule) {
|