| Line 27... |
Line 27... |
| 27 |
import org.tela_botanica.client.modeles.Observation;
|
27 |
import org.tela_botanica.client.modeles.Observation;
|
| 28 |
import org.tela_botanica.client.modeles.ObservationAsynchroneDAO;
|
28 |
import org.tela_botanica.client.modeles.ObservationAsynchroneDAO;
|
| 29 |
import org.tela_botanica.client.modeles.TransmissionObservationAsynchroneDAO;
|
29 |
import org.tela_botanica.client.modeles.TransmissionObservationAsynchroneDAO;
|
| 30 |
import org.tela_botanica.client.vues.observation.ListeObservationVue;
|
30 |
import org.tela_botanica.client.vues.observation.ListeObservationVue;
|
| Line -... |
Line 31... |
| - |
|
31 |
|
| 31 |
|
32 |
import com.google.gwt.core.client.GWT;
|
| 32 |
import com.google.gwt.json.client.JSONArray;
|
33 |
import com.google.gwt.json.client.JSONArray;
|
| 33 |
import com.google.gwt.json.client.JSONObject;
|
34 |
import com.google.gwt.json.client.JSONObject;
|
| 34 |
import com.google.gwt.maps.client.geom.LatLng;
|
35 |
import com.google.gwt.maps.client.geom.LatLng;
|
| 35 |
import com.google.gwt.user.client.Window;
|
36 |
import com.google.gwt.user.client.Window;
|
| Line 127... |
Line 128... |
| 127 |
public void obtenirNombreObservation(Rafraichissable r) {
|
128 |
public void obtenirNombreObservation(Rafraichissable r) {
|
| Line 128... |
Line 129... |
| 128 |
|
129 |
|
| 129 |
String[][] criteres = {{"",""}} ;
|
130 |
String[][] criteres = {{"",""}} ;
|
| 130 |
criteres = observationMediateur.renvoyerFiltres() ;
|
131 |
criteres = observationMediateur.renvoyerFiltres() ;
|
| 131 |
// on rassemble les critères
|
- |
|
| 132 |
|
- |
|
| 133 |
|
132 |
// on rassemble les critères
|
| 134 |
// on les crée un DAO auquel on les transmet et qui demande le nombre d'images correspondantes (pour les pages)
|
133 |
// on les crée un DAO auquel on les transmet et qui demande le nombre d'images correspondantes (pour les pages)
|
| 135 |
NombreObservationAsynchroneDAO noaDAO = new NombreObservationAsynchroneDAO(this) ;
|
134 |
NombreObservationAsynchroneDAO noaDAO = new NombreObservationAsynchroneDAO(this) ;
|
| Line 136... |
Line 135... |
| 136 |
noaDAO.obtenirNombreObservation(r, observationMediateur.getIdentifiant(), criteres) ;
|
135 |
noaDAO.obtenirNombreObservation(r, observationMediateur.getIdentifiant(), criteres) ;
|