Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 708 Rev 712
Line 1... Line 1...
1
package org.tela_botanica.client.modeles;
1
package org.tela_botanica.client.modeles;
Line 2... Line 2...
2
 
2
 
-
 
3
import com.google.gwt.json.client.JSONArray;
3
import com.google.gwt.json.client.JSONArray;
4
import com.google.gwt.json.client.JSONArray;
-
 
5
import com.google.gwt.json.client.JSONObject;
Line 4... Line 6...
4
import com.google.gwt.json.client.JSONObject;
6
import com.google.gwt.user.client.Window;
Line 5... Line 7...
5
 
7
 
Line 13... Line 15...
13
	
15
	
14
	public PublicationListe(int taille) {
16
	public PublicationListe(int taille) {
15
		super(taille);
17
		super(taille);
Line -... Line 18...
-
 
18
	}
-
 
19
	
-
 
20
	/**
-
 
21
	 * Constructeur pour une liste d'institutions
16
	}
22
	 * @param dates
-
 
23
	 */
17
	
24
	public PublicationListe(JSONArray publications) {
Line 18... Line 25...
18
	public PublicationListe(JSONArray publicationListe) {
25
 
19
		super(publicationListe.size());
26
		super(publications.size());
20
		
27
		
Line 21... Line 28...
21
		final int taillemax = publicationListe.size();
28
		int taille = publications.size();
22
		for (int i = 0; i < taillemax; i++) {
29
		for (int i = 0; i < taille; i++) {
23
			JSONObject publicationCourante = publicationListe.get(i).isObject() ;
30
			JSONObject publicationCourante = publications.get(i).isObject() ;
24
			
31