Uses of Class
com.ehealthsystem.appointment.Appointment
Packages that use Appointment
Package
Description
-
Uses of Appointment in com.ehealthsystem.appointment
Fields in com.ehealthsystem.appointment declared as AppointmentModifier and TypeFieldDescription(package private) AppointmentAppointmentController.loadedAppointment(package private) AppointmentAppointmentMadeController.loadedAppointmentcontains the laodedAppointment(package private) static AppointmentAppointmentShiftController.loadedAppointmentthe appointment to shift which is loaded in the sceneMethods in com.ehealthsystem.appointment with parameters of type AppointmentModifier and TypeMethodDescriptionvoidAppointmentController.setData(Appointment appointment) first method that is called when loading the scene.voidAppointmentMadeController.start(Appointment appointment) first method called when scene is switchedvoidAppointmentShiftController.start(Appointment appointment) first method called when switching scenes -
Uses of Appointment in com.ehealthsystem.database
Methods in com.ehealthsystem.database that return types with arguments of type AppointmentModifier 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
Fields in com.ehealthsystem.reminder declared as AppointmentMethods in com.ehealthsystem.reminder with parameters of type AppointmentModifier and TypeMethodDescriptionstatic voidReminderScheduler.createReminder(Appointment appointment) Create a reminder for a given appointment.static voidReminderScheduler.deleteReminder(Appointment appointment) Remove a reminder for an appointment.static voidReminderScheduler.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.Constructors in com.ehealthsystem.reminder with parameters of type AppointmentModifierConstructorDescriptionReminderTask(Appointment appointment) Create a new ReminderTask for an appointment. -
Uses of Appointment in com.ehealthsystem.tools
Methods in com.ehealthsystem.tools with parameters of type AppointmentModifier and TypeMethodDescriptionstatic voidSceneSwitch.loadAppointmentMadeView(javafx.event.Event event, Appointment appointment) Switches scene and displays the appointment the user has made. -
Uses of Appointment in com.ehealthsystem.user
Methods in com.ehealthsystem.user that return types with arguments of type AppointmentModifier and TypeMethodDescriptionUser.getAppointments()Wrapper to get users appointments from the user object.