for(SysMenu menu:listMenu){
SysAccessUserId sysAccessUserId = new SysAccessUserId();
sysAccessUserId.setIdAdherent(user.getId().getIdAdherent());
sysAccessUserId.setIdUser(user.getId().getIdUser());
sysAccessUserId.setIdMenu(menu.getIdMenu());
SysAccessUser sysAccessUser=(SysAccessUser) this.find(SysAccessUser.class, sysAccessUserId, em);
if(sysAccessUser!=null)sysAccessUser.setIsAccept(menu.isSelected()?"True":"False");
if(sysAccessUser==null) sysAccessUser=new SysAccessUser(sysAccessUserId,menu,sysUsers,menu.isSelected()?"True":"False");
persist(sysAccessUser, em);
}
tx.commit();
return new Resultat(true,"Validation effectuee avec succes");
}catch(Exception e){