Subversion Repositories eFlore/Applications.del

Rev

Rev 466 | Rev 491 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 466 Rev 474
Line 22... Line 22...
22
	}
22
	}
Line 23... Line 23...
23
 
23
 
Line 24... Line 24...
24
	private String assemblerChaineRequete(InformationsRecherche infos, int debut, int fin) {
24
	private String assemblerChaineRequete(InformationsRecherche infos, int debut, int fin) {
25
 
-
 
26
		String chaineRequete = "?debut=" + debut + "&limite=" + (fin - debut);
25
 
27
		if (infos != null && infos.getTaxon() != null && !infos.getTaxon().trim().isEmpty()) {
-
 
28
			chaineRequete += "nom_taxon=" + infos.getTaxon() + chaineRequete;
-
 
29
		}
-
 
30
		
-
 
31
		if(infos != null && infos.getTriParDate() != null) {
-
 
Line 32... Line 26...
32
			chaineRequete += "&tri=date_observation&ordre="+infos.getTriParDate().toString();
26
		String chaineRequete = "?debut=" + debut + "&limite=" + (fin - debut);
33
		}
27
		chaineRequete+= infos.versChaineRequete();
34
 
-
 
35
		return chaineRequete;
28