| Line 20... |
Line 20... |
| 20 |
import org.tela_botanica.client.modeles.ListeEntiteGeographiqueObservationAsynchroneDAO;
|
20 |
import org.tela_botanica.client.modeles.ListeEntiteGeographiqueObservationAsynchroneDAO;
|
| 21 |
import org.tela_botanica.client.modeles.ListeObservation;
|
21 |
import org.tela_botanica.client.modeles.ListeObservation;
|
| 22 |
import org.tela_botanica.client.modeles.ListeObservationAsynchroneDAO;
|
22 |
import org.tela_botanica.client.modeles.ListeObservationAsynchroneDAO;
|
| 23 |
import org.tela_botanica.client.modeles.ListeReferentielCommuneAsynchroneDAO;
|
23 |
import org.tela_botanica.client.modeles.ListeReferentielCommuneAsynchroneDAO;
|
| 24 |
import org.tela_botanica.client.modeles.ListeReferentielNomAsynchroneDAO;
|
24 |
import org.tela_botanica.client.modeles.ListeReferentielNomAsynchroneDAO;
|
| - |
|
25 |
import org.tela_botanica.client.modeles.ListeReferentielPersoAsynchroneDAO;
|
| 25 |
import org.tela_botanica.client.modeles.MotsClesAsynchroneDAO;
|
26 |
import org.tela_botanica.client.modeles.MotsClesAsynchroneDAO;
|
| 26 |
import org.tela_botanica.client.modeles.NomRetenuAsynchroneDao;
|
27 |
import org.tela_botanica.client.modeles.NomRetenuAsynchroneDao;
|
| 27 |
import org.tela_botanica.client.modeles.NombreObservationAsynchroneDAO;
|
28 |
import org.tela_botanica.client.modeles.NombreObservationAsynchroneDAO;
|
| 28 |
import org.tela_botanica.client.modeles.Observation;
|
29 |
import org.tela_botanica.client.modeles.Observation;
|
| 29 |
import org.tela_botanica.client.modeles.ObservationAsynchroneDAO;
|
30 |
import org.tela_botanica.client.modeles.ObservationAsynchroneDAO;
|
| 30 |
import org.tela_botanica.client.modeles.TransmissionObservationAsynchroneDAO;
|
31 |
import org.tela_botanica.client.modeles.TransmissionObservationAsynchroneDAO;
|
| - |
|
32 |
import org.tela_botanica.client.modeles.ListeReferentielPerso.TypesReferentiels;
|
| 31 |
import org.tela_botanica.client.vues.observation.ListeObservationVue;
|
33 |
import org.tela_botanica.client.vues.observation.ListeObservationVue;
|
| Line 32... |
Line 34... |
| 32 |
|
34 |
|
| 33 |
import com.google.gwt.core.client.GWT;
|
35 |
import com.google.gwt.core.client.GWT;
|
| 34 |
import com.google.gwt.json.client.JSONArray;
|
36 |
import com.google.gwt.json.client.JSONArray;
|
| Line 85... |
Line 87... |
| 85 |
*
|
87 |
*
|
| 86 |
*/
|
88 |
*/
|
| Line 87... |
Line 89... |
| 87 |
|
89 |
|
| 88 |
private ListeReferentielNomAsynchroneDAO nomDAO=null;
|
90 |
private ListeReferentielNomAsynchroneDAO nomDAO=null;
|
| 89 |
private ListeReferentielCommuneAsynchroneDAO refDAO=null;
|
- |
|
| 90 |
|
- |
|
| 91 |
|
- |
|
| - |
|
91 |
private ListeReferentielCommuneAsynchroneDAO refDAO=null;
|
| Line 92... |
Line 92... |
| 92 |
|
92 |
private ListeReferentielPersoAsynchroneDAO refPersoDAO=null;
|
| 93 |
|
93 |
|
| 94 |
/**
|
94 |
/**
|
| 95 |
* Retourne une instance de manière unique
|
95 |
* Retourne une instance de manière unique
|
| Line 188... |
Line 188... |
| 188 |
refDAO.obtenirListeDonnees(r, critere);
|
188 |
refDAO.obtenirListeDonnees(r, critere);
|
| Line 189... |
Line 189... |
| 189 |
|
189 |
|
| Line 190... |
Line 190... |
| 190 |
}
|
190 |
}
|
| - |
|
191 |
|
| - |
|
192 |
/**
|
| - |
|
193 |
* Obtenir une liste de commune
|
| - |
|
194 |
* @param r
|
| - |
|
195 |
* @param critere
|
| - |
|
196 |
*/
|
| - |
|
197 |
|
| - |
|
198 |
public void obtenirListeReferentielPerso(Rafraichissable r, TypesReferentiels referentiel, String critere) {
|
| - |
|
199 |
|
| - |
|
200 |
if (refPersoDAO==null) {
|
| - |
|
201 |
refPersoDAO=new ListeReferentielPersoAsynchroneDAO(this);
|
| - |
|
202 |
}
|
| - |
|
203 |
|
| - |
|
204 |
refPersoDAO.setRefDemande(referentiel);
|
| - |
|
205 |
refPersoDAO.obtenirListeDonnees(r,observationMediateur.getIdentifiant(), critere);
|
| - |
|
206 |
|
| - |
|
207 |
}
|
| 191 |
|
208 |
|
| 192 |
/**
|
209 |
/**
|
| 193 |
* Obtenir une liste de nom scientifique de plante
|
210 |
* Obtenir une liste de nom scientifique de plante
|
| 194 |
* @param r
|
211 |
* @param r
|