Line 53... |
Line 53... |
53 |
// String num_nom_ret, String num_taxon, String famille,final String loc, String id_location,String dat, String lieu, String sta, String mil, String comment) {
|
53 |
// String num_nom_ret, String num_taxon, String famille,final String loc, String id_location,String dat, String lieu, String sta, String mil, String comment) {
|
Line 54... |
Line 54... |
54 |
|
54 |
|
Line 55... |
Line 55... |
55 |
RequestBuilder rb = new RequestBuilder(RequestBuilder.POST,Configuration.getServiceBaseUrl()+ "/Inventory/") ;
|
55 |
RequestBuilder rb = new RequestBuilder(RequestBuilder.POST,Configuration.getServiceBaseUrl()+ "/Inventory/") ;
|
- |
|
56 |
|
56 |
|
57 |
String postData = "identifiant="
|
- |
|
58 |
+ utilisateur
|
57 |
String postData = "identifiant="
|
59 |
+"&nom_sel="+URL.encodeComponent(obs.getNomSaisi())
|
- |
|
60 |
+"&num_nom_sel="+obs.getNumeroNomenclaturalSaisi()
|
- |
|
61 |
+"&location="+URL.encodeComponent(obs.getLocalite())
|
- |
|
62 |
+"&id_location="+obs.getIdentifiantLocalite()
|
- |
|
63 |
+"&date_observation=" + obs.getDate()
|
- |
|
64 |
+"&lieudit="+ URL.encodeComponent(obs.getLieudit())
|
58 |
+ utilisateur + "&nom_sel=" + URL.encodeComponent(obs.getNomSaisi()) + "&num_nom_sel=" + obs.getNumeroNomenclaturalSaisi()
|
65 |
+"&station="+URL.encodeComponent(obs.getStation())
|
- |
|
66 |
+"&milieu="+URL.encodeComponent(obs.getMilieu())
|
- |
|
67 |
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())
|
Line 59... |
Line 68... |
59 |
+ "&location=" + URL.encodeComponent(obs.getLocalite()) + "&id_location=" + obs.getIdentifiantLocalite() + "&date_observation=" + obs.getDate()
|
68 |
+"&coord_x="+URL.encodeComponent(""+obs.getCoordonneeX())
|
Line 60... |
Line 69... |
60 |
+ "&lieudit="+ URL.encodeComponent(obs.getLieudit()) + "&station="+ URL.encodeComponent(obs.getStation()) +"&milieu="+ URL.encodeComponent(obs.getMilieu()) + "&commentaire="+ URL.encodeComponent(""+obs.getCommentaire()) ;
|
69 |
+"&coord_y="+URL.encodeComponent(""+obs.getCoordonneeY());;
|
Line 103... |
Line 112... |
103 |
+ "&id_location=" + obs.getIdentifiantLocalite()
|
112 |
+ "&id_location=" + obs.getIdentifiantLocalite()
|
104 |
+ "&date_observation=" + obs.getDate()
|
113 |
+ "&date_observation=" + obs.getDate()
|
105 |
+ "&lieudit="+ URL.encodeComponent(obs.getLieudit())
|
114 |
+ "&lieudit="+ URL.encodeComponent(obs.getLieudit())
|
106 |
+ "&station="+ URL.encodeComponent(obs.getStation())
|
115 |
+ "&station="+ URL.encodeComponent(obs.getStation())
|
107 |
+"&milieu="+ URL.encodeComponent(obs.getMilieu())
|
116 |
+"&milieu="+ URL.encodeComponent(obs.getMilieu())
|
108 |
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())/*+"&mots_cles="+URL.encodeComponent(obs.getMotsCles()) */;
|
117 |
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())
|
109 |
|
- |
|
- |
|
118 |
+"&coord_x="+URL.encodeComponent(""+obs.getCoordonneeX())
|
- |
|
119 |
+"&coord_y="+URL.encodeComponent(""+obs.getCoordonneeY());
|
Line 110... |
Line 120... |
110 |
|
120 |
|
Line 111... |
Line 121... |
111 |
try {
|
121 |
try {
|