Subversion Repositories eFlore/Applications.del

Rev

Rev 419 | Rev 451 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 419 Rev 445
Line 95... Line 95...
95
	@Override
95
	@Override
96
	public void setValeurRechercheSimple(String valeurRecherche) {
96
	public void setValeurRechercheSimple(String valeurRecherche) {
97
		recherchePrincipale.setText(valeurRecherche);
97
		recherchePrincipale.setText(valeurRecherche);
98
	}
98
	}
Line 99... Line -...
99
 
-
 
100
	public void chargerValeursRechercheSimplePrecedente(InformationsRecherche informationsRecherche) {
-
 
101
 
-
 
102
		this.nettoyer();
-
 
103
		if (informationsRecherche.getRechercheLibre() != null && !informationsRecherche.getRechercheLibre().equals("")) {
-
 
104
			getRecherchePrincipale().setText(informationsRecherche.getRechercheLibre());
-
 
105
		}
-
 
106
		afficherLigneInfoRecherche(informationsRecherche);
-
 
107
	}
-
 
108
 
99
 
109
	public void chargerValeursRecherchePrecedente(InformationsRecherche informationsRecherche) {
100
	public void chargerValeursRecherchePrecedente(InformationsRecherche informationsRecherche) {
110
		informationsRecherche.setRechercheLibre(null);
-
 
111
		getRecherchePrincipale().setText("");
101
		getRecherchePrincipale().setText(informationsRecherche.getRechercheLibre());
112
		getDepartement().setText(informationsRecherche.getDepartement());
102
		getDepartement().setText(informationsRecherche.getDepartement());
113
		getCommune().setText(informationsRecherche.getCommune());
103
		getCommune().setText(informationsRecherche.getCommune());
114
		getFamille().setText(informationsRecherche.getFamille());
104
		getFamille().setText(informationsRecherche.getFamille());
115
		getGenre().setText(informationsRecherche.getGenre());
105
		getGenre().setText(informationsRecherche.getGenre());
Line 161... Line 151...
161
		}
151
		}
162
		if (informationRecherche.getDate()!=null && !informationRecherche.getDate().equals("")) {
152
		if (informationRecherche.getDate() != null && !informationRecherche.getDate().equals("")) {
163
			texteRecherchePrecedente.append(I18n.getVocabulary().date() + ":" + informationRecherche.getDate() + " ");
153
			texteRecherchePrecedente.append(I18n.getVocabulary().date() + ":" + informationRecherche.getDate() + " ");
164
		}
154
		}
Line 165... Line -...
165
		
-
 
166
		
-
 
167
		
155
 
168
		recherchePrecedente.setText(texteRecherchePrecedente.toString());
156
		recherchePrecedente.setText(texteRecherchePrecedente.toString());
Line 169... Line 157...
169
	}
157
	}
170
 
158