116117118119120121122123
UserController u = new UserController(); u.deleteUser(id); } public void resetModel(int id) { UserController u = new UserController(); u.resetModel(id); }
133134135136137138139140
public String getPassword() { return usuari.getPassword(); } public void addVerbToDict(String s, int id) { UserController uc = new UserController(); uc.addVerbToDict(s,id); }
6162636465666768
public String getColor(int id) { if (id == 0) { return "BLUE"; } UserController usrcntrl = new UserController(); return usrcntrl.getColor(id); }
6970717273747576
public int getSize(int id) { if (id == 0) { return 14; } UserController usrcntrl = new UserController(); return usrcntrl.getSize(id); }
757677787980818283
return usrcntrl.getSize(id); } public void setColor(int id, String color) { if(id != 0) { UserController usrcntrl = new UserController(); usrcntrl.setColor(id, color); } }
828384858687888990
} } public void setSize(int id, int size) { if(id != 0) { UserController usrcntrl = new UserController(); usrcntrl.setSize(id, size); } }
9192939495969798
public int getAssistant(int id) { if (id == 0) { return 1; } UserController usrcntrl = new UserController(); return usrcntrl.getAssistant(id); }
979899100101102103104105
return usrcntrl.getAssistant(id); } public void setAssistant(int id, int boolea) { if (id != 0) { UserController usrcntrl = new UserController(); usrcntrl.setAssistant(id, boolea); } }