Package main.boundary.account
Class ViewUserProfile
java.lang.Object
main.boundary.account.ViewUserProfile
This class provides a UI for the user to view his/her profile.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
viewUserProfile
(User user) Displays the user's profile.static void
viewUserProfilePage
(User user) Displays the user's profile.
-
Constructor Details
-
ViewUserProfile
public ViewUserProfile()
-
-
Method Details
-
viewUserProfile
Displays the user's profile.- Parameters:
user
- the user whose profile is to be displayed.
-
viewUserProfilePage
Displays the user's profile.- Parameters:
user
- the user whose profile is to be displayed.- Throws:
PageBackException
- if the user chooses to go back to the previous page.
-