Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 259 → Rev 258

/trunk/src/org/tela_botanica/client/modeles/ObservationAsynchroneDAO.java
55,18 → 55,9
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())
+"&coord_x="+URL.encodeComponent(""+obs.getCoordonneeX())
+"&coord_y="+URL.encodeComponent(""+obs.getCoordonneeY());;
+ 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()) ;
 
try {
114,9 → 105,8
+ "&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());
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())/*+"&mots_cles="+URL.encodeComponent(obs.getMotsCles()) */;
 
try {
/trunk/src/org/tela_botanica/client/modeles/Observation.java
23,7 → 23,11
private String coordonneeX=null;
private String coordonneeY=null;
private String referentielGeo=null;
private String systemeCoordonnees=null;
 
 
 
 
public Observation() {
}
 
265,6 → 269,10
return this.referentielGeo ;
}
public String getSystemeCoordonnees() {
return this.systemeCoordonnees ;
}
public void setMotsCles(String motsCles) {
this.motsCles = motsCles;
}
284,6 → 292,10
public void setReferentielGeo(String refGeo) {
this.referentielGeo = refGeo;
}
public void setSystemeCoordonnees(String systemeCoordonnees) {
this.systemeCoordonnees = systemeCoordonnees;
}
 
 
}