Class PatientAppMgr

java.lang.Object
Common.AppManager
Controllers.AppManagers.PatientAppMgr

public class PatientAppMgr extends AppManager
The PatientAppMgr class manages the functionalities available to patients within the Hospital X System. It provides methods for viewing medical records, managing appointments, and accessing patient-specific services.
  • Constructor Details

    • PatientAppMgr

      public PatientAppMgr()
  • Method Details

    • displayMainPage

      public void displayMainPage()
      Displays the main menu for patients and handles user selections.
      Specified by:
      displayMainPage in class AppManager
    • loadDatabases

      protected void loadDatabases()
      Loads necessary databases for the application.
      Specified by:
      loadDatabases in class AppManager
    • saveDatabases

      protected void saveDatabases()
      Saves all databases to their respective storage formats (e.g., CSV).
      Specified by:
      saveDatabases in class AppManager
    • createManagers

      protected void createManagers()
      Creates instances of managers used in the patient application.
      Specified by:
      createManagers in class AppManager
    • createPages

      protected void createPages()
      Creates instances of UI pages used in the patient application.
      Specified by:
      createPages in class AppManager