Package fr.utbm.in56.annonces.dao

Examples of fr.utbm.in56.annonces.dao.AnnonceDao.update()


        Membre repondeur = mDao.getById(idRepondeur);
       
        annonce.setRepondeur(repondeur);
        annonce.setStatut(sDao.getById(3));
       
        dao.update(annonce);
       
        Message message = new Message();
       
        message.setAnnonce(annonce);
        message.setDestinataire(repondeur);
View Full Code Here


       
        Annonce annonce = dao.getById(idAnnonce);
       
        annonce.setStatut(sDao.getById(2));
       
        dao.update(annonce);
       
        return mapping.findForward("default");

    }
}
View Full Code Here

            membre.setVille(inscrireForm.getVille());
            membre.setNom(inscrireForm.getNom());
            membre.setPrenom(inscrireForm.getPrenom());


            dao.update(membre);
            return mapping.findForward("success");

        } else {
            return mapping.findForward("error");
        }
View Full Code Here

       
        Membre membre = (Membre) request.getSession().getAttribute("membre");
       
        if(m.getDestinataire().getId() == membre.getId() ){
            m.setOuvert(true);
            dao.update(m);
           
            request.getSession().setAttribute("unread",dao.getNbUnReadMessageByMember(membre));
        }
               
        SimpleDateFormat dateformatMMDDYYYY = new SimpleDateFormat("MM/dd/yyyy");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.