Subversion Repositories eFlore/Applications.coel

Rev

Rev 237 | Rev 245 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 237 Rev 244
Line 138... Line 138...
138
	public void ajouterStructureAPersonne(Rafraichissable vue, String utilisateurId, String structureId, StructureAPersonne personnel) {
138
	public void ajouterStructureAPersonne(Rafraichissable vue, String utilisateurId, String structureId, StructureAPersonne personnel) {
139
		StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao();
139
		StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao();
140
		structureAPersonneDao.ajouter(vue, utilisateurId, structureId, personnel);	
140
		structureAPersonneDao.ajouter(vue, utilisateurId, structureId, personnel);	
141
	}
141
	}
Line 142... Line 142...
142
	
142
	
143
	public void supprimerStructureAPersonne(Rafraichissable vue, String utilisateurId, String personnel) {
143
	public void supprimerStructureAPersonne(Rafraichissable vue, String utilisateurId, String personnelId) {
144
		StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao();
144
		StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao();
145
		structureAPersonneDao.supprimer(vue, utilisateurId, personnel);
145
		structureAPersonneDao.supprimer(vue, utilisateurId, personnelId);
Line 146... Line 146...
146
	}
146
	}
147
	
147
	
148
	//+----------------------------------------------------------------------------------------------------------------+
148
	//+----------------------------------------------------------------------------------------------------------------+
Line 170... Line 170...
170
		// Lance le service JREST associƩ au personne via la class PersonneListeAsyncDAO
170
		// Lance le service JREST associƩ au personne via la class PersonneListeAsyncDAO
171
		PersonnesAsyncDao plDao = new PersonnesAsyncDao(this);
171
		PersonnesAsyncDao plDao = new PersonnesAsyncDao(this);
172
		plDao.obtenirListePersonnes();
172
		plDao.obtenirListePersonnes();
173
	}
173
	}
Line -... Line 174...
-
 
174
	
-
 
175
	public void selectionnerPersonne(Rafraichissable vue, String personneId, String projetId, String nomComplet) {
-
 
176
		PersonnesAsyncDao pDao = new PersonnesAsyncDao(vue);
-
 
177
		pDao.selectionner(personneId, projetId, nomComplet);
-
 
178
	}
174
	
179
	
175
	//+----------------------------------------------------------------------------------------------------------------+
180
	//+----------------------------------------------------------------------------------------------------------------+
176
	//												GESTION DES PUBLICATIONS
181
	//												GESTION DES PUBLICATIONS
Line 177... Line 182...
177
	//+----------------------------------------------------------------------------------------------------------------+
182
	//+----------------------------------------------------------------------------------------------------------------+
Line 202... Line 207...
202
			}
207
			}
203
		}
208
		}
204
		PublicationListeAsyncDao pDao = new PublicationListeAsyncDao(this);
209
		PublicationListeAsyncDao pDao = new PublicationListeAsyncDao(this);
205
		pDao.supprimerPublication(this, utilisateurId, idPubs);	
210
		pDao.supprimerPublication(this, utilisateurId, idPubs);	
206
	}
211
	}
-
 
212
 
207
}
213
}
208
214