Subversion Repositories eFlore/Applications.coel

Rev

Rev 1329 | Rev 1415 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1329 Rev 1367
Line 7... Line 7...
7
import org.tela_botanica.client.Mediateur;
7
import org.tela_botanica.client.Mediateur;
8
import org.tela_botanica.client.RegistreId;
8
import org.tela_botanica.client.RegistreId;
9
import org.tela_botanica.client.interfaces.Rafraichissable;
9
import org.tela_botanica.client.interfaces.Rafraichissable;
10
import org.tela_botanica.client.modeles.ValeurListe;
10
import org.tela_botanica.client.modeles.ValeurListe;
11
import org.tela_botanica.client.modeles.ValeurListeAsyncDao;
11
import org.tela_botanica.client.modeles.ValeurListeAsyncDao;
-
 
12
import org.tela_botanica.client.synchronisation.Sequenceur;
12
import org.tela_botanica.client.util.Debug;
13
import org.tela_botanica.client.util.Debug;
Line 13... Line 14...
13
 
14
 
14
import com.extjs.gxt.ui.client.Registry;
15
import com.extjs.gxt.ui.client.Registry;
15
import com.extjs.gxt.ui.client.data.BasePagingLoadConfig;
16
import com.extjs.gxt.ui.client.data.BasePagingLoadConfig;
Line 21... Line 22...
21
import com.google.gwt.json.client.JSONString;
22
import com.google.gwt.json.client.JSONString;
22
import com.google.gwt.user.client.rpc.AsyncCallback;
23
import com.google.gwt.user.client.rpc.AsyncCallback;
Line 23... Line 24...
23
 
24
 
Line 24... Line 25...
24
public class ProxyCollections<D> extends Proxy {
25
public class ProxyCollections<D> extends Proxy {
25
	
26
	
26
	public ProxyCollections() {
27
	public ProxyCollections(Sequenceur sequenceur) {
Line 27... Line 28...
27
		super();
28
		super(sequenceur);
28
	}
29
	}
29
	
30
	
30
	@Override
31
	@Override
31
	  public void load(TransformateurJSONaModelData reader, Object loadConfig, AsyncCallback callback, String recherche) {
32
	  public void load(TransformateurJSONaModelData reader, Object loadConfig, AsyncCallback callback, String recherche) {
Line 32... Line 33...
32
		  this.reader = reader;
33
		  this.reader = reader;
-
 
34
		  this.callback = callback;
33
		  this.callback = callback;
35
		  this.loadConfig = loadConfig;
34
		  this.loadConfig = loadConfig;
36
 
Line 35... Line 37...
35
 
37
		  BasePagingLoadConfig lc = (BasePagingLoadConfig)loadConfig;
36
		  BasePagingLoadConfig lc = (BasePagingLoadConfig)loadConfig;		  
38
		  
37
		  mediateur.selectionnerCollection(this, recherche, lc.getOffset(), lc.getLimit());
39
		  mediateur.selectionnerCollection(this, recherche, lc.getOffset(), lc.getLimit(), sequenceur);
Line 38... Line -...
38
	  }
-
 
39
 
-
 
40
 
40
	  }
41
	@Override
41
 
42
	@SuppressWarnings("unchecked")
42
 
43
	public void rafraichir(Object nouvellesDonnees) {
43
	@Override