Package UI.AppointmentPages
Class HandleAppointmentRequestsPage
java.lang.Object
Common.UserInterface
UI.AppointmentPages.HandleAppointmentRequestsPage
The
HandleAppointmentRequestsPage
class provides functionality for
handling appointment requests for a doctor. It extends UserInterface
and interacts with the DoctorAM
manager to manage appointment requests.-
Field Summary
Fields inherited from class Common.UserInterface
scanner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Displays requested appointment slots and allows the doctor to accept or reject appointments.Methods inherited from class Common.UserInterface
displayError, displaySuccess, getIntInput, getNumericString, getValidatedInt, getValidatedString, pauseAndView
-
Constructor Details
-
HandleAppointmentRequestsPage
- Parameters:
doctorAM
- the manager used to access and manage appointment requestsdoctor
- the account of the doctor handling the requests
-
-
Method Details
-
handleAppointmentRequests
public void handleAppointmentRequests()Displays requested appointment slots and allows the doctor to accept or reject appointments. It retrieves available slots, displays them, and handles user input for managing appointment requests.
-