java.lang.Object
jku.se.Controller.UserDashboardController
Controller for the User Dashboard.
Displays a table of user invoices and a pie chart showing the distribution
of invoice categories (Supermarket vs Restaurant).
Allows navigation to invoice upload, edit, and notification views.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Gets the current user's email address.void
setCurrentUserEmail
(String email) Sets the current user's email and initializes the dashboard data.
-
Constructor Details
-
UserDashboardController
public UserDashboardController()
-
-
Method Details
-
setCurrentUserEmail
Sets the current user's email and initializes the dashboard data.- Parameters:
email
- the email of the current user
-
getCurrentUserEmail
Gets the current user's email address.- Returns:
- the current user's email
-