| Line 4... |
Line 4... |
| 4 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
4 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
| 5 |
import org.tela_botanica.client.modeles.objets.Configuration;
|
5 |
import org.tela_botanica.client.modeles.objets.Configuration;
|
| 6 |
import org.tela_botanica.client.modeles.objets.Utilisateur;
|
6 |
import org.tela_botanica.client.modeles.objets.Utilisateur;
|
| Line 7... |
Line 7... |
| 7 |
|
7 |
|
| 8 |
import com.google.gwt.http.client.Request;
|
8 |
import com.google.gwt.http.client.Request;
|
| 9 |
import com.google.gwt.http.client.RequestBuilder;
|
9 |
import org.tela_botanica.client.util.RequestBuilderWithCredentials;
|
| 10 |
import com.google.gwt.http.client.RequestCallback;
|
10 |
import com.google.gwt.http.client.RequestCallback;
|
| 11 |
import com.google.gwt.http.client.RequestException;
|
11 |
import com.google.gwt.http.client.RequestException;
|
| 12 |
import com.google.gwt.http.client.Response;
|
12 |
import com.google.gwt.http.client.Response;
|
| 13 |
import com.google.gwt.json.client.JSONParser;
|
13 |
import com.google.gwt.json.client.JSONParser;
|
| Line 67... |
Line 67... |
| 67 |
}
|
67 |
}
|
| 68 |
}
|
68 |
}
|
| 69 |
}
|
69 |
}
|
| Line 70... |
Line 70... |
| 70 |
|
70 |
|
| 71 |
// on fait un get asynchrone
|
71 |
// on fait un get asynchrone
|
| 72 |
RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, Configuration.getServiceBaseUrl()
|
72 |
RequestBuilderWithCredentials rb = new RequestBuilderWithCredentials(RequestBuilderWithCredentials.GET, Configuration.getServiceBaseUrl()
|
| 73 |
+ "/InventoryImageCount/"
|
73 |
+ "/InventoryImageCount/"
|
| 74 |
+ Utilisateur.getInstance().getIdentifiantUtilisateurConsulte()
|
74 |
+ Utilisateur.getInstance().getIdentifiantUtilisateurConsulte()
|
| 75 |
+ "/?"
|
75 |
+ "/?"
|
| 76 |
+ requete);
|
76 |
+ requete);
|