Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1128 → Rev 1129

/trunk/src/org/tela_botanica/del/client/cache/CacheClient.java
9,6 → 9,7
import org.tela_botanica.del.client.modeles.Protocole;
import org.tela_botanica.del.client.modeles.Utilisateur;
 
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.Window.Location;
 
public class CacheClient {
29,7 → 30,16
private InformationsRecherche informationsRechercheImage;
private InformationsRecherche informationsRechercheObservation;
private Utilisateur utilisateur;
private String pageCourante = home;
public String getPageCourante() {
return pageCourante;
}
 
public void setPageCourante(String pageCourante) {
this.pageCourante = pageCourante;
}
 
private static CacheClient instance;
 
private CacheClient() {
37,15 → 47,15
}
 
public void initialiserAvecParametres() {
String rechercheLibre = Location.getParameter("contient");
String famille = Location.getParameter("famille");
String taxon = Location.getParameter("espece");
String genre = Location.getParameter("genre");
String commune = Location.getParameter("commune");
String dept = Location.getParameter("dept");
String auteur = Location.getParameter("auteur");
String date = Location.getParameter("date");
String tag = Location.getParameter("tag");
String rechercheLibre = Location.getParameter("masque");
String famille = Location.getParameter("masque.famille");
String taxon = Location.getParameter("masque.ns");
String genre = Location.getParameter("masque.genre");
String commune = Location.getParameter("masque.commune");
String dept = Location.getParameter("masque.departement");
String auteur = Location.getParameter("masque.auteur");
String date = Location.getParameter("masque.date");
String tag = Location.getParameter("masque.tag");
InformationsRecherche rechercheParArguments = new InformationsRecherche();
rechercheParArguments.setRechercheLibre(rechercheLibre);
76,6 → 86,7
public void setHome(String home) {
this.home = home;
setPageCourante(home);
}
public String getHome() {