Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1328 → Rev 1329

/trunk/src/org/tela_botanica/client/Modele.java
4,6 → 4,7
import java.util.Iterator;
import java.util.List;
 
import org.tela_botanica.client.configuration.Configuration;
import org.tela_botanica.client.interfaces.Rafraichissable;
import org.tela_botanica.client.modeles.Utilisateur;
import org.tela_botanica.client.modeles.UtilisateurAsyncDao;
124,8 → 125,13
public void selectionnerProjet(Rafraichissable vueARafraichir, String projetId, String nom, int start, int nbElements, Integer seqId) {
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
pADAO.selectionner(projetId, nom, start, nbElements, seqId);
pADAO.selectionner(false, projetId, nom, start, nbElements, seqId);
}
public void selectionnerProjet(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
pADAO.selectionner(true, null, recherche, start, nbElements, seqId);
}
 
public void ajouterProjet(Rafraichissable vueARafraichir, Projet projetCollecte) {
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
144,9 → 150,15
public void selectionnerStructure(Rafraichissable vueARafraichir, String projetId, String structureId, String nomStructure, int start, int nbElements, Integer seqId) {
// Gestion des données des tables coel_structure, coel_structure_conservation et coel_structure_valorisation
StructureAsyncDao sDao = new StructureAsyncDao(vueARafraichir);
sDao.selectionner(projetId, structureId, nomStructure, start, nbElements, seqId);
sDao.selectionner(false, projetId, structureId, nomStructure, start, nbElements, seqId);
}
public void selectionnerStructure(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
// Gestion des données des tables coel_structure, coel_structure_conservation et coel_structure_valorisation
StructureAsyncDao sDao = new StructureAsyncDao(vueARafraichir);
sDao.selectionner(true, null, null, recherche, start, nbElements, seqId);
}
/** Lance la creation d'une Structure
* @param vueARafraichir la vue demandant a être rafraichie
* @param structure les données de la structure
198,9 → 210,14
public void selectionnerCollection(Rafraichissable vueARafraichir, String projetId, String collectionId, String nom, int start, int nbElements) {
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
cDao.selectionner(projetId, collectionId, nom, start, nbElements);
cDao.selectionner(false, projetId, collectionId, nom, start, nbElements);
}
public void selectionnerCollection(Rafraichissable vueARafraichir, String recherche, int start, int nbElements) {
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
cDao.selectionner(true, null, null, recherche, start, nbElements);
}
public void ajouterCollection(Rafraichissable vueARafraichir, Collection collection) {
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
cDao.ajouter(collection);
294,8 → 311,13
public void selectionnerPersonne(Rafraichissable vueARafraichir, String personneId, String projetId, String nomComplet, int start, int nbElements, Integer seqId) {
PersonneAsyncDao pDao = new PersonneAsyncDao(vueARafraichir);
pDao.selectionner(personneId, projetId, nomComplet, start, nbElements, seqId);
pDao.selectionner(false, personneId, projetId, nomComplet, start, nbElements, seqId);
}
public void selectionnerPersonne(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
PersonneAsyncDao pDao = new PersonneAsyncDao(vueARafraichir);
pDao.selectionner(true, null, null, recherche, start, nbElements, seqId);
}
 
public void supprimerPersonne(Rafraichissable vueARafraichir, String idPersonneSepareParVirgule) {
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);