Class CoordinatorMainPage

java.lang.Object
main.boundary.mainpage.CoordinatorMainPage

public class CoordinatorMainPage extends Object
This class provides a user interface for coordinators to view their main page.
  • Constructor Details

    • CoordinatorMainPage

      public CoordinatorMainPage()
  • Method Details

    • viewPendingRequests

      public static void viewPendingRequests() throws PageBackException
      Displays the pending requests for the coordinator.
      Throws:
      PageBackException - if the user chooses to go back to the previous page.
    • viewAllRequests

      private static void viewAllRequests() throws PageBackException
      Displays all requests for the coordinator.
      Throws:
      PageBackException - if the user chooses to go back to the previous page.
    • coordinatorMainPage

      public static void coordinatorMainPage(User user)
      Displays the coordinator main page for the given user.
      Parameters:
      user - the user whose profile is to be displayed.
    • acceptOrRejectRequest

      private static void acceptOrRejectRequest() throws PageBackException
      Allows the coordinator to accept or reject requests.
      Throws:
      PageBackException - if the user chooses to go back to the previous page.