Class AdminAppMgr

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

public class AdminAppMgr extends AppManager
The AdminAppMgr class is responsible for managing the administrative operations of the hospital system. It provides functionalities for managing hospital staff, viewing appointment details, and handling inventory operations.
  • Constructor Details

    • AdminAppMgr

      public AdminAppMgr()
  • Method Details

    • displayMainPage

      public void displayMainPage()
      Displays the main administrative menu and handles user selections until the user chooses to log out.
      Specified by:
      displayMainPage in class AppManager
    • loadDatabases

      protected void loadDatabases()
      Loads the necessary databases for managing accounts, inventory, medical records, and appointment outcomes.
      Specified by:
      loadDatabases in class AppManager
    • saveDatabases

      protected void saveDatabases()
      Saves all changes made to the databases back to their respective CSV files.
      Specified by:
      saveDatabases in class AppManager
    • createManagers

      protected void createManagers()
      Creates instances of various managers used in the application, including account management, staff management, inventory management, and appointment outcome management.
      Specified by:
      createManagers in class AppManager
    • createPages

      protected void createPages()
      Creates instances of various pages used in the application, including pages for managing staff, updating details, viewing appointments, and managing inventory.
      Specified by:
      createPages in class AppManager