Package Controllers.AppManagers
Class DoctorAppMgr
java.lang.Object
Common.AppManager
Controllers.AppManagers.DoctorAppMgr
The
DoctorAppMgr
class manages the functionalities available to doctors
within the Hospital X System. It provides methods for managing patient medical records,
handling appointments, and accessing doctor-specific services.-
Field Summary
Fields inherited from class Common.AppManager
account, accountDatabase, accountManager, appointmentOutcomeDatabase, doctorSchedule, inventoryDatabase, inventoryRequestDatabase, medicalRecordDatabase, role, updateDetailsPage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Creates instances of managers used in the doctor application.protected void
Creates instances of UI pages used in the doctor application.void
Displays the main menu for doctors and handles user selections.protected void
Loads necessary databases for the application.protected void
Saves all databases to their respective storage formats (e.g., CSV).Methods inherited from class Common.AppManager
getRole, logIn, logOut, settings
-
Constructor Details
-
DoctorAppMgr
public DoctorAppMgr()
-
-
Method Details
-
displayMainPage
public void displayMainPage()Displays the main menu for doctors and handles user selections.- Specified by:
displayMainPage
in classAppManager
-
loadDatabases
protected void loadDatabases()Loads necessary databases for the application.- Specified by:
loadDatabases
in classAppManager
-
saveDatabases
protected void saveDatabases()Saves all databases to their respective storage formats (e.g., CSV).- Specified by:
saveDatabases
in classAppManager
-
createManagers
protected void createManagers()Creates instances of managers used in the doctor application.- Specified by:
createManagers
in classAppManager
-
createPages
protected void createPages()Creates instances of UI pages used in the doctor application.- Specified by:
createPages
in classAppManager
-