Class ViewUserProfile

java.lang.Object
main.boundary.account.ViewUserProfile

public class ViewUserProfile extends Object
This class provides a UI for the user to view his/her profile.
  • Constructor Details

    • ViewUserProfile

      public ViewUserProfile()
  • Method Details

    • viewUserProfile

      public static void viewUserProfile(User user)
      Displays the user's profile.
      Parameters:
      user - the user whose profile is to be displayed.
    • viewUserProfilePage

      public static void viewUserProfilePage(User user) throws PageBackException
      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.