Uses of Class
com.ehealthsystem.appointment.Appointment
Package
Description
-
Uses of Appointment in com.ehealthsystem.appointment
Modifier and TypeFieldDescription(package private) Appointment
AppointmentController.loadedAppointment
(package private) Appointment
AppointmentMadeController.loadedAppointment
contains the laodedAppointment(package private) static Appointment
AppointmentShiftController.loadedAppointment
the appointment to shift which is loaded in the sceneModifier and TypeMethodDescriptionvoid
AppointmentController.setData
(Appointment appointment) first method that is called when loading the scene.void
AppointmentMadeController.start
(Appointment appointment) first method called when scene is switchedvoid
AppointmentShiftController.start
(Appointment appointment) first method called when switching scenes -
Uses of Appointment in com.ehealthsystem.database
Modifier and TypeMethodDescriptionstatic ArrayList<Appointment>
Database.getDoctorsAppointments
(int doctor, LocalDate date) Get appointments that a doctor already has within a range of days To be used to display a doctor's timetable to the patient, to find a free time for their appointmentstatic ArrayList<Appointment>
Database.getUpcomingAppointmentsWithReminder()
Get upcoming appointments that have a reminder.static ArrayList<Appointment>
Database.getUsersAppointments
(String username) Get a user's past and future appointments, ordered by appointment time (newest first) To be used for the patient to see their appointments.static ArrayList<Appointment>
Database.loadAppointmentsFromResultSet
(ResultSet rs) Helper method to turn result set into array of appointment objects -
Uses of Appointment in com.ehealthsystem.reminder
Modifier and TypeMethodDescriptionstatic void
ReminderScheduler.createReminder
(Appointment appointment) Create a reminder for a given appointment.static void
ReminderScheduler.deleteReminder
(Appointment appointment) Remove a reminder for an appointment.static void
ReminderScheduler.updateReminder
(Appointment appointment) Update the reminder time when an appointment's time was changed (appointment shifted) AppointmentShiftController is responsible for triggering this method to keep the reminder time in sync with the appointment's time Works by deleting a potentially existing reminder and then creating a new reminder for that appointment.ModifierConstructorDescriptionReminderTask
(Appointment appointment) Create a new ReminderTask for an appointment. -
Uses of Appointment in com.ehealthsystem.tools
Modifier and TypeMethodDescriptionstatic void
SceneSwitch.loadAppointmentMadeView
(javafx.event.Event event, Appointment appointment) Switches scene and displays the appointment the user has made. -
Uses of Appointment in com.ehealthsystem.user
Modifier and TypeMethodDescriptionUser.getAppointments()
Wrapper to get users appointments from the user object.