Ejemplo n.º 1
0
  public UserData getLoggedUser() {

    bean.setUserName("admin");
    bean.setPermission("Admin");
    bean.setUserAdmin("admin");

    return bean;
  }
Ejemplo n.º 2
0
  public UserData getExistentUserBean() {

    String firstName = "daniella";
    String lastName = "bezerra";
    String email = "*****@*****.**";
    String permission = "admin";
    String password = "******";
    String countryCode = "55";
    String areaCode = "92";
    String phoneNumber = "21239735";
    String user = "******";

    bean.setUserName(user);
    bean.setFirstName(firstName);
    bean.setLastName(lastName);
    bean.setEmail(email);
    bean.setPermission(permission);
    bean.setCountryCode(countryCode);
    bean.setAreaCode(areaCode);
    bean.setPhoneNumber(phoneNumber);
    bean.setPassword(password);

    return bean;
  }
Ejemplo n.º 3
0
  public UserData getUpdateUserBean() {

    String firstName = "antonietolisty";
    String lastName = "aguiar";
    String email = "*****@*****.**";
    String permission = "admin";
    String password = "******";
    String countryCode = "55";
    String areaCode = "92";
    String phoneNumber = "21239735";
    String user = "******";

    bean.setUserName(user);
    bean.setFirstName(firstName);
    bean.setLastName(lastName);
    bean.setEmail(email);
    bean.setPermission(permission);
    bean.setCountryCode(countryCode);
    bean.setAreaCode(areaCode);
    bean.setPhoneNumber(phoneNumber);
    bean.setPassword(password);

    return bean;
  }
Ejemplo n.º 4
0
  public UserData getInvalidUser() {

    bean.setUserName(null);

    return bean;
  }