Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 126 Rev 157
Line 60... Line 60...
60
						requete += "&";
60
						requete += "&";
61
					}
61
					}
62
					requete += criteres[i][0]+"="+criteres[i][1] ;
62
					requete += criteres[i][0]+"="+criteres[i][1] ;
63
				}
63
				}
64
			}
64
			}
65
		}	
65
		}
Line 66... Line 66...
66
		
66
		
67
		// on envoie le get asynchrone
67
		// on envoie le get asynchrone
68
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET,Configuration.getServiceBaseUrl()
68
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET,Configuration.getServiceBaseUrl()
Line 109... Line 109...
109
								String station=Util.toCelString(((JSONString) observation .get(10)).toString());
109
								String station=Util.toCelString(((JSONString) observation .get(10)).toString());
110
								String milieu=Util.toCelString(((JSONString) observation .get(11)).toString());
110
								String milieu=Util.toCelString(((JSONString) observation .get(11)).toString());
111
								String commentaire=Util.toCelString(((JSONString) observation .get(12)).toString());
111
								String commentaire=Util.toCelString(((JSONString) observation .get(12)).toString());
112
								String date=((JSONString) observation .get(8)).stringValue();
112
								String date=((JSONString) observation .get(8)).stringValue();
113
								String numeroOrdre=((JSONString) observation.get(7)).stringValue();
113
								String numeroOrdre=((JSONString) observation.get(7)).stringValue();
-
 
114
								//String motsCles=((JSONString) observation.get(15)).stringValue();
Line 114... Line 115...
114
								
115
								
Line 115... Line 116...
115
								Observation obs=new Observation(transmis, nomSaisi, nomRetenu, numeroNomenclaturalSaisi, numeroNomenclaturalRetenu ,numeroTaxonomique, famille, localite, identifiantLocalite, lieudit, station, milieu, commentaire, date, numeroOrdre);
116
								Observation obs=new Observation(transmis, nomSaisi, nomRetenu, numeroNomenclaturalSaisi, numeroNomenclaturalRetenu ,numeroTaxonomique, famille, localite, identifiantLocalite, lieudit, station, milieu, commentaire, date, numeroOrdre/*, motsCles*/);
Line 116... Line 117...
116
			
117
			
117
								observationData.put(obs.getNumeroOrdre(),obs);
-
 
118
								
118
								observationData.put(obs.getNumeroOrdre(),obs);
119
								
119
								
Line 120... Line 120...
120
							}
120
								
121
				
121
							}