Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1417 Rev 1428
Line 32... Line 32...
32
		this.sequenceur = sequenceur;
32
		this.sequenceur = sequenceur;
33
	}
33
	}
Line 34... Line 34...
34
 
34
 
Line 35... Line -...
35
	public abstract void load(TransformateurJSONaModelData<D> reader, Object loadConfig, AsyncCallback<D> callback, String recherche);
-
 
36
 
35
	public abstract void load(TransformateurJSONaModelData<D> reader, Object loadConfig, AsyncCallback<D> callback, String recherche);
37
	@SuppressWarnings("unchecked")
-
 
38
	public void rafraichir(Object nouvellesDonnees) {
-
 
39
		
-
 
40
		try {
-
 
41
			  data = nouvellesDonnees;
-
 
42
			
-
 
43
		      D d = null;
-
 
44
		      if (reader != null) {
-
 
45
		        d = reader.read(loadConfig, data);
-
 
46
		      } else {
-
 
47
		        d = (D) data;
-
 
48
		        if (d instanceof List) {
-
 
49
		          d = (D) new ArrayList((List) d);
-
 
50
		        }
-
 
51
		      }
-
 
52
		      callback.onSuccess(d);
-
 
53
		    } catch (Exception e) {
-
 
54
		      callback.onFailure(e);
-
 
Line 55... Line 36...
55
		 }
36