| Line 112... |
Line 112... |
| 112 |
// GESTION de la relation STRUCTURE A PERSONNE
|
112 |
// GESTION de la relation STRUCTURE A PERSONNE
|
| Line 113... |
Line 113... |
| 113 |
|
113 |
|
| 114 |
public void selectionnerStructureAPersonne(Rafraichissable vueARafraichir, String idUtilisateur, String projetId, String structureId, String roleId) {
|
114 |
public void selectionnerStructureAPersonne(Rafraichissable vueARafraichir, String idUtilisateur, String projetId, String structureId, String roleId) {
|
| 115 |
// Gestion des données de la table coel_structure_a_personne
|
115 |
// Gestion des données de la table coel_structure_a_personne
|
| 116 |
if (structureId != null && roleId != null) {
|
116 |
if (structureId != null && roleId != null) {
|
| 117 |
StructureAPersonneAsyncDao sapDao = new StructureAPersonneAsyncDao();
|
117 |
StructureAPersonneAsyncDao sapDao = new StructureAPersonneAsyncDao(vueARafraichir);
|
| 118 |
sapDao.selectionner(vueARafraichir, idUtilisateur, structureId, roleId);
|
118 |
sapDao.selectionner(structureId, roleId);
|
| 119 |
}
|
119 |
}
|
| Line 120... |
Line 120... |
| 120 |
}
|
120 |
}
|
| 121 |
|
121 |
|
| 122 |
public void modifierStructureAPersonne(Rafraichissable vueARafraichir, String utilisateurId, StructureAPersonne personnel) {
|
122 |
public void modifierStructureAPersonne(Rafraichissable vueARafraichir, String utilisateurId, StructureAPersonne personnel) {
|
| 123 |
StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao();
|
123 |
StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao(vueARafraichir);
|
| Line 124... |
Line 124... |
| 124 |
structureAPersonneDao.modifier(vueARafraichir, utilisateurId, personnel);
|
124 |
structureAPersonneDao.modifier(vueARafraichir, utilisateurId, personnel);
|
| 125 |
}
|
125 |
}
|
| 126 |
|
126 |
|
| 127 |
public void ajouterStructureAPersonne(Rafraichissable vueARafraichir, String utilisateurId, String structureId, StructureAPersonne personnel) {
|
127 |
public void ajouterStructureAPersonne(Rafraichissable vueARafraichir, String utilisateurId, String structureId, StructureAPersonne personnel) {
|
| Line 128... |
Line 128... |
| 128 |
StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao();
|
128 |
StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao(vueARafraichir);
|
| 129 |
structureAPersonneDao.ajouter(vueARafraichir, utilisateurId, structureId, personnel);
|
129 |
structureAPersonneDao.ajouter(vueARafraichir, utilisateurId, structureId, personnel);
|
| 130 |
}
|
130 |
}
|
| 131 |
|
131 |
|
| Line 132... |
Line 132... |
| 132 |
public void supprimerStructureAPersonne(Rafraichissable vueARafraichir, String utilisateurId, String personnelId) {
|
132 |
public void supprimerStructureAPersonne(Rafraichissable vueARafraichir, String utilisateurId, String personnelId) {
|
| 133 |
StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao();
|
133 |
StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao(vueARafraichir);
|
| Line 216... |
Line 216... |
| 216 |
pDao.supprimer(utilisateurId, idPubs);
|
216 |
pDao.supprimer(utilisateurId, idPubs);
|
| 217 |
}
|
217 |
}
|
| Line 218... |
Line 218... |
| 218 |
|
218 |
|
| 219 |
public void ajouterAuteurPublication(Rafraichissable vueARafraichir, String utilisateurid, String idAuteurs, String role, String idPublication) {
|
219 |
public void ajouterAuteurPublication(Rafraichissable vueARafraichir, String utilisateurid, String idAuteurs, String role, String idPublication) {
|
| 220 |
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
|
220 |
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
|
| Line 221... |
Line 221... |
| 221 |
paDao.ajouter(utilisateurid, idAuteurs, role, idPublication);
|
221 |
paDao.ajouter(idAuteurs, role, idPublication);
|
| Line 222... |
Line 222... |
| 222 |
|
222 |
|
| 223 |
}
|
223 |
}
|
| 224 |
|
224 |
|
| Line 225... |
Line 225... |
| 225 |
public void modifierAuteurPublication(Rafraichissable vueARafraichir, String utilisateurid, String idAuteurs, String idPublication) {
|
225 |
public void modifierAuteurPublication(Rafraichissable vueARafraichir, String utilisateurid, String idAuteurs, String idPublication) {
|
| Line 226... |
Line 226... |
| 226 |
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
|
226 |
PublicationAPersonneAsyncDao paDao = new PublicationAPersonneAsyncDao(vueARafraichir);
|
| 227 |
paDao.modifier(utilisateurid, idAuteurs, idPublication);
|
227 |
paDao.modifier(idAuteurs, idPublication);
|