Subversion Repositories eFlore/Applications.cel

Rev

Rev 13 | Rev 26 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13 Rev 20
Line 5... Line 5...
5
import org.tela_botanica.client.interfaces.FournisseurListe;
5
import org.tela_botanica.client.interfaces.FournisseurListe;
6
import org.tela_botanica.client.interfaces.Rafraichissable;
6
import org.tela_botanica.client.interfaces.Rafraichissable;
7
import org.tela_botanica.client.modeles.Configuration;
7
import org.tela_botanica.client.modeles.Configuration;
8
import org.tela_botanica.client.modeles.ListeObservationAsynchroneDAO;
8
import org.tela_botanica.client.modeles.ListeObservationAsynchroneDAO;
9
import org.tela_botanica.client.modeles.ListeReferentielCommuneAsynchroneDAO;
9
import org.tela_botanica.client.modeles.ListeReferentielCommuneAsynchroneDAO;
-
 
10
import org.tela_botanica.client.modeles.ListeReferentielNom;
-
 
11
import org.tela_botanica.client.modeles.ListeReferentielNomAsynchroneDAO;
10
import org.tela_botanica.client.modeles.NombreObservationAsynchroneDAO;
12
import org.tela_botanica.client.modeles.NombreObservationAsynchroneDAO;
-
 
13
import org.tela_botanica.client.modeles.ObservationAsynchroneDAO;
Line 11... Line 14...
11
 
14
 
Line 116... Line 119...
116
		
119
		
117
		ListeReferentielCommuneAsynchroneDAO refDAO=new ListeReferentielCommuneAsynchroneDAO(this);
120
		ListeReferentielCommuneAsynchroneDAO refDAO=new ListeReferentielCommuneAsynchroneDAO(this);
Line 118... Line 121...
118
		refDAO.obtenirListeDonnees(r, critere);
121
		refDAO.obtenirListeDonnees(r, critere);
-
 
122
 
-
 
123
	}
-
 
124
	
-
 
125
	
-
 
126
	public void obtenirListeReferentielNom(Rafraichissable r, String critere) {
-
 
127
		
-
 
128
		ListeReferentielNomAsynchroneDAO nomDAO=new ListeReferentielNomAsynchroneDAO(this);
-
 
129
		nomDAO.obtenirListeDonnees(r, critere);
-
 
130
 
-
 
131
	}
-
 
132
	
-
 
133
	
-
 
134
	/**
-
 
135
	 *  
-
 
136
	 * Lance la creation d'une observation  
-
 
137
	 * @param r : la vue demandeuse de donnee
-
 
138
	 * @param critere : les criteres de selection
-
 
139
	 */
-
 
140
	
-
 
141
	public void ajouterObservation(Rafraichissable r) {
-
 
142
		
-
 
143
		ObservationAsynchroneDAO obsDAO=new ObservationAsynchroneDAO(this);
-
 
144
		obsDAO.ajouter();
-
 
145
			
-
 
146
	}
-
 
147
 
Line 119... Line 148...
119
 
148
	
120
	}
149
	
121
 
150