Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1427 → Rev 1428

/trunk/src/org/tela_botanica/client/composants/pagination/Proxy.java
34,25 → 34,6
 
public abstract void load(TransformateurJSONaModelData<D> reader, Object loadConfig, AsyncCallback<D> callback, String recherche);
 
@SuppressWarnings("unchecked")
public void rafraichir(Object nouvellesDonnees) {
try {
data = nouvellesDonnees;
D d = null;
if (reader != null) {
d = reader.read(loadConfig, data);
} else {
d = (D) data;
if (d instanceof List) {
d = (D) new ArrayList((List) d);
}
}
callback.onSuccess(d);
} catch (Exception e) {
callback.onFailure(e);
}
}
public abstract void rafraichir(Object nouvellesDonnees);
 
}