public void addCursusPro() throws IOException {
        if (isValidIndCursus(CursusPro.class, true)) {
            // on transforme le commentaire pour corriger les caractères spéciaux
            indCursusPojo.getCursus().setComment(indCursusPojo.getCursus().getComment());
            //TODO: Fix this !!
//				org.esupportail.commons.utils.strings.StringUtils
//					.htmlToText(indCursusPojo.getCursus().getComment()));
            if (actionEnum.getWhatAction().equals(ActionEnum.UPDATE_ACTION)) {
                //ajout en base
                addOneCursus(getCurrentInd().getIndividu(), indCursusPojo.getCursus());
                //Ajout dans l'individu courant
                getCurrentInd().getIndividu().getCursus().add(indCursusPojo.getCursus());
            }
            indCursusPojo.addCursus();
            Collections.sort(indCursusPojo.getCursusList(), new ComparatorString(IndCursus.class));
        }
    }
public void addCursusPro() throws IOException {
        if (isValidIndCursus(CursusPro.class, true)) {
                      indCursusPojo.getCursus().setComment(indCursusPojo.getCursus().getComment());
           
            if (actionEnum.getWhatAction().equals(ActionEnum.UPDATE_ACTION)) {
               
                addOneCursus(getCurrentInd().getIndividu(), indCursusPojo.getCursus());
               
                getCurrentInd().getIndividu().getCursus().add(indCursusPojo.getCursus());
            }
            indCursusPojo.addCursus();
            Collections.sort(indCursusPojo.getCursusList(), new ComparatorString(IndCursus.class));
        }
    }
public void addcursuspro() throws ioexception { if (isvalidindcursus(cursuspro.class, true)) { indcursuspojo.getcursus().setcomment(indcursuspojo.getcursus().getcomment()); if (actionenum.getwhataction().equals(actionenum.update_action)) { addonecursus(getcurrentind().getindividu(), indcursuspojo.getcursus()); getcurrentind().getindividu().getcursus().add(indcursuspojo.getcursus()); } indcursuspojo.addcursus(); collections.sort(indcursuspojo.getcursuslist(), new comparatorstring(indcursus.class)); } }