Subversion Repositories eFlore/Applications.coel

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1512 → Rev 1513

/trunk/src/org/tela_botanica/client/Modele.java
265,10 → 265,15
//+----------------------------------------------------------------------------------------------------------------+
// GESTION de la relation COLLECTION A PUBLICATION
 
public void selectionnerCollectionAPublication(Rafraichissable vueARafraichir, String collectionId, String recherche, int start, int nbElements, Integer seqId) {
CollectionAPublicationAsyncDao capDao = new CollectionAPublicationAsyncDao(vueARafraichir);
capDao.selectionner(true, collectionId, recherche, start, nbElements, seqId);
}
public void selectionnerCollectionAPublication(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
CollectionAPublicationAsyncDao capDao = new CollectionAPublicationAsyncDao(vueARafraichir);
capDao.selectionner(collectionId, seqId);
capDao.selectionner(false, collectionId, null, 0, -1, seqId);
}
public void modifierCollectionAPublication(Rafraichissable vueARafraichir, CollectionAPublication collectionAPublication) {
291,9 → 296,14
public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
cacDao.selectionner(collectionId, seqId);
cacDao.selectionner(false, collectionId, null, 0, -1, seqId);
}
public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, String recherche, int start, int nbElements, Integer seqId) {
CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
cacDao.selectionner(true, collectionId, recherche, start, nbElements, seqId);
}
public void modifierCollectionACommentaire(Rafraichissable vueARafraichir, CollectionACommentaire collectionACommentaire) {
CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
cacDao.modifier(collectionACommentaire);
329,7 → 339,6
public void supprimerPersonne(Rafraichissable vueARafraichir, String idPersonneSepareParVirgule) {
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);
personneDao.supprimer(idPersonneSepareParVirgule);
}
public void ajouterPersonne(Rafraichissable vue, Personne personne) {
341,16 → 350,21
PersonneAsyncDao personneDao = new PersonneAsyncDao(vueARafraichir);
personneDao.modifier(personne);
}
 
//+----------------------------------------------------------------------------------------------------------------+
// GESTION DES PUBLICATIONS
//+----------------------------------------------------------------------------------------------------------------+
public void selectionnerPublication(Rafraichissable vueARafraichir, String publicationId, String projetId, String nomComplet, int nbElements, int pageCourante, Integer seqId) {
public void selectionnerPublication(Rafraichissable vueARafraichir, String publicationId, String projetId, String nomComplet, int pageCourante, int nbElements, 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);
363,15 → 377,25
 
public void supprimerPublication(Rafraichissable vueARafraichir, String idPublicationSeparesParVirgule) {
PublicationAsyncDao pDao = new PublicationAsyncDao(vueARafraichir);
pDao.supprimer(idPublicationSeparesParVirgule);
pDao.supprimer(idPublicationSeparesParVirgule);
}
 
//+----------------------------------------------------------------------------------------------------------------+
// GESTION de la relation PUBLICATION A PERSONNE
 
public void selectionPersonnesAPublication(Rafraichissable vueARafraichir, String publicationId, String recherche, int start, int nbElements, Integer seqId) {
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
paDao.selectionner(true, publicationId, null, PublicationAPersonne.ROLE_AUTEUR, recherche, start, nbElements, seqId);
}
public void selectionPublicationsAPersonne(Rafraichissable vueARafraichir, String personneId, String roleIds, String recherche, int start, int nbElements, Integer seqId) {
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
paDao.selectionner(true, null, personneId, roleIds, recherche, start, nbElements, seqId);
}
public void selectionPublicationAPersonne(Rafraichissable vueARafraichir, String publicationId, String personnesId, String roleId, Integer seqId) {
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
paDao.selectionner(publicationId, personnesId, roleId, seqId);
paDao.selectionner(false, publicationId, personnesId, roleId, null, 0, -1, seqId);
}
public void ajouterPublicationAPersonne(Rafraichissable vueARafraichir, String publicationId, String personnesId, String ordreAuteursSepareParVirgule, String roleId, Integer seqId) {
410,9 → 434,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);
Property changes:
Modified: svn:mergeinfo
Merged /trunk/src/org/tela_botanica/client/Modele.java:r11-59
Merged /branches/v1.1-aramon/src/org/tela_botanica/client/Modele.java:r1417-1511