Class AdminAOM

java.lang.Object
Common.AppointmentOutcomeManager
Controllers.AOManagers.AdminAOM

public class AdminAOM extends AppointmentOutcomeManager
The AdminAOM class serves as the Appointment Outcome Manager for administrators. It provides functionalities to view appointment outcomes from the appointment outcome database.
  • Constructor Details

  • Method Details

    • viewOutcome

      public boolean viewOutcome(String appointmentId)
      Views an appointment outcome by its unique identifier.
      Parameters:
      appointmentId - the unique identifier of the appointment whose outcome is to be viewed
      Returns:
      true if the outcome was found and printed; false if no outcome exists for the given ID
    • viewAllOutcome

      public boolean viewAllOutcome()
      Views all appointment outcomes in the database.
      Returns:
      true if outcomes were found and printed; false if no outcomes exist