Line 663... |
Line 663... |
663 |
public void clicListeCollection(Collection collectionCliquee) {
|
663 |
public void clicListeCollection(Collection collectionCliquee) {
|
664 |
panneauCentre.getContenu().rafraichir(collectionCliquee);
|
664 |
panneauCentre.getContenu().rafraichir(collectionCliquee);
|
665 |
if (collectionCliquee != null) {
|
665 |
if (collectionCliquee != null) {
|
666 |
selectionnerCollectionAPersonne(panneauCentre.getContenu(), collectionCliquee.getId(), null);
|
666 |
selectionnerCollectionAPersonne(panneauCentre.getContenu(), collectionCliquee.getId(), null);
|
667 |
selectionnerCollectionAPublication(panneauCentre.getContenu(), collectionCliquee.getId());
|
667 |
selectionnerCollectionAPublication(panneauCentre.getContenu(), collectionCliquee.getId());
|
- |
|
668 |
selectionnerCollectionACommentaire(panneauCentre.getContenu(), collectionCliquee.getId());
|
668 |
}
|
669 |
}
|
669 |
}
|
670 |
}
|
Line 670... |
Line 671... |
670 |
|
671 |
|
671 |
public void clicAjouterCollection() {
|
672 |
public void clicAjouterCollection() {
|
Line 815... |
Line 816... |
815 |
}
|
816 |
}
|
Line 816... |
Line 817... |
816 |
|
817 |
|
817 |
//+----------------------------------------------------------------------------------------------------------------+
|
818 |
//+----------------------------------------------------------------------------------------------------------------+
|
Line 818... |
Line 819... |
818 |
// GESTION de la relation COLLECTION A COMMENTAIRE
|
819 |
// GESTION de la relation COLLECTION A COMMENTAIRE
|
819 |
|
820 |
|
820 |
public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String commentaireId) {
|
821 |
public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId) {
|
Line 821... |
Line 822... |
821 |
modele.selectionnerCollectionACommentaire(vueARafraichir, commentaireId);
|
822 |
modele.selectionnerCollectionACommentaire(vueARafraichir, collectionId);
|
822 |
}
|
823 |
}
|
823 |
|
824 |
|
824 |
public void ajouterCollectionACommentaire(Rafraichissable vueARafraichir, String commentaireId, CollectionACommentaireListe commentairesAjoutees) {
|
825 |
public void ajouterCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, CollectionACommentaireListe commentairesAjoutees) {
|
825 |
if (commentairesAjoutees != null && commentairesAjoutees.size() > 0) {
|
826 |
if (commentairesAjoutees != null && commentairesAjoutees.size() > 0) {
|
826 |
for (Iterator<String> it = commentairesAjoutees.keySet().iterator(); it.hasNext();) {
|
827 |
for (Iterator<String> it = commentairesAjoutees.keySet().iterator(); it.hasNext();) {
|
827 |
modele.ajouterCollectionACommentaire(vueARafraichir, commentaireId, (CollectionACommentaire) commentairesAjoutees.get(it.next()));
|
828 |
modele.ajouterCollectionACommentaire(vueARafraichir, collectionId, (CollectionACommentaire) commentairesAjoutees.get(it.next()));
|
Line 828... |
Line 829... |
828 |
}
|
829 |
}
|
Line 1182... |
Line 1183... |
1182 |
MessageBox.confirm("Supprimer un commentaire", message, listenerSuppression);
|
1183 |
MessageBox.confirm("Supprimer un commentaire", message, listenerSuppression);
|
1183 |
}
|
1184 |
}
|
1184 |
}
|
1185 |
}
|
Line 1185... |
Line 1186... |
1185 |
|
1186 |
|
1186 |
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String commentaireId) {
|
1187 |
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String commentaireId) {
|
- |
|
1188 |
modele.selectionnerCommentaire(vueARafraichir, commentaireId, getProjetId(), null);
|
- |
|
1189 |
}
|
- |
|
1190 |
|
- |
|
1191 |
public void selectionnerCommentaireParTitre(Rafraichissable vueARafraichir, String titre) {
|
1187 |
modele.selectionnerCommentaire(vueARafraichir, commentaireId, getProjetId());
|
1192 |
modele.selectionnerCommentaire(vueARafraichir, null, getProjetId(), titre);
|
Line 1188... |
Line 1193... |
1188 |
}
|
1193 |
}
|
1189 |
|
1194 |
|
1190 |
public void ajouterCommentaire(Rafraichissable vueARafraichir, Commentaire commentaire) {
|
1195 |
public void ajouterCommentaire(Rafraichissable vueARafraichir, Commentaire commentaire) {
|