| Line 12... |
Line 12... |
| 12 |
import org.tela_botanica.client.modeles.collection.CollectionAPersonne;
|
12 |
import org.tela_botanica.client.modeles.collection.CollectionAPersonne;
|
| 13 |
import org.tela_botanica.client.modeles.collection.CollectionAPersonneAsyncDao;
|
13 |
import org.tela_botanica.client.modeles.collection.CollectionAPersonneAsyncDao;
|
| 14 |
import org.tela_botanica.client.modeles.collection.CollectionAPublication;
|
14 |
import org.tela_botanica.client.modeles.collection.CollectionAPublication;
|
| 15 |
import org.tela_botanica.client.modeles.collection.CollectionAPublicationAsyncDao;
|
15 |
import org.tela_botanica.client.modeles.collection.CollectionAPublicationAsyncDao;
|
| 16 |
import org.tela_botanica.client.modeles.collection.CollectionAsyncDao;
|
16 |
import org.tela_botanica.client.modeles.collection.CollectionAsyncDao;
|
| - |
|
17 |
import org.tela_botanica.client.modeles.commentaire.Commentaire;
|
| - |
|
18 |
import org.tela_botanica.client.modeles.commentaire.CommentaireAsyncDao;
|
| 17 |
import org.tela_botanica.client.modeles.personne.Personne;
|
19 |
import org.tela_botanica.client.modeles.personne.Personne;
|
| 18 |
import org.tela_botanica.client.modeles.personne.PersonneAsyncDao;
|
20 |
import org.tela_botanica.client.modeles.personne.PersonneAsyncDao;
|
| 19 |
import org.tela_botanica.client.modeles.projet.Projet;
|
21 |
import org.tela_botanica.client.modeles.projet.Projet;
|
| 20 |
import org.tela_botanica.client.modeles.projet.ProjetAsyncDao;
|
22 |
import org.tela_botanica.client.modeles.projet.ProjetAsyncDao;
|
| 21 |
import org.tela_botanica.client.modeles.publication.Publication;
|
23 |
import org.tela_botanica.client.modeles.publication.Publication;
|
| Line 341... |
Line 343... |
| 341 |
}
|
343 |
}
|
| 342 |
}
|
344 |
}
|
| 343 |
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
|
345 |
ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
|
| 344 |
pADAO.supprimer(projetsId);
|
346 |
pADAO.supprimer(projetsId);
|
| 345 |
}
|
347 |
}
|
| - |
|
348 |
|
| - |
|
349 |
//+----------------------------------------------------------------------------------------------------------------+
|
| - |
|
350 |
// GESTION DES COMMENTAIRES
|
| - |
|
351 |
//+----------------------------------------------------------------------------------------------------------------+
|
| - |
|
352 |
|
| - |
|
353 |
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String commentaireId, String projetId) {
|
| - |
|
354 |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
|
| - |
|
355 |
cDao.selectionner(commentaireId, projetId);
|
| - |
|
356 |
}
|
| - |
|
357 |
|
| - |
|
358 |
public void modifierCommentaire(Rafraichissable vueRafraichir, Commentaire commentaire) {
|
| - |
|
359 |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueRafraichir);
|
| - |
|
360 |
cDao.modifier(commentaire);
|
| - |
|
361 |
}
|
| Line -... |
Line 362... |
| - |
|
362 |
|
| - |
|
363 |
public void ajouterCommentaire(Rafraichissable vueARafraichir, Commentaire commentaire) {
|
| - |
|
364 |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
|
| - |
|
365 |
cDao.ajouter(commentaire);
|
| - |
|
366 |
}
|
| - |
|
367 |
|
| - |
|
368 |
public void supprimerCommentaire(Rafraichissable vueARafraichir, String idCommentaireSeparesParVirgule) {
|
| - |
|
369 |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
|
| - |
|
370 |
cDao.supprimer(idCommentaireSeparesParVirgule);
|
| 346 |
|
371 |
}
|
| 347 |
}
|
372 |
}
|