Line 55... |
Line 55... |
55 |
if (responseValue.isObject() != null) {
|
55 |
if (responseValue.isObject() != null) {
|
56 |
final JSONObject reponse = responseValue.isObject();
|
56 |
final JSONObject reponse = responseValue.isObject();
|
57 |
// Transformation du tableau JSON réponse en ListeInstitution
|
57 |
// Transformation du tableau JSON réponse en ListeInstitution
|
58 |
Structure structure = new Structure(reponse);
|
58 |
Structure structure = new Structure(reponse);
|
59 |
StructureConservation structureConservation = new StructureConservation(reponse);
|
59 |
StructureConservation structureConservation = new StructureConservation(reponse);
|
- |
|
60 |
StructureValorisation structureValorisation = new StructureValorisation(reponse);
|
60 |
Information info = new Information("selection_structure");
|
61 |
Information info = new Information("selection_structure");
|
61 |
info.setDonnee(0, structure);
|
62 |
info.setDonnee(0, structure);
|
62 |
info.setDonnee(1, structureConservation);
|
63 |
info.setDonnee(1, structureConservation);
|
- |
|
64 |
info.setDonnee(2, structureValorisation);
|
63 |
r.rafraichir(info);
|
65 |
r.rafraichir(info);
|
64 |
} else if (responseValue.isArray() != null) {
|
66 |
} else if (responseValue.isArray() != null) {
|
65 |
final JSONArray reponse = responseValue.isArray();
|
67 |
final JSONArray reponse = responseValue.isArray();
|
66 |
// Transformation du tableau JSON réponse en ListeInstitution
|
68 |
// Transformation du tableau JSON réponse en ListeInstitution
|
67 |
StructureListe structures = new StructureListe(reponse);
|
69 |
StructureListe structures = new StructureListe(reponse);
|
Line 234... |
Line 236... |
234 |
GWT.log("Erreur à la création du service CoelProjetsListe", e);
|
236 |
GWT.log("Erreur à la création du service CoelProjetsListe", e);
|
235 |
Info.display("Erreur de Requête", "Une erreur s'est produite lors de la création de la requête.");
|
237 |
Info.display("Erreur de Requête", "Une erreur s'est produite lors de la création de la requête.");
|
236 |
}
|
238 |
}
|
237 |
}
|
239 |
}
|
Line 238... |
Line 240... |
238 |
|
240 |
|
239 |
public void modifier(final Rafraichissable r, String utilisateurId, Structure str, StructureConservation conservation) {
|
241 |
public void modifier(final Rafraichissable r, String utilisateurId, Structure str, StructureConservation conservation, StructureValorisation valorisation) {
|
240 |
final String url = ((Configuration) Registry.get(RegistreId.CONFIG)).getServiceBaseUrl() +
|
242 |
final String url = ((Configuration) Registry.get(RegistreId.CONFIG)).getServiceBaseUrl() +
|
241 |
"CoelStructureListe/" +
|
243 |
"CoelStructureListe/" +
|
242 |
str.getId()
|
244 |
str.getId()
|
Line 264... |
Line 266... |
264 |
"&cs_telephone =" + URL.encodeComponent(str.getTelephone()) +
|
266 |
"&cs_telephone =" + URL.encodeComponent(str.getTelephone()) +
|
265 |
"&cs_fax =" + URL.encodeComponent(str.getFax()) +
|
267 |
"&cs_fax =" + URL.encodeComponent(str.getFax()) +
|
266 |
"&cs_courriel =" + URL.encodeComponent(str.getCourriel()) +
|
268 |
"&cs_courriel =" + URL.encodeComponent(str.getCourriel()) +
|
267 |
"&cs_truk_url =" + URL.encodeComponent(str.getUrl()) +
|
269 |
"&cs_truk_url =" + URL.encodeComponent(str.getUrl()) +
|
268 |
"&cs_nbre_personne =" + URL.encodeComponent(str.getNbrePersonne()) +
|
270 |
"&cs_nbre_personne =" + URL.encodeComponent(str.getNbrePersonne()) +
|
269 |
"&csc_mark_formation =" + URL.encodeComponent(conservation.getFormationMark()) +
|
271 |
"&csc_mark_formation =" + URL.encodeComponent(conservation.getFormation()) +
|
- |
|
272 |
"&csc_formation =" + URL.encodeComponent(conservation.getFormationInfo()) +
|
- |
|
273 |
"&csc_mark_formation_interet =" + URL.encodeComponent(conservation.getFormationInteret()) +
|
- |
|
274 |
"&csc_truk_stockage_local =" + URL.encodeComponent(conservation.getStockageLocal()) +
|
- |
|
275 |
"&csc_truk_stockage_meuble =" + URL.encodeComponent(conservation.getStockageMeuble()) +
|
- |
|
276 |
"&csc_truk_stockage_parametre =" + URL.encodeComponent(conservation.getStockageParametre()) +
|
- |
|
277 |
"&csc_mark_collection_commune =" + URL.encodeComponent(conservation.getCollectionCommune()) +
|
- |
|
278 |
"&csc_truk_collection_autre =" + URL.encodeComponent(conservation.getCollectionAutre()) +
|
- |
|
279 |
"&csc_mark_acces_controle =" + URL.encodeComponent(conservation.getAccesControle()) +
|
- |
|
280 |
"&csc_mark_restauration =" + URL.encodeComponent(conservation.getRestauration()) +
|
- |
|
281 |
"&csc_truk_restauration_operation =" + URL.encodeComponent(conservation.getRestaurationOperation()) +
|
- |
|
282 |
"&csc_ce_materiel_conservation =" + URL.encodeComponent(conservation.getMaterielConservation()) +
|
- |
|
283 |
"&csc_truk_materiel_autre =" + URL.encodeComponent(conservation.getMaterielAutre()) +
|
- |
|
284 |
"&csc_mark_traitement =" + URL.encodeComponent(conservation.getTraitement()) +
|
- |
|
285 |
"&csc_truk_traitement =" + URL.encodeComponent(conservation.getTraitements()) +
|
- |
|
286 |
"&csc_mark_acquisition_collection =" + URL.encodeComponent(conservation.getAcquisitionCollection()) +
|
- |
|
287 |
"&csc_mark_acquisition_echantillon =" + URL.encodeComponent(conservation.getAcquisitionEchantillon()) +
|
- |
|
288 |
"&csc_mark_acquisition_traitement =" + URL.encodeComponent(conservation.getAcquisitionTraitement()) +
|
- |
|
289 |
"&csc_truk_acquisition_traitement_poison =" + URL.encodeComponent(conservation.getAcquisitionTraitementPoison()) +
|
- |
|
290 |
"&csc_truk_acquisition_traitement_insecte =" + URL.encodeComponent(conservation.getAcquisitionTraitementInsecte()) +
|
- |
|
291 |
"&csv_mark_action =" + URL.encodeComponent(valorisation.getAction()) +
|
- |
|
292 |
"&csv_truk_action =" + URL.encodeComponent(valorisation.getActionInfo()) +
|
- |
|
293 |
"&csv_publication =" + URL.encodeComponent(valorisation.getPublication()) +
|
- |
|
294 |
"&csv_collection_autre =" + URL.encodeComponent(valorisation.getCollectionAutre()) +
|
- |
|
295 |
"&csv_mark_action_future =" + URL.encodeComponent(valorisation.getActionFuture()) +
|
- |
|
296 |
"&csv_action_future =" + URL.encodeComponent(valorisation.getActionFutureInfo()) +
|
270 |
"";
|
297 |
"";
|
Line 271... |
Line 298... |
271 |
|
298 |
|
272 |
try {
|
299 |
try {
|