Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1763 → Rev 1764

/trunk/src/org/tela_botanica/client/modeles/personne/PersonneListe.java
11,6 → 11,7
import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONNumber;
import com.google.gwt.json.client.JSONObject;
import com.google.gwt.user.client.Window;
 
/**
* Classe contenant les informations sur les Personnes renvoyées par un objet de type DAO.
125,7 → 126,10
 
public void selectionnerPersonne() {
Mediateur mediateur = (Mediateur) Registry.get(RegistreId.MEDIATEUR);
mediateur.selectionnerPersonne(vueARafraichir, null, mediateur.getProjetId(), currentPage, nbElementsPage, null);
// Utilisation d'une valeur nulle "typée" pour éviter un ambiguité sur l'appel de méthode et donc
// une erreur
Personne personne = new Personne();
mediateur.selectionnerPersonne(vueARafraichir, personne, currentPage, nbElementsPage, null);
}
 
public void filtrerParNom(String nom) {
132,7 → 136,7
Mediateur mediateur = (Mediateur) Registry.get(RegistreId.MEDIATEUR);
Personne personne = new Personne();
personne.setNom("%" + nom + "%");
mediateur.selectionnerPersonne(vueARafraichir, personne, mediateur.getProjetId(), currentPage, nbElementsPage, null);
mediateur.selectionnerPersonne(vueARafraichir, personne, currentPage, nbElementsPage, null);
}
 
public void filtrerParNomEtPage(String nom, int pageCourante) {