21,6 → 21,7 |
import com.extjs.gxt.ui.client.data.ModelData; |
import com.google.gwt.json.client.JSONObject; |
import com.google.gwt.json.client.JSONString; |
import com.google.gwt.user.client.Window; |
import com.google.gwt.user.client.rpc.AsyncCallback; |
|
public class ProxyCollectionAPublication<D> extends Proxy { |
34,17 → 35,18 |
} |
|
@Override |
public void load(TransformateurJSONaModelData reader, Object loadConfig, AsyncCallback callback, String recherche) { |
this.reader = reader; |
this.callback = callback; |
this.loadConfig = loadConfig; |
public void load(TransformateurJSONaModelData reader, Object loadConfig, AsyncCallback callback, String recherche) { |
this.reader = reader; |
this.callback = callback; |
this.loadConfig = loadConfig; |
|
BasePagingLoadConfig lc = (BasePagingLoadConfig)loadConfig; |
|
if (!UtilString.isEmpty(this.collectionId)) { |
BasePagingLoadConfig lc = (BasePagingLoadConfig)loadConfig; |
if (this.collectionId != null && !UtilString.isEmpty(this.collectionId)) { |
mediateur.selectionnerCollectionAPublication(this, this.collectionId, recherche, lc.getOffset(), lc.getLimit(), sequenceur); |
} else { |
this.rafraichir(null); |
} |
} |
} |
|
@Override |
@SuppressWarnings("unchecked") |