Package Controllers.AMManagers
Class AdminAM
java.lang.Object
Controllers.AMManagers.AdminAM
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 Summary
ConstructorsConstructorDescriptionAdminAM
(AccountDatabase accountDatabase) Constructs anAdminAM
instance with the specified account database. -
Method Summary
Modifier and TypeMethodDescriptionGets a list of appointments for all doctors managed by this appointment manager.
-
Constructor Details
-
AdminAM
Constructs anAdminAM
instance with the specified account database.- Parameters:
accountDatabase
- theAccountDatabase
used to retrieve doctor accounts
-
-
Method Details
-
getAppointments
Gets a list of appointments for all doctors managed by this appointment manager.- Returns:
- a list of
AppointmentSlot
objects representing scheduled appointments
-