Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2 Rev 7
Line 1... Line 1...
1
package org.tela_botanica.client.observation;
1
package org.tela_botanica.client.observation;
Line 2... Line -...
2
 
-
 
3
 
2
 
4
import org.tela_botanica.client.interfaces.iRetourObservation;
3
import org.tela_botanica.client.interfaces.iRetourObservation;
Line 5... Line 4...
5
import org.tela_botanica.client.modeles.ObservationAsynchroneDAO;
4
import org.tela_botanica.client.modeles.ObservationAsynchroneDAO;
Line 6... Line 5...
6
 
5
 
Line 7... Line -...
7
import com.google.gwt.i18n.client.Dictionary;
-
 
8
 
6
import com.google.gwt.i18n.client.Dictionary;
9
public class ObservationModele {
-
 
10
 
-
 
11
	
-
 
12
	private final String baseURL;
-
 
13
	
-
 
14
	
-
 
15
	public ObservationModele() {
-
 
Line -... Line 7...
-
 
7
 
Line 16... Line 8...
16
		
8
public class ObservationModele {
Line 17... Line -...
17
		baseURL=Dictionary.getDictionary("Parameters").get("serviceBaseUrl");
-
 
18
		
-
 
19
	}
9
 
Line -... Line 10...
-
 
10
	private final String baseURL;
-
 
11
 
-
 
12
	public ObservationModele() {
-
 
13
 
-
 
14
		baseURL = Dictionary.getDictionary("Parameters").get("serviceBaseUrl");
-
 
15
 
-
 
16
	}
-
 
17
 
Line 20... Line -...
20
 
-
 
21
 
-
 
22
	public void getNombreObservation(final iRetourObservation retour, String identifiant, String identifiantLocalite, String localite, String annee,  String mois,  String jour, String lieudit, String rechercheLibre) {
-
 
23
 
-
 
24
			new ObservationAsynchroneDAO().getNombreObservation(baseURL, retour, identifiant, identifiantLocalite, localite, annee, mois, jour, lieudit, rechercheLibre );
18
	public void getNombreObservation(final iRetourObservation retour,
Line -... Line 19...
-
 
19
			String identifiant, String identifiantLocalite, String localite,
-
 
20
			String annee, String mois, String jour, String lieudit,
-
 
21
			String rechercheLibre) {
-
 
22
 
-
 
23
		new ObservationAsynchroneDAO().getNombreObservation(baseURL, retour,
-
 
24
				identifiant, identifiantLocalite, localite, annee, mois, jour,
-
 
25
				lieudit, rechercheLibre);
-
 
26
 
-
 
27
	}
-
 
28
 
Line 25... Line -...
25
		
-
 
26
	}
29
	public void getListeObservation(iRetourObservation retour,