Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 258 → Rev 259

/trunk/src/org/tela_botanica/client/modeles/Observation.java
23,11 → 23,7
private String coordonneeX=null;
private String coordonneeY=null;
private String referentielGeo=null;
private String systemeCoordonnees=null;
 
 
 
 
public Observation() {
}
 
269,10 → 265,6
return this.referentielGeo ;
}
public String getSystemeCoordonnees() {
return this.systemeCoordonnees ;
}
public void setMotsCles(String motsCles) {
this.motsCles = motsCles;
}
292,10 → 284,6
public void setReferentielGeo(String refGeo) {
this.referentielGeo = refGeo;
}
public void setSystemeCoordonnees(String systemeCoordonnees) {
this.systemeCoordonnees = systemeCoordonnees;
}
 
 
}
/trunk/src/org/tela_botanica/client/modeles/ObservationAsynchroneDAO.java
55,9 → 55,18
RequestBuilder rb = new RequestBuilder(RequestBuilder.POST,Configuration.getServiceBaseUrl()+ "/Inventory/") ;
String postData = "identifiant="
+ utilisateur + "&nom_sel=" + URL.encodeComponent(obs.getNomSaisi()) + "&num_nom_sel=" + obs.getNumeroNomenclaturalSaisi()
+ "&location=" + URL.encodeComponent(obs.getLocalite()) + "&id_location=" + obs.getIdentifiantLocalite() + "&date_observation=" + obs.getDate()
+ "&lieudit="+ URL.encodeComponent(obs.getLieudit()) + "&station="+ URL.encodeComponent(obs.getStation()) +"&milieu="+ URL.encodeComponent(obs.getMilieu()) + "&commentaire="+ URL.encodeComponent(""+obs.getCommentaire()) ;
+ utilisateur
+"&nom_sel="+URL.encodeComponent(obs.getNomSaisi())
+"&num_nom_sel="+obs.getNumeroNomenclaturalSaisi()
+"&location="+URL.encodeComponent(obs.getLocalite())
+"&id_location="+obs.getIdentifiantLocalite()
+"&date_observation=" + obs.getDate()
+"&lieudit="+ URL.encodeComponent(obs.getLieudit())
+"&station="+URL.encodeComponent(obs.getStation())
+"&milieu="+URL.encodeComponent(obs.getMilieu())
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())
+"&coord_x="+URL.encodeComponent(""+obs.getCoordonneeX())
+"&coord_y="+URL.encodeComponent(""+obs.getCoordonneeY());;
 
try {
105,8 → 114,9
+ "&lieudit="+ URL.encodeComponent(obs.getLieudit())
+ "&station="+ URL.encodeComponent(obs.getStation())
+"&milieu="+ URL.encodeComponent(obs.getMilieu())
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())/*+"&mots_cles="+URL.encodeComponent(obs.getMotsCles()) */;
 
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())
+"&coord_x="+URL.encodeComponent(""+obs.getCoordonneeX())
+"&coord_y="+URL.encodeComponent(""+obs.getCoordonneeY());
try {