329,7 → 329,6 |
public void supprimerPersonne(Rafraichissable vueARafraichir, String idPersonneSepareParVirgule) { |
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir); |
personneDao.supprimer(idPersonneSepareParVirgule); |
|
} |
|
public void ajouterPersonne(Rafraichissable vue, Personne personne) { |
341,7 → 340,7 |
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir); |
personneDao.modifier(personne); |
} |
|
|
//+----------------------------------------------------------------------------------------------------------------+ |
// GESTION DES PUBLICATIONS |
//+----------------------------------------------------------------------------------------------------------------+ |
348,9 → 347,14 |
|
public void selectionnerPublication(Rafraichissable vueARafraichir, String publicationId, String projetId, String nomComplet, int nbElements, int pageCourante, Integer seqId) { |
PublicationAsyncDao lsDao = new PublicationAsyncDao(vueARafraichir); |
lsDao.selectionner(publicationId, projetId, nomComplet, nbElements, pageCourante, seqId); |
lsDao.selectionner(false, publicationId, projetId, nomComplet, pageCourante, nbElements, seqId); |
} |
|
public void selectionnerPublication(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) { |
PublicationAsyncDao lsDao = new PublicationAsyncDao(vueARafraichir); |
lsDao.selectionner(true, null, null, recherche, start, nbElements, seqId); |
} |
|
public void modifierPublication(Rafraichissable vueRafraichir, Publication publication, Integer seqId) { |
PublicationAsyncDao pDao = new PublicationAsyncDao(vueRafraichir); |
pDao.modifier(publication, seqId); |
410,9 → 414,14 |
|
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String commentaireId, String projetId, String titre, int pageCourante, int nbElements, Integer seqId) { |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir); |
cDao.selectionner(commentaireId, projetId, titre, pageCourante, nbElements, seqId); |
cDao.selectionner(false, commentaireId, projetId, titre, pageCourante, nbElements, seqId); |
} |
|
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String recherche, int pageCourante, int nbElements, Integer seqId) { |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir); |
cDao.selectionner(true, null, null, recherche, pageCourante, nbElements, seqId); |
} |
|
public void modifierCommentaire(Rafraichissable vueRafraichir, Commentaire commentaire) { |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueRafraichir); |
cDao.modifier(commentaire); |