Class AdminAM

java.lang.Object
Controllers.AMManagers.AdminAM

public class AdminAM extends Object
The AdminAM class serves as the Appointment Manager for administrators. It manages appointment-related operations for doctors, retrieving doctor accounts and their scheduled appointments from the account database.
  • Constructor Details

    • AdminAM

      public AdminAM(AccountDatabase accountDatabase)
      Constructs an AdminAM instance with the specified account database.
      Parameters:
      accountDatabase - the AccountDatabase used to retrieve doctor accounts
  • Method Details

    • getAppointments

      public List<AppointmentSlot> getAppointments()
      Gets a list of appointments for all doctors managed by this appointment manager.
      Returns:
      a list of AppointmentSlot objects representing scheduled appointments