Package main.boundary.mainpage
Class CoordinatorMainPage
java.lang.Object
main.boundary.mainpage.CoordinatorMainPage
This class provides a user interface for coordinators to view their main page.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
Allows the coordinator to accept or reject requests.static void
coordinatorMainPage
(User user) Displays the coordinator main page for the given user.private static void
Displays all requests for the coordinator.static void
Displays the pending requests for the coordinator.
-
Constructor Details
-
CoordinatorMainPage
public CoordinatorMainPage()
-
-
Method Details
-
viewPendingRequests
Displays the pending requests for the coordinator.- Throws:
PageBackException
- if the user chooses to go back to the previous page.
-
viewAllRequests
Displays all requests for the coordinator.- Throws:
PageBackException
- if the user chooses to go back to the previous page.
-
coordinatorMainPage
Displays the coordinator main page for the given user.- Parameters:
user
- the user whose profile is to be displayed.
-
acceptOrRejectRequest
Allows the coordinator to accept or reject requests.- Throws:
PageBackException
- if the user chooses to go back to the previous page.
-