Rev 941 |
Details |
Compare with Previous |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 515 |
aurelien |
1 |
package org.tela_botanica.del.client.services.rest.async;
|
|
|
2 |
|
|
|
3 |
import org.tela_botanica.del.client.modeles.Utilisateur;
|
|
|
4 |
import org.tela_botanica.del.client.utils.UtilitairesServiceResultat;
|
|
|
5 |
|
|
|
6 |
import com.google.gwt.json.client.JSONParser;
|
| 2077 |
mathias |
7 |
import com.google.gwt.user.client.Window;
|
| 515 |
aurelien |
8 |
|
| 941 |
benjamin |
9 |
/**
|
|
|
10 |
* Objet passé en paramètre d'un service de recuperation d'un utilisateur
|
|
|
11 |
* @author LIENS
|
|
|
12 |
*
|
|
|
13 |
*/
|
| 939 |
benjamin |
14 |
public abstract class UtilisateurCallback extends PHPCallback<Utilisateur> {
|
| 515 |
aurelien |
15 |
|
|
|
16 |
@Override
|
| 939 |
benjamin |
17 |
public Utilisateur parserJSON(String retourService) {
|
| 2077 |
mathias |
18 |
Utilisateur util = UtilitairesServiceResultat.parserUtilisateurJson(JSONParser.parseStrict(retourService));
|
|
|
19 |
|
|
|
20 |
return util;
|
| 515 |
aurelien |
21 |
}
|
|
|
22 |
|
|
|
23 |
}
|