|
| TemplateController () |
| Constructor of the TemplateController class, where we register the module for the dates.
|
|
String | showIndex () |
| Gets the index.html template.
|
|
String | showRegistrationForm () |
| Gets the registrationFrom.html template to register.
|
|
String | showLoginForm () |
| Gets the loginForm.html template to log in the page.
|
|
String | showInicio () |
| Gets the homepage.html template.
|
|
String | showInicioPaciente (@PathVariable("dni") String dni, Model model) |
| Gets the patientDataView.html template for a specific patient with their information after they log in.
|
|
String | showInicioDoctor () |
| Gets the doctorHome.html template for the doctors after they log in.
|
|
String | showInicioAdmin () |
| Gets the adminHome.html template for the admin after they log in.
|
|
String | showAppointmentCalendar (@PathVariable String patientId, Model model) throws JsonProcessingException |
| Gets the calendar with the appointments for a specific user in the patientAppointmentView.html template.
|
|
String | showDoctorAppointmentCalendar (@PathVariable String doctorId, Model model) throws JsonProcessingException |
| Gets the calendar with the appointments for a specific doctor in the docAppintmentView.html template.
|
|
◆ TemplateController()
com.hospital.portal.controller.TemplateController.TemplateController |
( |
| ) |
|
|
inline |
Constructor of the TemplateController class, where we register the module for the dates.
◆ showAppointmentCalendar()
String com.hospital.portal.controller.TemplateController.showAppointmentCalendar |
( |
@PathVariable String |
patientId, |
|
|
Model |
model |
|
) |
| throws JsonProcessingException |
|
inline |
Gets the calendar with the appointments for a specific user in the patientAppointmentView.html template.
- Parameters
-
DNI | of the patient |
Model | model to send data to the template |
- Returns
- the name of the HTML template to render (patientAppointmentView.html)
◆ showDoctorAppointmentCalendar()
String com.hospital.portal.controller.TemplateController.showDoctorAppointmentCalendar |
( |
@PathVariable String |
doctorId, |
|
|
Model |
model |
|
) |
| throws JsonProcessingException |
|
inline |
Gets the calendar with the appointments for a specific doctor in the docAppintmentView.html template.
- Parameters
-
DNI | of the doctor |
Model | to send data to the template |
- Returns
- the name of the HTML template to render (docAppointmentView.html)
◆ showIndex()
String com.hospital.portal.controller.TemplateController.showIndex |
( |
| ) |
|
|
inline |
Gets the index.html template.
- Returns
- the name of the HTML template to render (index.html)
◆ showInicio()
String com.hospital.portal.controller.TemplateController.showInicio |
( |
| ) |
|
|
inline |
Gets the homepage.html template.
- Returns
- the name of the HTML template to render (homepage.html)
◆ showInicioAdmin()
String com.hospital.portal.controller.TemplateController.showInicioAdmin |
( |
| ) |
|
|
inline |
Gets the adminHome.html template for the admin after they log in.
- Returns
- the name of the HTML template to render (adminHome.html)
◆ showInicioDoctor()
String com.hospital.portal.controller.TemplateController.showInicioDoctor |
( |
| ) |
|
|
inline |
Gets the doctorHome.html template for the doctors after they log in.
- Returns
- the name of the HTML template to render (doctorHome.html)
◆ showInicioPaciente()
String com.hospital.portal.controller.TemplateController.showInicioPaciente |
( |
@PathVariable("dni") String |
dni, |
|
|
Model |
model |
|
) |
| |
|
inline |
Gets the patientDataView.html template for a specific patient with their information after they log in.
- Parameters
-
DNI | of the patient |
Model | model to send data to the template |
- Returns
- the name of the HTML template to render (patientDataView.html)
◆ showLoginForm()
String com.hospital.portal.controller.TemplateController.showLoginForm |
( |
| ) |
|
|
inline |
Gets the loginForm.html template to log in the page.
- Returns
- the name of the HTML template to render (loginForm.html)
◆ showRegistrationForm()
String com.hospital.portal.controller.TemplateController.showRegistrationForm |
( |
| ) |
|
|
inline |
Gets the registrationFrom.html template to register.
- Returns
- the name of the HTML template to render (registrarionForm.html)
The documentation for this class was generated from the following file: