@Override
 /** Elimina l'utente con id corrispondente */
 public String execute() {
   userManager.delete(getId());
   return SUCCESS;
 }
示例#2
0
 public String doDeleteUser(User e) {
   dao.delete(e.getId());
   return "listUser.xhtml";
 }