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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidviewUserProfile(User user) Displays the user's profile.static voidviewUserProfilePage(User user) Displays the user's profile.
- 
Constructor Details- 
ViewUserProfilepublic ViewUserProfile()
 
- 
- 
Method Details- 
viewUserProfileDisplays the user's profile.- Parameters:
- user- the user whose profile is to be displayed.
 
- 
viewUserProfilePageDisplays 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.
 
 
-