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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidAllows the coordinator to accept or reject requests.static voidcoordinatorMainPage(User user) Displays the coordinator main page for the given user.private static voidDisplays all requests for the coordinator.static voidDisplays 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.
-