Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1284 → Rev 1292

/trunk/src/org/tela_botanica/client/modeles/structure/StructureAPersonneAsyncDao.java
57,7 → 57,7
});
}
 
public void ajouter(String structureId, StructureAPersonne personnel) {
public void ajouter(String structureId, StructureAPersonne personnel) {
String postDonneesEncodees = construirePost(structureId, personnel);
final JsonRestRequestBuilder rb = UtilDAO.construireRequetePost(SERVICE_NOM);
rb.envoyerRequete(postDonneesEncodees, new JsonRestRequestCallback() {
72,7 → 72,7
GWT.log(rb.getUrl()+"\n\tLa réponse n'est pas une chaine JSON.", null);
}
}
});
});
}
public void modifier(StructureAPersonne personnel) {
/trunk/src/org/tela_botanica/client/modeles/structure/Structure.java
253,7 → 253,7
return renvoyerValeurCorrecte("longitude");
}
public void setLongitude(String longitude) {
if (longitude != null) {
if (longitude != null) {
longitude = longitude.replace(".", ",");
}
this.set("longitude", longitude);
265,8 → 265,8
}
public void setTelephone(String tel) {
this.set("truk_telephone", tel);
}
}
 
// TELEPHONE FIXE
public String getTelephoneFixe() {
return getInfoDenormaliseParType(renvoyerValeurCorrecte("truk_telephone"), Personne.TELEPHONE_FIXE);
282,6 → 282,7
public void setFax(String fax) {
modifierChaineDenormaliseParType("truk_telephone", Personne.TELEPHONE_FAX, fax);
}
 
// COURRIEL
public String getCourriel() {