Line 263... |
Line 263... |
263 |
collectionAPersonneDao.supprimer(collectionAPersonneId);
|
263 |
collectionAPersonneDao.supprimer(collectionAPersonneId);
|
264 |
}
|
264 |
}
|
Line 265... |
Line 265... |
265 |
|
265 |
|
266 |
//+----------------------------------------------------------------------------------------------------------------+
|
266 |
//+----------------------------------------------------------------------------------------------------------------+
|
- |
|
267 |
// GESTION de la relation COLLECTION A PUBLICATION
|
- |
|
268 |
|
- |
|
269 |
public void selectionnerCollectionAPublication(Rafraichissable vueARafraichir, String collectionId, String recherche, int start, int nbElements, Integer seqId) {
|
- |
|
270 |
CollectionAPublicationAsyncDao capDao = new CollectionAPublicationAsyncDao(vueARafraichir);
|
- |
|
271 |
capDao.selectionner(true, collectionId, recherche, start, nbElements, seqId);
|
Line 267... |
Line 272... |
267 |
// GESTION de la relation COLLECTION A PUBLICATION
|
272 |
}
|
268 |
|
273 |
|
269 |
public void selectionnerCollectionAPublication(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
|
274 |
public void selectionnerCollectionAPublication(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
|
270 |
CollectionAPublicationAsyncDao capDao = new CollectionAPublicationAsyncDao(vueARafraichir);
|
275 |
CollectionAPublicationAsyncDao capDao = new CollectionAPublicationAsyncDao(vueARafraichir);
|
Line 271... |
Line 276... |
271 |
capDao.selectionner(collectionId, seqId);
|
276 |
capDao.selectionner(false, collectionId, null, 0, -1, seqId);
|
272 |
}
|
277 |
}
|
273 |
|
278 |
|
Line 289... |
Line 294... |
289 |
//+----------------------------------------------------------------------------------------------------------------+
|
294 |
//+----------------------------------------------------------------------------------------------------------------+
|
290 |
// GESTION de la relation COLLECTION A COMMENTAIRE
|
295 |
// GESTION de la relation COLLECTION A COMMENTAIRE
|
Line 291... |
Line 296... |
291 |
|
296 |
|
292 |
public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
|
297 |
public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
|
293 |
CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
|
298 |
CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
|
- |
|
299 |
cacDao.selectionner(false, collectionId, null, 0, -1, seqId);
|
- |
|
300 |
}
|
- |
|
301 |
|
- |
|
302 |
public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, String recherche, int start, int nbElements, Integer seqId) {
|
- |
|
303 |
CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
|
294 |
cacDao.selectionner(collectionId, seqId);
|
304 |
cacDao.selectionner(true, collectionId, recherche, start, nbElements, seqId);
|
Line 295... |
Line 305... |
295 |
}
|
305 |
}
|
296 |
|
306 |
|
297 |
public void modifierCollectionACommentaire(Rafraichissable vueARafraichir, CollectionACommentaire collectionACommentaire) {
|
307 |
public void modifierCollectionACommentaire(Rafraichissable vueARafraichir, CollectionACommentaire collectionACommentaire) {
|
Line 327... |
Line 337... |
327 |
}
|
337 |
}
|
Line 328... |
Line 338... |
328 |
|
338 |
|
329 |
public void supprimerPersonne(Rafraichissable vueARafraichir, String idPersonneSepareParVirgule) {
|
339 |
public void supprimerPersonne(Rafraichissable vueARafraichir, String idPersonneSepareParVirgule) {
|
330 |
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);
|
340 |
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);
|
331 |
personneDao.supprimer(idPersonneSepareParVirgule);
|
- |
|
332 |
|
341 |
personneDao.supprimer(idPersonneSepareParVirgule);
|
Line 333... |
Line 342... |
333 |
}
|
342 |
}
|
334 |
|
343 |
|
335 |
public void ajouterPersonne(Rafraichissable vue, Personne personne) {
|
344 |
public void ajouterPersonne(Rafraichissable vue, Personne personne) {
|
Line 339... |
Line 348... |
339 |
|
348 |
|
340 |
public void modifierPersonne(Rafraichissable vueARafraichir, Personne personne) {
|
349 |
public void modifierPersonne(Rafraichissable vueARafraichir, Personne personne) {
|
341 |
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);
|
350 |
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);
|
342 |
personneDao.modifier(personne);
|
351 |
personneDao.modifier(personne);
|
343 |
}
|
352 |
}
|
344 |
|
353 |
|
345 |
//+----------------------------------------------------------------------------------------------------------------+
|
354 |
//+----------------------------------------------------------------------------------------------------------------+
|
346 |
// GESTION DES PUBLICATIONS
|
355 |
// GESTION DES PUBLICATIONS
|
Line 347... |
Line 356... |
347 |
//+----------------------------------------------------------------------------------------------------------------+
|
356 |
//+----------------------------------------------------------------------------------------------------------------+
|
348 |
|
357 |
|
349 |
public void selectionnerPublication(Rafraichissable vueARafraichir, String publicationId, String projetId, String nomComplet, int nbElements, int pageCourante, Integer seqId) {
|
358 |
public void selectionnerPublication(Rafraichissable vueARafraichir, String publicationId, String projetId, String nomComplet, int pageCourante, int nbElements, Integer seqId) {
|
- |
|
359 |
PublicationAsyncDao lsDao = new PublicationAsyncDao(vueARafraichir);
|
- |
|
360 |
lsDao.selectionner(false, publicationId, projetId, nomComplet, pageCourante, nbElements, seqId);
|
- |
|
361 |
}
|
- |
|
362 |
|
- |
|
363 |
public void selectionnerPublication(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
|
350 |
PublicationAsyncDao lsDao = new PublicationAsyncDao(vueARafraichir);
|
364 |
PublicationAsyncDao lsDao = new PublicationAsyncDao(vueARafraichir);
|
Line 351... |
Line 365... |
351 |
lsDao.selectionner(publicationId, projetId, nomComplet, nbElements, pageCourante, seqId);
|
365 |
lsDao.selectionner(true, null, null, recherche, start, nbElements, seqId);
|
352 |
}
|
366 |
}
|
353 |
|
367 |
|
Line 361... |
Line 375... |
361 |
pDao.ajouter(publication, seqId);
|
375 |
pDao.ajouter(publication, seqId);
|
362 |
}
|
376 |
}
|
Line 363... |
Line 377... |
363 |
|
377 |
|
364 |
public void supprimerPublication(Rafraichissable vueARafraichir, String idPublicationSeparesParVirgule) {
|
378 |
public void supprimerPublication(Rafraichissable vueARafraichir, String idPublicationSeparesParVirgule) {
|
365 |
PublicationAsyncDao pDao = new PublicationAsyncDao(vueARafraichir);
|
379 |
PublicationAsyncDao pDao = new PublicationAsyncDao(vueARafraichir);
|
366 |
pDao.supprimer(idPublicationSeparesParVirgule);
|
380 |
pDao.supprimer(idPublicationSeparesParVirgule);
|
Line 367... |
Line 381... |
367 |
}
|
381 |
}
|
368 |
|
382 |
|
Line -... |
Line 383... |
- |
|
383 |
//+----------------------------------------------------------------------------------------------------------------+
|
- |
|
384 |
// GESTION de la relation PUBLICATION A PERSONNE
|
- |
|
385 |
|
- |
|
386 |
public void selectionPersonnesAPublication(Rafraichissable vueARafraichir, String publicationId, String recherche, int start, int nbElements, Integer seqId) {
|
- |
|
387 |
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
|
- |
|
388 |
paDao.selectionner(true, publicationId, null, PublicationAPersonne.ROLE_AUTEUR, recherche, start, nbElements, seqId);
|
- |
|
389 |
}
|
- |
|
390 |
|
- |
|
391 |
public void selectionPublicationsAPersonne(Rafraichissable vueARafraichir, String personneId, String roleIds, String recherche, int start, int nbElements, Integer seqId) {
|
- |
|
392 |
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
|
369 |
//+----------------------------------------------------------------------------------------------------------------+
|
393 |
paDao.selectionner(true, null, personneId, roleIds, recherche, start, nbElements, seqId);
|
370 |
// GESTION de la relation PUBLICATION A PERSONNE
|
394 |
}
|
371 |
|
395 |
|
372 |
public void selectionPublicationAPersonne(Rafraichissable vueARafraichir, String publicationId, String personnesId, String roleId, Integer seqId) {
|
396 |
public void selectionPublicationAPersonne(Rafraichissable vueARafraichir, String publicationId, String personnesId, String roleId, Integer seqId) {
|
Line 373... |
Line 397... |
373 |
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
|
397 |
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
|
374 |
paDao.selectionner(publicationId, personnesId, roleId, seqId);
|
398 |
paDao.selectionner(false, publicationId, personnesId, roleId, null, 0, -1, seqId);
|
375 |
}
|
399 |
}
|
Line 408... |
Line 432... |
408 |
// GESTION DES COMMENTAIRES
|
432 |
// GESTION DES COMMENTAIRES
|
409 |
//+----------------------------------------------------------------------------------------------------------------+
|
433 |
//+----------------------------------------------------------------------------------------------------------------+
|
Line 410... |
Line 434... |
410 |
|
434 |
|
411 |
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String commentaireId, String projetId, String titre, int pageCourante, int nbElements, Integer seqId) {
|
435 |
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String commentaireId, String projetId, String titre, int pageCourante, int nbElements, Integer seqId) {
|
412 |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
|
436 |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
|
- |
|
437 |
cDao.selectionner(false, commentaireId, projetId, titre, pageCourante, nbElements, seqId);
|
- |
|
438 |
}
|
- |
|
439 |
|
- |
|
440 |
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String recherche, int pageCourante, int nbElements, Integer seqId) {
|
- |
|
441 |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
|
413 |
cDao.selectionner(commentaireId, projetId, titre, pageCourante, nbElements, seqId);
|
442 |
cDao.selectionner(true, null, null, recherche, pageCourante, nbElements, seqId);
|
Line 414... |
Line 443... |
414 |
}
|
443 |
}
|
415 |
|
444 |
|
416 |
public void modifierCommentaire(Rafraichissable vueRafraichir, Commentaire commentaire) {
|
445 |
public void modifierCommentaire(Rafraichissable vueRafraichir, Commentaire commentaire) {
|