Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1173 Rev 1329
Line 2... Line 2...
2
 
2
 
3
import org.tela_botanica.client.Mediateur;
3
import org.tela_botanica.client.Mediateur;
4
import org.tela_botanica.client.modeles.aDonnee;
4
import org.tela_botanica.client.modeles.aDonnee;
5
import org.tela_botanica.client.modeles.collection.Collection;
5
import org.tela_botanica.client.modeles.collection.Collection;
-
 
6
import org.tela_botanica.client.modeles.collection.CollectionACommentaire;
Line 6... Line 7...
6
import org.tela_botanica.client.modeles.collection.CollectionACommentaire;
7
import org.tela_botanica.client.util.Debug;
Line 7... Line 8...
7
 
8
 
Line 26... Line 27...
26
		initialiserCommentaire(commentaire, chargerCollectionACommentaire);
27
		initialiserCommentaire(commentaire, chargerCollectionACommentaire);
27
	}
28
	}
Line 28... Line 29...
28
	
29
	
29
	public void initialiserCommentaire(JSONObject commentaire, boolean chargerCollectionACommentaire) {
30
	public void initialiserCommentaire(JSONObject commentaire, boolean chargerCollectionACommentaire) {
-
 
31
		initialiserModele(commentaire);
30
		initialiserModele(commentaire);
32
		
-
 
33
		collection = new Collection(commentaire);
31
		collection = new Collection(commentaire);
34
		
32
		if (chargerCollectionACommentaire) {
35
		if (chargerCollectionACommentaire) {
33
			collectionACommentaire = new CollectionACommentaire(commentaire);
36
			collectionACommentaire = new CollectionACommentaire(commentaire);
34
		} else {
37
		} else {
35
			collectionACommentaire = new CollectionACommentaire();
38
			collectionACommentaire = new CollectionACommentaire();