Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 772 Rev 865
Line 21... Line 21...
21
	private Rafraichissable vueARafraichir = null;
21
	private Rafraichissable vueARafraichir = null;
Line 22... Line 22...
22
	
22
	
23
	public StructureAsyncDao(Rafraichissable vue) {
23
	public StructureAsyncDao(Rafraichissable vue) {
24
		vueARafraichir = vue;
24
		vueARafraichir = vue;
-
 
25
		utilisateurId = ((Mediateur) Registry.get(RegistreId.MEDIATEUR)).getUtilisateurId();
25
		utilisateurId = ((Mediateur) Registry.get(RegistreId.MEDIATEUR)).getUtilisateurId();
26
		GWT.log("ID utilisateur :"+utilisateurId, null);
Line 26... Line 27...
26
	}
27
	}
27
	
28
	
28
	public void selectionner(final String projetId, final String structureId) {
29
	public void selectionner(final String projetId, final String structureId) {
Line 120... Line 121...
120
			}
121
			}
121
		});
122
		});
122
	}
123
	}
Line 123... Line 124...
123
	
124
	
124
	private String construirePost(String structureId, Structure str, StructureConservation conservation, StructureValorisation valorisation) {
125
	private String construirePost(String structureId, Structure str, StructureConservation conservation, StructureValorisation valorisation) {
-
 
126
		String postDonnees = "cmhl_ce_modifier_par=" + URL.encodeComponent(utilisateurId); 
125
		String postDonnees = "cmhl_ce_modifier_par=" + URL.encodeComponent(utilisateurId);
127
			
126
		if (str != null) {
128
		if (str != null) {
127
			if (structureId != null) {
129
			if (structureId != null) {
128
				postDonnees += "&cs_id_structure=" + URL.encodeComponent(structureId);
130
				postDonnees += "&cs_id_structure=" + URL.encodeComponent(structureId);
-
 
131
			}
129
			}
132
			postDonnees += "&cpr_abreviation=" + URL.encodeComponent(((ProjetListe) Registry.get(RegistreId.PROJETS)).get(str.getIdProjet()).getAbreviation());
130
			postDonnees += "&cs_ce_projet=" + URL.encodeComponent(str.getIdProjet()) +
133
			postDonnees += "&cs_ce_projet=" + URL.encodeComponent(str.getIdProjet()) +
131
				"&cs_ce_mere=" + URL.encodeComponent(str.getIdMere()) +
134
				"&cs_ce_mere=" + URL.encodeComponent(str.getIdMere()) +
132
				"&cs_guid=" + URL.encodeComponent(str.getGuid()) +
135
				"&cs_guid=" + URL.encodeComponent(str.getGuid()) +
133
				"&cs_truk_identifiant_alternatif=" + URL.encodeComponent(str.getIdAlternatif()) +
136
				"&cs_truk_identifiant_alternatif=" + URL.encodeComponent(str.getIdAlternatif()) +