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