| Line 1... |
Line 1... |
| 1 |
package org.tela_botanica.client.observation;
|
1 |
package org.tela_botanica.client.observation;
|
| Line 2... |
Line 2... |
| 2 |
|
2 |
|
| Line 3... |
Line -... |
| 3 |
|
- |
|
| 4 |
//TODO : normaliser les noms de methodes (obtenir, ajouter ...)
|
3 |
|
| 5 |
|
4 |
//TODO : normaliser les noms de methodes (obtenir, ajouter ...)
|
| 6 |
import org.tela_botanica.client.interfaces.FournisseurListe;
|
5 |
|
| 7 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
6 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
| 8 |
import org.tela_botanica.client.modeles.Configuration;
|
7 |
import org.tela_botanica.client.modeles.Configuration;
|
| 9 |
import org.tela_botanica.client.modeles.ExportObservationsDAO;
|
8 |
import org.tela_botanica.client.modeles.ExportObservationsDAO;
|
| 10 |
import org.tela_botanica.client.modeles.ImageGeneriqueVueAsynchroneDAO;
|
9 |
import org.tela_botanica.client.modeles.ImageGeneriqueVueAsynchroneDAO;
|
| 11 |
import org.tela_botanica.client.modeles.ImageInformationRepartitionAsynchroneDAO;
|
- |
|
| 12 |
import org.tela_botanica.client.modeles.LienImageAsynchroneDAO;
|
10 |
import org.tela_botanica.client.modeles.ImageInformationRepartitionAsynchroneDAO;
|
| 13 |
import org.tela_botanica.client.modeles.ListeDateObservationAsynchroneDAO;
|
11 |
import org.tela_botanica.client.modeles.LienImageAsynchroneDAO;
|
| 14 |
import org.tela_botanica.client.modeles.ListeEntiteGeographiqueObservation;
|
12 |
import org.tela_botanica.client.modeles.ListeDateObservationAsynchroneDAO;
|
| 15 |
import org.tela_botanica.client.modeles.ListeEntiteGeographiqueObservationAsynchroneDAO;
|
- |
|
| 16 |
import org.tela_botanica.client.modeles.ListeObservationAsynchroneDAO;
|
13 |
import org.tela_botanica.client.modeles.ListeEntiteGeographiqueObservationAsynchroneDAO;
|
| 17 |
import org.tela_botanica.client.modeles.ListeReferentielCommuneAsynchroneDAO;
|
14 |
import org.tela_botanica.client.modeles.ListeObservationAsynchroneDAO;
|
| 18 |
import org.tela_botanica.client.modeles.ListeReferentielNom;
|
15 |
import org.tela_botanica.client.modeles.ListeReferentielCommuneAsynchroneDAO;
|
| 19 |
import org.tela_botanica.client.modeles.ListeReferentielNomAsynchroneDAO;
|
16 |
import org.tela_botanica.client.modeles.ListeReferentielNomAsynchroneDAO;
|
| 20 |
import org.tela_botanica.client.modeles.MotsClesObsAsynchronesDAO;
|
17 |
import org.tela_botanica.client.modeles.MotsClesObsAsynchronesDAO;
|
| 21 |
import org.tela_botanica.client.modeles.NomRetenuAsynchroneDao;
|
18 |
import org.tela_botanica.client.modeles.NomRetenuAsynchroneDao;
|
| 22 |
import org.tela_botanica.client.modeles.NombreObservationAsynchroneDAO;
|
19 |
import org.tela_botanica.client.modeles.NombreObservationAsynchroneDAO;
|
| 23 |
import org.tela_botanica.client.modeles.Observation;
|
- |
|
| 24 |
import org.tela_botanica.client.modeles.ObservationAsynchroneDAO;
|
- |
|
| 25 |
import org.tela_botanica.client.modeles.TransmissionObservationAsynchroneDAO;
|
- |
|
| 26 |
import org.tela_botanica.client.vues.ArbreDateObservationFiltreVue;
|
- |
|
| 27 |
import org.tela_botanica.client.vues.InformationRepartitionVue;
|
- |
|
| 28 |
import org.tela_botanica.client.vues.ListeObservationVue;
|
- |
|
| Line 29... |
Line 20... |
| 29 |
import org.tela_botanica.client.vues.MiniZoomImageVue;
|
20 |
import org.tela_botanica.client.modeles.Observation;
|
| Line 41... |
Line 32... |
| 41 |
private static boolean estInstancie = false ;
|
32 |
private static boolean estInstancie = false ;
|
| Line 42... |
Line 33... |
| 42 |
|
33 |
|
| Line -... |
Line 34... |
| - |
|
34 |
private static ObservationModele thisModele = null ;
|
| - |
|
35 |
|
| 43 |
private static ObservationModele thisModele = null ;
|
36 |
|
| 44 |
|
37 |
|
| 45 |
|
38 |
|
| 46 |
/**
|
39 |
/**
|
| Line 55... |
Line 48... |
| 55 |
|
48 |
|
| Line -... |
Line 49... |
| - |
|
49 |
private ObservationMediateur observationMediateur = null ;
|
| - |
|
50 |
|
| - |
|
51 |
|
| - |
|
52 |
|
| - |
|
53 |
/**
|
| - |
|
54 |
* DAO dont le resultat peut etre mis en cache
|
| - |
|
55 |
*
|
| - |
|
56 |
*/
|
| - |
|
57 |
|
| - |
|
58 |
private ListeReferentielNomAsynchroneDAO nomDAO=null;
|
| Line 56... |
Line 59... |
| 56 |
private ObservationMediateur observationMediateur = null ;
|
59 |
private ListeReferentielCommuneAsynchroneDAO refDAO=null;
|
| 57 |
|
60 |
|
| 58 |
|
61 |
|
| 59 |
|
62 |
|
| Line 149... |
Line 152... |
| 149 |
* @param critere
|
152 |
* @param critere
|
| 150 |
*/
|
153 |
*/
|
| Line 151... |
Line 154... |
| 151 |
|
154 |
|
| Line -... |
Line 155... |
| - |
|
155 |
public void obtenirListeReferentielCommune(Rafraichissable r, String critere) {
|
| - |
|
156 |
|
| - |
|
157 |
if (refDAO==null) {
|
| 152 |
public void obtenirListeReferentielCommune(Rafraichissable r, String critere) {
|
158 |
refDAO=new ListeReferentielCommuneAsynchroneDAO(this);
|
| 153 |
|
159 |
}
|
| Line 154... |
Line 160... |
| 154 |
ListeReferentielCommuneAsynchroneDAO refDAO=new ListeReferentielCommuneAsynchroneDAO(this);
|
160 |
ListeReferentielCommuneAsynchroneDAO refDAO=new ListeReferentielCommuneAsynchroneDAO(this);
|
| Line 162... |
Line 168... |
| 162 |
* @param critere
|
168 |
* @param critere
|
| 163 |
*/
|
169 |
*/
|
| Line 164... |
Line 170... |
| 164 |
|
170 |
|
| Line -... |
Line 171... |
| - |
|
171 |
public void obtenirListeReferentielNom(Rafraichissable r, String critere) {
|
| 165 |
public void obtenirListeReferentielNom(Rafraichissable r, String critere) {
|
172 |
|
| - |
|
173 |
if (nomDAO==null) {
|
| 166 |
|
174 |
nomDAO=new ListeReferentielNomAsynchroneDAO(this);
|
| Line 167... |
Line 175... |
| 167 |
ListeReferentielNomAsynchroneDAO nomDAO=new ListeReferentielNomAsynchroneDAO(this);
|
175 |
}
|