Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
2211 |
arthur |
1 |
package org.tela_botanica.del.client.services.rest.async;
|
|
|
2 |
|
|
|
3 |
import org.tela_botanica.del.client.utils.UtilitairesServiceResultat;
|
|
|
4 |
|
|
|
5 |
import com.google.gwt.json.client.JSONParser;
|
|
|
6 |
|
|
|
7 |
/**
|
|
|
8 |
* Objet passé en paramètre d'un service d'ajout de commentaire
|
|
|
9 |
* @author LIENS
|
|
|
10 |
*
|
|
|
11 |
*/
|
|
|
12 |
public abstract class AjoutCommentaireCallback extends PHPCallback<String>{
|
|
|
13 |
|
|
|
14 |
@Override
|
|
|
15 |
public String parserJSON(String retourService) {
|
|
|
16 |
return UtilitairesServiceResultat.parserRetourAjoutCommentaire(JSONParser.parseStrict(retourService).isObject());
|
|
|
17 |
}
|
|
|
18 |
|
|
|
19 |
}
|