Mejoras en el login, y mock para pantallas de componente profile.

This commit is contained in:
mgarcianun
2019-12-04 23:39:21 +01:00
parent a30468fb96
commit 96c514f8a5
17 changed files with 512 additions and 216 deletions

View File

@@ -140,6 +140,10 @@ public class RegisterUserMBean extends ProfileMBeanBase implements Serializable
return (UserType.valueOf(this.userType) == UserType.SPECIALIST_DOCTOR);
}
public boolean isDoctor() {
return (isFamilyDoctor() || isSpecialistDoctor());
}
public String getEmail() {
return email;
}
@@ -187,7 +191,7 @@ public class RegisterUserMBean extends ProfileMBeanBase implements Serializable
public void setId(Integer id) {
this.id = id;
}
public void addNewUser() {
int error = 0;