989 |
aurelien |
1 |
package org.tela_botanica.client.modeles.dao;
|
12 |
david |
2 |
|
154 |
david |
3 |
import java.util.HashMap;
|
|
|
4 |
|
12 |
david |
5 |
import org.tela_botanica.client.interfaces.FournisseurListe;
|
|
|
6 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
989 |
aurelien |
7 |
import org.tela_botanica.client.modeles.objets.Configuration;
|
2568 |
aurelien |
8 |
import org.tela_botanica.client.modeles.objets.ReferentielLocalite;
|
12 |
david |
9 |
import org.tela_botanica.client.observation.ObservationModele;
|
|
|
10 |
|
32 |
jpm |
11 |
import com.google.gwt.http.client.Request;
|
1918 |
aurelien |
12 |
import org.tela_botanica.client.util.RequestBuilderWithCredentials;
|
32 |
jpm |
13 |
import com.google.gwt.http.client.RequestCallback;
|
|
|
14 |
import com.google.gwt.http.client.RequestException;
|
|
|
15 |
import com.google.gwt.http.client.Response;
|
204 |
david |
16 |
import com.google.gwt.http.client.URL;
|
12 |
david |
17 |
import com.google.gwt.json.client.JSONArray;
|
|
|
18 |
import com.google.gwt.json.client.JSONParser;
|
|
|
19 |
import com.google.gwt.json.client.JSONString;
|
|
|
20 |
import com.google.gwt.json.client.JSONValue;
|
|
|
21 |
|
|
|
22 |
/**
|
2568 |
aurelien |
23 |
* DAO la liste des localites. Utilisation d'un cache pour eviter les requetes inutiles
|
12 |
david |
24 |
* @author David Delon
|
|
|
25 |
*
|
|
|
26 |
*/
|
2609 |
aurelien |
27 |
public class ListeReferentielLocaliteAsynchroneDAO {
|
12 |
david |
28 |
|
2609 |
aurelien |
29 |
public static String getUrlReferentielLocalites() {
|
|
|
30 |
return Configuration.getServiceBaseUrl()+"/LocationSearch/";
|
12 |
david |
31 |
}
|
|
|
32 |
}
|