Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1023 Rev 1040
Line 571... Line 571...
571
			Info.display("Erreur", "Une erreur est survenue dans la méthode clicSupprimerStructure() du Médiateur.");
571
			Info.display("Erreur", "Une erreur est survenue dans la méthode clicSupprimerStructure() du Médiateur.");
572
		}
572
		}
573
	}
573
	}
Line 574... Line 574...
574
	
574
	
-
 
575
	public void selectionnerStructure(Rafraichissable vueARafraichir, String structureId) {
-
 
576
		int nbElements = Integer.valueOf(((Dictionary) Dictionary
-
 
577
				.getDictionary("configuration")).get("nbElementsPage")); 
575
	public void selectionnerStructure(Rafraichissable vueARafraichir, String structureId) {
578
		
-
 
579
		modele.selectionnerStructure(vueARafraichir, getProjetId(), structureId, null, 0, nbElements);
-
 
580
	}
-
 
581
	
-
 
582
	public void selectionnerStructure(Rafraichissable vueARafraichir, String structureId, String projetId, String nom, int start, int nbElements)	{
576
		modele.selectionnerStructure(vueARafraichir, getProjetId(), structureId);
583
		modele.selectionnerStructure(vueARafraichir, getProjetId(), structureId, nom, start, nbElements);
Line 577... Line 584...
577
	}
584
	}
578
	
585
	
579
	public void selectionnerStructureParProjet(Rafraichissable vueARafraichir, String projetId) {
586
	public void selectionnerStructureParProjet(Rafraichissable vueARafraichir, String projetId) {
Line 580... Line 587...
580
		modele.selectionnerStructure(vueARafraichir, projetId, null);
587
		modele.selectionnerStructure(vueARafraichir, projetId, null, null, 0, -1);
581
	}
588
	}
582
	
589
	
Line 938... Line 945...
938
			Info.display("Erreur", "Une erreur est survenue dans la méthode clicSupprimerPersonne() du Médiateur.");
945
			Info.display("Erreur", "Une erreur est survenue dans la méthode clicSupprimerPersonne() du Médiateur.");
939
		}
946
		}
940
	}
947
	}
Line 941... Line 948...
941
 
948
 
942
	public void selectionnerPersonne(Rafraichissable vueARafraichir, Personne personne, String projetId)	{
949
	public void selectionnerPersonne(Rafraichissable vueARafraichir, Personne personne, String projetId)	{
-
 
950
		int nbElements = Integer.valueOf(((Dictionary) Dictionary
943
		int nbElements = Integer.valueOf(((Dictionary) Dictionary.getDictionary("configuration")).get("nbElementsPage")); 
951
				.getDictionary("configuration")).get("nbElementsPage")); 
944
		selectionnerPersonne(vueARafraichir, personne, projetId, 0, nbElements);
952
		selectionnerPersonne(vueARafraichir, personne, projetId, 0, nbElements);
Line 945... Line 953...
945
	}
953
	}
946
	
954
	
-
 
955
	public void selectionnerPersonne(Rafraichissable vueARafraichir, Personne personne, String projetId, int start, int nbElements)	{
947
	public void selectionnerPersonne(Rafraichissable vueARafraichir, Personne personne, String projetId, int start, int nbElements)	{
956
		String personneId = null;
948
		String personneId = null;
957
		String personneNom = null;
-
 
958
		if (personne != null)	{
949
		if (personne != null)	{
959
			personneId = personne.getId();
950
			personneId = personne.getId();
960
			personneNom = personne.getNom();
951
		}
961
		}
Line 952... Line 962...
952
		modele.selectionnerPersonne(vueARafraichir, personneId, projetId, null, start, nbElements);
962
		modele.selectionnerPersonne(vueARafraichir, personneId, projetId, personneNom, start, nbElements);
953
	}
963
	}
954
	
964