Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1613 Rev 1616
Line 2101... Line 2101...
2101
			controlerFermeture();
2101
			controlerFermeture();
2102
		} else if (info.getType().equals("ajout_structure")) {
2102
		} else if (info.getType().equals("ajout_structure")) {
2103
			if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) {
2103
			if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) {
2104
				String structureId = (String) info.getDonnee(0);
2104
				String structureId = (String) info.getDonnee(0);
2105
				InfoLogger.display("Ajout d'une Institution", "L'intitution '"+structureId+"' a bien été ajoutée");
2105
				InfoLogger.display("Ajout d'une Institution", "L'intitution '"+structureId+"' a bien été ajoutée");
2106
			
-
 
-
 
2106
				structure.setId(structureId);
2107
				// Suite à la récupération de l'id de l'institution nouvellement ajoutée nous ajoutons le personnel
2107
				// Suite à la récupération de l'id de l'institution nouvellement ajoutée nous ajoutons le personnel
2108
				mediateur.ajouterStructureAPersonne(this, structureId, personnelAjoute);
2108
				mediateur.ajouterStructureAPersonne(this, structureId, personnelAjoute);
-
 
2109
				this.mode = MODE_MODIFIER;
2109
			} else {
2110
			} else {
2110
				InfoLogger.display("Ajout d'une Institution", info.toString());
2111
				InfoLogger.display("Ajout d'une Institution", info.toString());
2111
			}
2112
			}
2112
		} else if (info.getType().equals("modif_structure_a_personne")) {
2113
		} else if (info.getType().equals("modif_structure_a_personne")) {
2113
			InfoLogger.display("Modification du Personnel", info.toString());
2114
			InfoLogger.display("Modification du Personnel", info.toString());