if(membre != null){
AnnonceDao anDao = new AnnonceDao();
DepartementDao depDao = new DepartementDao();
CategorieDao catDao = new CategorieDao();
Annonce annonce = new Annonce();
annonce.setPublicateur(membre);
annonce.setDateDepot(Calendar.getInstance());
annonce.setDepartement(depDao.getById(annonceForm.getDepartement()));
annonce.setOffre((boolean) annonceForm.isOffre());
annonce.setTitre(annonceForm.getTitre());
annonce.setDescription(annonceForm.getDescription());
annonce.setPrix(annonceForm.getPrix());
annonce.setCategorie(catDao.getById(annonceForm.getCategorie()));
Set<MotCle> motscles = new HashSet<MotCle>();
String motcle = annonceForm.getMotsCles();