Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1467 → Rev 1468

/trunk/src/org/tela_botanica/client/Modele.java
120,14 → 120,14
// GESTION DES PROJETS
//+----------------------------------------------------------------------------------------------------------------+
public void selectionnerProjet(Rafraichissable vueARafraichir, String projetId, String nom, int start, int nbElements, Integer seqId) {
public void selectionnerProjet(Rafraichissable vueARafraichir, String projetId, String nom, int start, int nbElements, String formatRetour, boolean paginationProgressive, Integer seqId) {
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
pADAO.selectionner(false, projetId, nom, start, nbElements, seqId);
pADAO.selectionner(paginationProgressive, projetId, nom, start, nbElements, formatRetour, 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);
pADAO.selectionner(true, null, recherche, start, nbElements, null, seqId);
}
 
public void ajouterProjet(Rafraichissable vueARafraichir, Projet projetCollecte) {
182,10 → 182,15
// Gestion des données de la table coel_structure_a_personne
if (structureId != null && roleId != null) {
StructureAPersonneAsyncDao sapDao = new StructureAPersonneAsyncDao(vueARafraichir);
sapDao.selectionner(structureId, roleId, seqId);
sapDao.selectionner(false, structureId, roleId, null, 0, -1, seqId);
}
}
public void selectionnerStructureAPersonne(Rafraichissable vueARafraichir, String structureId, String roleId, String recherche, int start, int nbElements, Integer seqId) {
StructureAPersonneAsyncDao sapDao = new StructureAPersonneAsyncDao(vueARafraichir);
sapDao.selectionner(true, structureId, roleId, recherche, start, nbElements, seqId);
}
public void modifierStructureAPersonne(Rafraichissable vueARafraichir, StructureAPersonne personnel) {
StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao(vueARafraichir);
structureAPersonneDao.modifier(personnel);
233,9 → 238,14
//+----------------------------------------------------------------------------------------------------------------+
// GESTION de la relation COLLECTION A PERSONNE
public void selectionnerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, String roleId, String recherche, int start, int nbElements, Integer seqId) {
CollectionAPersonneAsyncDao sapDao = new CollectionAPersonneAsyncDao(vueARafraichir);
sapDao.selectionner(true, collectionId, roleId, recherche, start, nbElements, seqId);
}
public void selectionnerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, String roleId, Integer seqId) {
CollectionAPersonneAsyncDao sapDao = new CollectionAPersonneAsyncDao(vueARafraichir);
sapDao.selectionner(collectionId, roleId, seqId);
sapDao.selectionner(false, collectionId, roleId, null, 0, -1, seqId);
}
public void modifierCollectionAPersonne(Rafraichissable vueARafraichir, CollectionAPersonne collectionAPersonne) {