Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1326 → Rev 1327

/branches/v1.0-syrah/src/org/tela_botanica/client/Modele.java
117,8 → 117,13
public void selectionnerProjet(Rafraichissable vueARafraichir, String projetId, String nom, int start, int nbElements) {
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
pADAO.selectionner(projetId, nom, start, nbElements);
pADAO.selectionner(false, projetId, nom, start, nbElements);
}
public void selectionnerProjet(Rafraichissable vueARafraichir, String recherche, int start, int nbElements) {
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
pADAO.selectionner(true, null, recherche, start, nbElements);
}
 
public void ajouterProjet(Rafraichissable vueARafraichir, Projet projetCollecte) {
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
137,9 → 142,15
public void selectionnerStructure(Rafraichissable vueARafraichir, String projetId, String structureId, String nomStructure, int start, int nbElements) {
// 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);
sDao.selectionner(false, projetId, structureId, nomStructure, start, nbElements);
}
public void selectionnerStructure(Rafraichissable vueARafraichir, String recherche, int start, int nbElements) {
// 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);
}
/** Lance la creation d'une Structure
* @param vueARafraichir la vue demandant a être rafraichie
* @param structure les données de la structure
191,9 → 202,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);
284,8 → 300,13
public void selectionnerPersonne(Rafraichissable vueARafraichir, String personneId, String projetId, String nomComplet, int start, int nbElements) {
PersonneAsyncDao pDao = new PersonneAsyncDao(vueARafraichir);
pDao.selectionner(personneId, projetId, nomComplet, start, nbElements);
pDao.selectionner(false, personneId, projetId, nomComplet, start, nbElements);
}
public void selectionnerPersonne(Rafraichissable vueARafraichir, String recherche, int start, int nbElements) {
PersonneAsyncDao pDao = new PersonneAsyncDao(vueARafraichir);
pDao.selectionner(true, null, null, recherche, start, nbElements);
}
 
public void supprimerPersonne(Rafraichissable vueARafraichir, String idPersonneSepareParVirgule) {
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);