Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1468 → Rev 1526

/trunk/src/org/tela_botanica/client/composants/pagination/ProxyProjets.java
38,26 → 38,25
this.callback = callback;
this.loadConfig = loadConfig;
 
BasePagingLoadConfig lc = (BasePagingLoadConfig)loadConfig;
BasePagingLoadConfig lc = (BasePagingLoadConfig) loadConfig;
if (UtilString.isNumber(recherche, false)) mediateur.selectionnerProjet(this, recherche, "array", true, sequenceur);
else mediateur.selectionnerProjet(this, recherche, lc.getOffset(), lc.getLimit(), sequenceur);
if (UtilString.isNumber(recherche, false)) {
mediateur.selectionnerProjet(this, recherche, "array", true, sequenceur);
} else {
mediateur.selectionnerProjet(this, recherche, lc.getOffset(), lc.getLimit(), sequenceur);
}
}
@Override
@SuppressWarnings("unchecked")
public void rafraichir(Object nouvellesDonnees) {
try
{
try {
data = nouvellesDonnees;
D d = null;
 
if (reader != null)
{
if (reader != null) {
d = (D) reader.read(loadConfig, data);
}
else
{
} else {
d = (D) data;
if (d instanceof List)
{
66,11 → 65,8
}
 
callback.onSuccess(d);
}
catch (Exception e)
{
} catch (Exception e) {
callback.onFailure(e);
}
}
 
}
}