Nueva funcionalidad (vista, controlador y persistencia) de cambiar
medico de familia asignado. Incluidos cambios para utilizar nuvo EJB Common con interfaz local y remota.
This commit is contained in:
@@ -48,9 +48,9 @@ public class ChangePrimaryHealthCareCenterMBean extends ManagedBeanBase implemen
|
||||
this.id = Integer.valueOf(usr.getId());
|
||||
|
||||
if (usr.getUserType() == UserType.FAMILY_DOCTOR) {
|
||||
this.primaryHealthCareCentersList = this.getRemoteManagerSystemAdmin().listAllCAPs();
|
||||
this.primaryHealthCareCentersList = this.getRemoteManagerCommon().listAllCAPs();
|
||||
|
||||
FamilyDoctorTO fd = this.getRemoteManagerProfile().retrieveFamilyDoctor(this.id);
|
||||
FamilyDoctorTO fd = this.getRemoteManagerCommon().retrieveFamilyDoctor(this.id);
|
||||
this.setCurrentCenter(fd.getPrimaryHealthCareCenter());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user