Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1783 → Rev 1784

/trunk/src/org/tela_botanica/client/modeles/structure/Structure.java
158,13 → 158,6
public void setAdresse(String adr) {
this.set("adresse_01", adr);
}
public String getAdresseComplement() {
return renvoyerValeurCorrecte("adresse_02");
}
public void setAdresseComplement(String adr) {
this.set("adresse_02", adr);
}
 
public String getDateFondationFormatMysql() {
return renvoyerValeurCorrecte("date_fondation");
200,19 → 193,8
return fondationDate;
}
/*
public String getAnneeOuDateFondation() {
String valeurDateFondation = get("date_fondation");
if (!UtilString.isEmpty(valeurDateFondation) && valeurDateFondation.endsWith("00-00")) {
valeurDateFondation = valeurDateFondation.substring(0, 4);
} else if (UtilString.isEmpty(valeurDateFondation) && valeurDateFondation.equals("0000-00-00")) {
valeurDateFondation = "";
}
return valeurDateFondation;
}*/
public String getAnneeOuDateFondation() {
String valeurDateFondation = get("date_fondation");
return getDateSouple(valeurDateFondation);
}
283,13 → 265,6
this.set("ville", ville);
}
public String getRegion() {
return getChaineDenormaliseUnique("ce_truk_region");
}
public void setRegion(String region) {
this.set("ce_truk_region", region);
}
public String getPays() {
return getChaineDenormaliseUnique("ce_truk_pays");
}
340,7 → 315,6
public void setFax(String fax) {
modifierChaineDenormaliseParType("truk_telephone", Personne.TELEPHONE_FAX, fax);
}
 
// COURRIEL
public String getCourriel() {
/trunk/src/org/tela_botanica/client/modeles/structure/StructureAsyncDao.java
254,11 → 254,9
"&cs_ce_truk_type_prive=" + URL.encodeComponent(str.getTypePrive()) +
"&cs_ce_truk_type_public=" + URL.encodeComponent(str.getTypePublic()) +
"&cs_adresse_01=" + URL.encodeComponent(str.getAdresse()) +
"&cs_adresse_02=" + URL.encodeComponent(str.getAdresseComplement()) +
"&cs_date_fondation=" + URL.encodeComponent(str.getDateFondationFormatMysql()) +
"&cs_code_postal=" + URL.encodeComponent(str.getCodePostal()) +
"&cs_ville=" + URL.encodeComponent(str.getVille()) +
"&cs_ce_truk_region=" + URL.encodeComponent(str.get("ce_truk_region").toString()) +
"&cs_ce_truk_pays=" + URL.encodeComponent(str.getPays()) +
"&cs_latitude=" + URL.encodeComponent(str.getLatitude()) +
"&cs_longitude=" + URL.encodeComponent(str.getLongitude()) +