Package data

Examples of data.UserController


    UserController u = new UserController();
    u.deleteUser(id);
    }

  public void resetModel(int id) {
    UserController u = new UserController();
    u.resetModel(id);
  }
View Full Code Here


    public String getPassword() {
        return usuari.getPassword();
    }

  public void addVerbToDict(String s, int id) {
    UserController uc = new UserController();
    uc.addVerbToDict(s,id);
  }
View Full Code Here

    public String getColor(int id) {
    if (id == 0) {
      return "BLUE";
    }
    UserController usrcntrl = new UserController();
        return usrcntrl.getColor(id);
    }
View Full Code Here

   
    public int getSize(int id) {
    if (id == 0) {
      return 14;
    }
        UserController usrcntrl = new UserController();
        return usrcntrl.getSize(id);
    }
View Full Code Here

        return usrcntrl.getSize(id);
    }

    public void setColor(int id, String color) {
    if(id != 0) {
      UserController usrcntrl = new UserController();
      usrcntrl.setColor(id, color);
    }
    }
View Full Code Here

    }
    }
   
    public void setSize(int id, int size) {
    if(id != 0) {
      UserController usrcntrl = new UserController();
      usrcntrl.setSize(id, size);
    }
    }
View Full Code Here

  public int getAssistant(int id) {
    if (id == 0) {
      return 1;
    }
    UserController usrcntrl = new UserController();
    return usrcntrl.getAssistant(id);
  }
View Full Code Here

    return usrcntrl.getAssistant(id);
  }

  public void setAssistant(int id, int boolea) {
    if (id != 0) {
      UserController usrcntrl = new UserController();
      usrcntrl.setAssistant(id, boolea);
    }
  }
View Full Code Here

TOP

Related Classes of data.UserController

Copyright © 2018 www.massapicom. 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.