Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 129 Rev 135
Line 76... Line 76...
76
 
76
 
77
	/** Lance la creation d'une Structure
77
	/** Lance la creation d'une Structure
78
	 * @param r la vue demandant a être rafraichie
78
	 * @param r la vue demandant a être rafraichie
79
	 * @param structure les données de la structure
79
	 * @param structure les données de la structure
80
	 */
80
	 */
81
	public void ajouterStructure(Rafraichissable r, Structure structure) {
81
	public void ajouterStructure(Rafraichissable r, String idUtilisateur, Structure structure) {
-
 
82
		StructureAsyncDao structureDao = new StructureAsyncDao();
-
 
83
		structureDao.ajouter(r, idUtilisateur, structure);
-
 
84
	}
-
 
85
 
82
		StructureAsyncDao structureDao = new StructureAsyncDao();
86
	public void supprimerListeStructure(Rafraichissable r, String idUtilisateur, String idStr) {
83
		Mediateur mediateur = (Mediateur) Registry.get(RegistreId.MEDIATEUR);
87
		StructureAsyncDao structureDao = new StructureAsyncDao();
84
		structureDao.ajouter(r, mediateur.getUtilisateurId(), structure);
88
		structureDao.supprimer(r, idUtilisateur, idStr);
Line 85... Line 89...
85
	}
89
	}
86
	
90