Class HandleAppointmentRequestsPage

java.lang.Object
Common.UserInterface
UI.AppointmentPages.HandleAppointmentRequestsPage

public class HandleAppointmentRequestsPage extends UserInterface
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.
  • Constructor Details

    • HandleAppointmentRequestsPage

      public HandleAppointmentRequestsPage(DoctorAM doctorAM, Account doctor)
      Constructs a HandleAppointmentRequestsPage with the specified DoctorAM and Account instances.
      Parameters:
      doctorAM - the manager used to access and manage appointment requests
      doctor - 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.