373839404142434445464748
this.closeSession(); } if(!mots.isEmpty()){ return mots.get(0); }else{ MotCle m = new MotCle(); m.setLibelle(libelle); this.save(m); return m; }
6061626364656667686970
String motcle = annonceForm.getMotsCles(); String[] tabMotcle = motcle.split(";"); MotCle m; MotCleDao motDao = new MotCleDao(); for(int i=0; i<tabMotcle.length; i++){ m = motDao.getAndCreateByLibelle(tabMotcle[i]); motscles.add(m);