Package com.app
Class DB2024TEAM07_UserMain
java.lang.Object
com.app.DB2024TEAM07_UserMain
User interface for logged-in users.
This class provides functionalities such as searching for restaurants,
getting random restaurant recommendations, writing reviews, managing user information,
and logging out.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidshowMenu(DB2024TEAM07_UserManager userManager, String loggedInUsername) Displays the user menu after successful login.private static voidDisplays detailed options after a restaurant search.private static voidDisplays the search menu for finding restaurants.private static voidDisplays the user page menu for managing user information.
-
Constructor Details
-
DB2024TEAM07_UserMain
public DB2024TEAM07_UserMain()
-
-
Method Details
-
showMenu
Displays the user menu after successful login.- Parameters:
userManager- a reference to the UserManager object for user-related operationsloggedInUsername- the username of the currently logged-in user
-
showSearchMenu
private static void showSearchMenu()Displays the search menu for finding restaurants. -
showResDetail
private static void showResDetail()Displays detailed options after a restaurant search. -
showUserPage
private static void showUserPage()Displays the user page menu for managing user information.
-