Subversion Repositories eFlore/Applications.cel

Rev

Rev 1293 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1293 Rev 1918
Line 3... Line 3...
3
import org.tela_botanica.client.modeles.objets.Configuration;
3
import org.tela_botanica.client.modeles.objets.Configuration;
4
import org.tela_botanica.client.modeles.objets.Utilisateur;
4
import org.tela_botanica.client.modeles.objets.Utilisateur;
5
import org.tela_botanica.client.observation.ObservationModele;
5
import org.tela_botanica.client.observation.ObservationModele;
Line 6... Line 6...
6
 
6
 
7
import com.google.gwt.http.client.Request;
7
import com.google.gwt.http.client.Request;
8
import com.google.gwt.http.client.RequestBuilder;
8
import org.tela_botanica.client.util.RequestBuilderWithCredentials;
9
import com.google.gwt.http.client.RequestCallback;
9
import com.google.gwt.http.client.RequestCallback;
10
import com.google.gwt.http.client.RequestException;
10
import com.google.gwt.http.client.RequestException;
Line 11... Line 11...
11
import com.google.gwt.http.client.Response;
11
import com.google.gwt.http.client.Response;
Line 18... Line 18...
18
		oModele = observationModele;
18
		oModele = observationModele;
19
	}
19
	}
Line 20... Line 20...
20
 
20
 
Line 21... Line 21...
21
	public void importerObservations() {
21
	public void importerObservations() {
22
		
22
		
Line 23... Line 23...
23
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, Configuration.getServiceBaseUrl()
23
		RequestBuilderWithCredentials rb = new RequestBuilderWithCredentials(RequestBuilderWithCredentials.GET, Configuration.getServiceBaseUrl()
24
				+ "/InventoryImport/" + Utilisateur.getInstance().getIdentifiantUtilisateurConsulte());
24
				+ "/InventoryImport/" + Utilisateur.getInstance().getIdentifiantUtilisateurConsulte());