Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addAdministrator(String, String, String, boolean) - Method in class jku.se.Administrator
-
Adds a new administrator to the system.
- addAdminNotification(Notification) - Static method in class jku.se.repository.AdminNotificationRepository
- AddAdminUserController - Class in jku.se.Controller
-
Controller for adding new users or administrators in the Lunchify system.
- AddAdminUserController() - Constructor for class jku.se.Controller.AddAdminUserController
- addDeletedNotification(String, String) - Static method in class jku.se.repository.DeletedNotificationRepository
-
Adds a deleted notification message to the database.
- addImage(BufferedImage, float, float, float, float) - Method in class jku.se.export.PdfExporter
-
Insert an image into the PDF.
- addImageAndMovePosition(BufferedImage, float, float, float, float) - Method in class jku.se.export.PdfExporter
-
Helper method: Insert image and shift yPosition down so that the following text is underneath.
- AddInvoiceController - Class in jku.se.Controller
-
Controller for adding invoices via manual entry or OCR.
- AddInvoiceController() - Constructor for class jku.se.Controller.AddInvoiceController
- addNotification(Notification) - Method in class jku.se.Utilities.NotificationManager
- addNotificationForUser(String, Notification) - Method in class jku.se.Utilities.NotificationManager
-
Adds a notification for a specific user.
- addParagraph(String) - Method in class jku.se.export.PdfExporter
-
Adds a simple paragraph of text to the PDF using a regular font.
- addTable(List<String>, List<List<String>>) - Method in class jku.se.export.PdfExporter
-
Adds a table with headers and rows to the PDF.
- addTitle(String) - Method in class jku.se.export.PdfExporter
-
Adds a title to the PDF using a bold font and larger font size.
- addUser(String, String, String, boolean) - Method in class jku.se.Administrator
-
Adds a new user to the system.
- addUser(User) - Static method in class jku.se.repository.UserRepository
-
Adds a new user to the database.
- AdminDashboardController - Class in jku.se.Controller
-
Controller for the admin dashboard.
- AdminDashboardController() - Constructor for class jku.se.Controller.AdminDashboardController
- AdminInvoiceManagementController - Class in jku.se.Controller
-
Controller class for admin invoice management.
- AdminInvoiceManagementController() - Constructor for class jku.se.Controller.AdminInvoiceManagementController
- Administrator - Class in jku.se
-
Represents an administrator user with extended permissions.
- Administrator(String, String, String) - Constructor for class jku.se.Administrator
-
Constructs an Administrator object.
- AdminNotificationRepository - Class in jku.se.repository
- AdminNotificationRepository() - Constructor for class jku.se.repository.AdminNotificationRepository
- amount - Variable in class jku.se.CloudOCRService.OCRResult
- amountField - Variable in class jku.se.Controller.AddInvoiceController
- analyzeImage(File) - Method in class jku.se.CloudOCRService
-
Analyzes an image using Google Cloud Vision API and extracts structured information.
- AnomalyDetection - Class in jku.se
-
Utility class for detecting mismatches between OCR-extracted data and manually entered invoice data.
- AnomalyDetection() - Constructor for class jku.se.AnomalyDetection
- API_KEY - Static variable in class jku.se.DatabaseConnection
- approve() - Method in class jku.se.Invoice
-
Marks the invoice as approved.
- APPROVED - Enum constant in enum class jku.se.Status
- approveInvoice(Invoice) - Method in class jku.se.Administrator
-
Approves an invoice by setting its status to APPROVED and updating the database.
B
- BaseStatisticController - Class in jku.se.Controller
-
Abstract base controller class for exporting statistical data in various formats (PDF, CSV, JSON).
- BaseStatisticController() - Constructor for class jku.se.Controller.BaseStatisticController
- BUCKET - Static variable in class jku.se.DatabaseConnection
- buildRequestJson(String) - Method in class jku.se.CloudOCRService
-
Builds the JSON request body for the OCR API.
C
- calculateRefund() - Method in class jku.se.Invoice
-
Calculates the actual refund based on category rules and invoice amount.
- category - Variable in class jku.se.CloudOCRService.OCRResult
- Category - Enum Class in jku.se
-
Enum representing the type of invoice category.
- categoryCombo - Variable in class jku.se.Controller.AddInvoiceController
- ChangeReimbursementController - Class in jku.se.Controller
-
Controller class for managing the reimbursement rates of invoice categories (e.g., restaurant, supermarket).
- ChangeReimbursementController() - Constructor for class jku.se.Controller.ChangeReimbursementController
- clearAllDeletedNotifications() - Static method in class jku.se.repository.DeletedNotificationRepository
-
Clears all deleted notifications for all users.
- clearAllDeletedNotifications() - Method in class jku.se.Utilities.NotificationManager
- clearAllNotifications() - Method in class jku.se.Utilities.NotificationManager
-
Clears all notifications.
- clearDeletedNotificationsForUser(String) - Static method in class jku.se.repository.DeletedNotificationRepository
-
Clears all deleted notifications for a specific user.
- clearDeletedNotificationsForUser(String) - Method in class jku.se.Utilities.NotificationManager
-
Clears the deleted notifications list.
- clearMessages() - Static method in class jku.se.Notification
-
Clears the list of all sent messages (mainly for tests/debugging).
- clearUserNotifications(String) - Method in class jku.se.Utilities.NotificationManager
-
Clears all notifications for a specific user.
- CloudOCRService - Class in jku.se
-
Service class for performing OCR (Optical Character Recognition) using Google Cloud Vision API.
- CloudOCRService() - Constructor for class jku.se.CloudOCRService
- CloudOCRService.OCRResult - Class in jku.se
-
Inner class to encapsulate OCR results.
- correct(double, Category, LocalDate) - Method in class jku.se.Invoice
-
Updates the invoice with new values and sets it back to processing status.
- correctInvoice(Invoice, double, Category, LocalDate) - Method in class jku.se.Administrator
-
Corrects invoice data such as amount, category, or date.
- CsvExporter - Class in jku.se.export
-
Utility class for exporting tabular data to CSV format.
- CsvExporter() - Constructor for class jku.se.export.CsvExporter
-
Default constructor using semicolon as delimiter (common in AT/DE Excel).
- CsvExporter(String) - Constructor for class jku.se.export.CsvExporter
-
Constructor allowing custom delimiter.
- customRefundAmount - Variable in enum class jku.se.Category
D
- DatabaseConnection - Class in jku.se
-
Utility class for establishing a connection to the database and handling file uploads to Supabase bucket storage.
- DatabaseConnection() - Constructor for class jku.se.DatabaseConnection
- date - Variable in class jku.se.CloudOCRService.OCRResult
- datePicker - Variable in class jku.se.Controller.AddInvoiceController
- declined() - Method in class jku.se.Invoice
-
Marks the invoice as declined.
- DECLINED - Enum constant in enum class jku.se.Status
- declinedInvoice(Invoice) - Method in class jku.se.Administrator
-
Declines an invoice by setting its status to DECLINED and updating the database.
- deleteAdminNotification(String) - Static method in class jku.se.repository.AdminNotificationRepository
- DeleteAdminUserController - Class in jku.se.Controller
-
Controller class for handling the deletion of users (Admin or User) from the system.
- DeleteAdminUserController() - Constructor for class jku.se.Controller.DeleteAdminUserController
- DeletedNotificationRepository - Class in jku.se.repository
-
Repository for managing deleted notifications in the database.
- DeletedNotificationRepository() - Constructor for class jku.se.repository.DeletedNotificationRepository
- deleteInvoice(Invoice) - Static method in class jku.se.repository.InvoiceRepository
-
Deletes a specific invoice from the database.
- deleteUser(String) - Method in class jku.se.Administrator
-
Deletes a user or administrator from the system.
- deleteUser(String) - Static method in class jku.se.repository.UserRepository
-
Deletes a user by their email address.
- detectCategory(String) - Method in class jku.se.CloudOCRService
-
Attempts to detect whether the receipt belongs to a restaurant or supermarket.
- detectMismatch(Invoice) - Static method in class jku.se.AnomalyDetection
-
Detects mismatches between OCR-extracted fields and actual invoice fields.
E
- EditInvoiceController - Class in jku.se.Controller
-
Controller for editing declined invoices.
- EditInvoiceController() - Constructor for class jku.se.Controller.EditInvoiceController
- encodeImageToBase64(File) - Method in class jku.se.CloudOCRService
-
Encodes an image file to a Base64 string.
- end() - Method in class jku.se.export.PdfExporter
-
Finalizes the current content stream (e.g., before saving or starting a new page).
- export(List<Map<String, String>>, String) - Method in class jku.se.export.CsvExporter
-
Exports the provided data rows to a CSV file.
- export(Map<String, ?>, String) - Method in class jku.se.export.JsonExporter
-
Exports the provided data map to a JSON file.
- exportCsv() - Method in class jku.se.Controller.StatisticNumberOfInvoicesController
-
Exports detailed invoice data to CSV format.
- exportData(Map<String, ?>, String, String, Text) - Method in class jku.se.Controller.BaseStatisticController
-
Exports a generic data map to the specified format (JSON, PDF, or CSV).
- exportJson() - Method in class jku.se.Controller.StatisticNumberOfInvoicesController
-
Exports invoice statistics to JSON format.
- exportPdf() - Method in class jku.se.Controller.StatisticNumberOfInvoicesController
-
Exports chart and data to a PDF file including detailed invoice info per user and month.
- exportReimbursementJson(Text, String, Map<String, Object>, double) - Method in class jku.se.Controller.BaseStatisticController
-
Exports user reimbursement data to JSON format with additional metadata (month, total).
- exportSingleFormat(Text, String, Map<String, ?>, String, String) - Method in class jku.se.Controller.BaseStatisticController
-
Exports a single data map to either PDF or CSV format.
- exportToCsv(Map<String, ?>, String) - Static method in class jku.se.Utilities.ExportUtils
-
Export data map to a CSV file with escaped values
- exportToJson(Map<String, ?>, String) - Static method in class jku.se.Utilities.ExportUtils
-
Export data map to a JSON file with pretty printing
- exportToPdf(Map<String, ?>, String, String) - Static method in class jku.se.Utilities.ExportUtils
-
Export data map to a formatted PDF file with title and multiple pages if needed
- ExportUtils - Class in jku.se.Utilities
- ExportUtils() - Constructor for class jku.se.Utilities.ExportUtils
- extractAmount(String) - Method in class jku.se.CloudOCRService
-
Extracts the amount from OCR text, prioritizing labeled values (e.g., "Amount").
- extractDate(String) - Method in class jku.se.CloudOCRService
-
Extracts a date string from raw text using several regex formats.
- extractTextFromJson(String) - Method in class jku.se.CloudOCRService
-
Parses the OCR API response JSON and extracts the full detected text.
F
- findByEmailAndPassword(String, String) - Static method in class jku.se.repository.UserRepository
-
Finds a user by email and password for login verification.
G
- getAcceptedInvoicesCurrentMonth(String) - Static method in class jku.se.repository.InvoiceRepository
-
Retrieves all accepted invoices for a user in the current month.
- getActiveUsersThisMonth() - Static method in class jku.se.repository.InvoiceRepository
-
Retrieves a list of user emails that have submitted invoices in the current month.
- getAllAdminEmails() - Static method in class jku.se.repository.UserRepository
-
Retrieves email addresses of all admin users.
- getAllAdminNotifications() - Static method in class jku.se.repository.AdminNotificationRepository
- getAllInvoicesAdmin() - Static method in class jku.se.repository.InvoiceRepository
-
Retrieves all invoices from the database.
- getAllInvoicesUser(String) - Static method in class jku.se.repository.InvoiceRepository
-
Retrieves all invoices for a given user.
- getAllUserEmails() - Static method in class jku.se.repository.UserRepository
-
Retrieves email addresses of all non-admin users.
- getAllUsersWithoutLoggedAdmin(String) - Static method in class jku.se.repository.UserRepository
-
Retrieves email addresses of all users except the currently logged-in admin.
- getAmount() - Method in class jku.se.Invoice
- getAverageOfInvoicesPerUserPerMonth() - Method in class jku.se.Statistics
-
Computes the average number of invoices submitted per user per month.
- getByEmail(String) - Static method in class jku.se.repository.UserRepository
-
Retrieves a user by their email address.
- getCategory() - Method in class jku.se.Invoice
- getCategoryString() - Method in class jku.se.Invoice
-
Returns the category of the invoice as a string.
- getConnection() - Static method in class jku.se.DatabaseConnection
-
Establishes a connection to the PostgreSQL database.
- getContentStream() - Method in class jku.se.export.PdfExporter
-
Returns the current content stream used for writing to the PDF.
- getCreatedAt() - Method in class jku.se.Invoice
- getCreatedAtString() - Method in class jku.se.Invoice
-
Returns the formatted creation date (dd.MM.yyyy).
- getCurrentUser() - Static method in class jku.se.UserSession
-
Gets the current logged-in user.
- getCurrentUserEmail() - Static method in class jku.se.Controller.UserDashboardController
-
Gets the current user's email address.
- getDate() - Method in class jku.se.Invoice
- getDeclinedInvoicesCurrentMonth(String) - Static method in class jku.se.repository.InvoiceRepository
-
Retrieves all declined invoices for a user in the current month.
- getDeletedNotifications(String) - Static method in class jku.se.repository.DeletedNotificationRepository
-
Retrieves all deleted notification messages for a specific user.
- getDocument() - Method in class jku.se.export.PdfExporter
-
Returns the internal PDF document.
- getEmail() - Method in class jku.se.User
- getEmail() - Method in class jku.se.UserInvoiceData
- getFileUrl() - Method in class jku.se.Invoice
- getFormattedTimestamp() - Method in class jku.se.Notification
-
Returns the formatted timestamp as a string.
- getFullMessage() - Method in class jku.se.Notification
-
Returns the full notification text including timestamp.
- getId() - Method in class jku.se.Notification
-
Returns the unique ID of the notification.
- getInstance() - Static method in class jku.se.Utilities.NotificationManager
- getInvoiceCount() - Method in class jku.se.UserInvoiceData
- getInvoiceCountForUserThisMonth(String) - Static method in class jku.se.repository.InvoiceRepository
-
Counts how many invoices a user submitted in the current month.
- getInvoicesPerMonth() - Method in class jku.se.Statistics
-
Calculates the number of invoices submitted per calendar month.
- getInvoicesPerRestaurant() - Method in class jku.se.Statistics
-
Counts all restaurant invoices from all users.
- getInvoicesPerRestaurantUser(String) - Method in class jku.se.Statistics
-
Counts all restaurant invoices for a specific user.
- getInvoicesPerSupermarket() - Method in class jku.se.Statistics
-
Counts all supermarket invoices from all users.
- getInvoicesPerSupermarketUser(String) - Method in class jku.se.Statistics
-
Counts all supermarket invoices for a specific user.
- getInvoicesPerUserAndMonth() - Method in class jku.se.Statistics
-
Groups invoice counts per user for each month.
- getMessage() - Method in class jku.se.Notification
-
Returns the message content of the notification.
- getName() - Method in class jku.se.User
- getName() - Method in class jku.se.UserInvoiceData
- getNotifications() - Method in class jku.se.Utilities.NotificationManager
- getNotificationsForUser(String) - Method in class jku.se.Utilities.NotificationManager
-
Gets all notifications for a specific user (global + user-specific).
- getPassword() - Method in class jku.se.User
- getPublicFileUrl(String) - Static method in class jku.se.DatabaseConnection
-
Generates a publicly accessible URL for a given file in the Supabase storage bucket.
- getRefundAmount() - Method in enum class jku.se.Category
-
Returns the refund amount for this category.
- getReimbursement() - Method in class jku.se.Invoice
- getReimbursementForAYear() - Method in class jku.se.Statistics
-
Calculates the total reimbursement over the last 12 months.
- getReimbursementPerMonth() - Method in class jku.se.Statistics
-
Calculates the total reimbursement amount per month.
- getStatus() - Method in class jku.se.Invoice
- getStatusString() - Method in class jku.se.Invoice
-
Returns the status of the invoice as a string.
- getTimestamp() - Method in class jku.se.Notification
-
Returns the timestamp when the notification was created.
- getTotalReimbursementForUserThisMonth(String) - Static method in class jku.se.repository.InvoiceRepository
-
Sums the reimbursement of all invoices for a user in the current month.
- getTotalReimbursementThisMonth() - Static method in class jku.se.repository.InvoiceRepository
-
Sums the reimbursement of all invoices in the current month.
- getUserEmail() - Method in class jku.se.Invoice
- getUserMessage() - Method in class jku.se.Notification
-
Returns the notification message without timestamp (for user notifications).
- getUserReimbursementDetails() - Method in class jku.se.Statistics
-
Retrieves invoice count and total reimbursement for all active users in the current month.
- getUserReimbursementDetailsPerMonth() - Method in class jku.se.Statistics
-
Delivers user reimbursement data grouped by month and user.
- getUserSpecificNotifications(String) - Method in class jku.se.Utilities.NotificationManager
-
Gets only user-specific notifications for a specific user (excludes global admin notifications).
- getYPosition() - Method in class jku.se.export.PdfExporter
-
Returns the current vertical writing position on the page.
H
- handleSave() - Method in class jku.se.Controller.ChangeReimbursementController
-
Handles the logic to save changes made to the refund values.
- handleUpload() - Method in class jku.se.Controller.AddInvoiceController
-
Handles the upload of invoice data and document, with validation and database persistence.
I
- initialize() - Method in class jku.se.Controller.AdminInvoiceManagementController
-
Initializes the controller.
- initialize() - Method in class jku.se.Controller.ChangeReimbursementController
-
Initializes the controller and pre-fills the text fields with current refund values.
- initialize() - Method in class jku.se.Controller.DeleteAdminUserController
-
Initializes the controller by populating the user type choice box.
- initialize() - Method in class jku.se.Controller.NotificationsController
-
Initializes the controller and loads all notifications with action buttons.
- initialize() - Method in class jku.se.Controller.NotificationsUserController
-
Initializes the notification list with all notifications and adds delete buttons for each notification
- initialize() - Method in class jku.se.Controller.StatisticNumberOfInvoicesController
-
Initializes the chart and combo box.
- initialize() - Method in class jku.se.Controller.StatisticReimbursementPerMonthController
-
Initializes the bar chart with monthly reimbursement data and prepares export format selection and status message timeout.
- initialize() - Method in class jku.se.Controller.StatisticsController
-
Initializes the statistics view with summary values
- initialize() - Method in class jku.se.Controller.StatisticSupermarketRestaurantController
-
Initializes the view: - Loads invoice counts per category and displays them in a pie chart
- Invoice - Class in jku.se
-
Represents an invoice submitted by a user, including metadata, validation logic, and OCR support.
- Invoice(String, LocalDate, double, Category, Status, String, LocalDateTime, double) - Constructor for class jku.se.Invoice
-
Constructs a new Invoice.
- invoiceExists(Connection, String, Date) - Static method in class jku.se.repository.InvoiceRepository
-
Checks if an invoice already exists for a user on a given date.
- InvoiceRepository - Class in jku.se.repository
-
Repository class for handling database operations related to invoices.
- InvoiceRepository() - Constructor for class jku.se.repository.InvoiceRepository
- isAdministrator() - Method in class jku.se.User
- isDateOnWeekday(LocalDate) - Method in class jku.se.Invoice
-
Checks if the given date is a weekday.
- isEditable() - Method in class jku.se.Invoice
-
Checks if the invoice can be edited (same month and year as current).
- isInCurrentMonth(LocalDate, LocalDate) - Method in class jku.se.Invoice
-
Checks whether the invoice date is in the current month and year.
- isNotificationDeleted(String, String) - Method in class jku.se.Utilities.NotificationManager
-
Checks if a notification message has been deleted by the user.
- isValidAmount(double) - Method in class jku.se.Invoice
-
Validates that the invoice amount is within acceptable limits (0–1000).
J
- jku.se - package jku.se
- jku.se.Controller - package jku.se.Controller
- jku.se.export - package jku.se.export
- jku.se.repository - package jku.se.repository
- jku.se.Utilities - package jku.se.Utilities
- JsonExporter - Class in jku.se.export
-
Utility class for exporting data to a JSON file.
- JsonExporter() - Constructor for class jku.se.export.JsonExporter
L
- loadDeletedNotificationsForUser(String) - Method in class jku.se.Utilities.NotificationManager
-
Loads deleted notifications from the database for a specific user.
- login() - Method in class jku.se.User
-
Logs the user in and writes a log message.
- Lunchify - module Lunchify
M
- main(String[]) - Static method in class jku.se.Controller.StartApplication
- main(String[]) - Static method in class jku.se.DatabaseConnection
-
Main method to test the database connection.
- markNotificationAsDeleted(String, String) - Method in class jku.se.Utilities.NotificationManager
-
Marks a notification message as deleted.
- MESSAGES_SENT - Static variable in class jku.se.Notification
N
- Notification - Class in jku.se
-
Represents an in-app notification that can be sent to users or administrators.
- Notification() - Constructor for class jku.se.Notification
-
Default constructor.
- Notification(String) - Constructor for class jku.se.Notification
-
Constructs a simple Notification with a given message and current timestamp.
- Notification(String, boolean, String) - Constructor for class jku.se.Notification
-
Constructs a new Notification with full attributes.
- NotificationManager - Class in jku.se.Utilities
- NotificationsController - Class in jku.se.Controller
-
Controller for displaying admin notifications with action buttons.
- NotificationsController() - Constructor for class jku.se.Controller.NotificationsController
- NotificationsUserController - Class in jku.se.Controller
-
Controller for displaying user-specific invoice notifications.
- NotificationsUserController() - Constructor for class jku.se.Controller.NotificationsUserController
O
- ocrAmount - Variable in class jku.se.Invoice
- ocrCategory - Variable in class jku.se.Invoice
- ocrDate - Variable in class jku.se.Invoice
- OCRResult(String, String, String) - Constructor for class jku.se.CloudOCRService.OCRResult
P
- PdfExporter - Class in jku.se.export
-
Utility class for generating PDF documents using Apache PDFBox.
- PdfExporter() - Constructor for class jku.se.export.PdfExporter
-
Initializes a new PDF document and sets the starting Y-position.
- PROCESSING - Enum constant in enum class jku.se.Status
R
- receiveNotification(String) - Method in class jku.se.User
-
Sends an in-app notification to the user with the given message.
- removeNotification(String) - Method in class jku.se.Utilities.NotificationManager
-
Removes a notification by its ID.
- removeNotification(String, boolean) - Method in class jku.se.Utilities.NotificationManager
-
Removes a notification by its ID from global notifications.
- removeNotificationForUser(String, String) - Method in class jku.se.Utilities.NotificationManager
-
Removes a notification by its ID from either global or user-specific notifications.
- removeUserNotification(String, String) - Method in class jku.se.Utilities.NotificationManager
-
Removes a notification by its ID from user-specific notifications.
- RESTAURANT - Enum constant in enum class jku.se.Category
-
Category for restaurant-related invoices.
S
- saveInvoiceInfo(Connection, String, Date, double, Category, Status, String, LocalDateTime, double, File) - Static method in class jku.se.repository.InvoiceRepository
-
Saves a new invoice record in the database and uploads associated file.
- saveToFile(String) - Method in class jku.se.export.PdfExporter
-
Saves the current PDF document to a file with a timestamped name in the Downloads folder.
- selectedFile - Variable in class jku.se.Controller.AddInvoiceController
- sendInApp(User, String) - Method in class jku.se.Notification
-
Sends an in-app notification for a given user.
- setAmount(double) - Method in class jku.se.Invoice
- setAnomalyDetected(boolean) - Method in class jku.se.Invoice
-
Indicates whether an anomaly (mismatch) has been detected.
- setCategory(Category) - Method in class jku.se.Invoice
- setCurrentUser(User) - Static method in class jku.se.UserSession
-
Sets the current logged-in user.
- setCurrentUserEmail(String) - Method in class jku.se.Controller.UserDashboardController
-
Sets the current user's email and initializes the dashboard data.
- setCustomRefundAmount(Category, double) - Static method in enum class jku.se.Category
-
Sets a custom refund amount for a specific category.
- setDate(LocalDate) - Method in class jku.se.Invoice
- setFileUrl(String) - Method in class jku.se.Invoice
- setId(String) - Method in class jku.se.Notification
- setInvoiceCount(int) - Method in class jku.se.UserInvoiceData
- setNotification(Notification) - Method in class jku.se.User
-
Sets the Notification object used by this user.
- setOcrData(String, String, String) - Method in class jku.se.Invoice
-
Sets the OCR result data for this invoice.
- setReimbursement(double) - Method in class jku.se.Invoice
- setStatus(Status) - Method in class jku.se.Invoice
- setTimestamp(LocalDateTime) - Method in class jku.se.Notification
- setYPosition(int) - Method in class jku.se.export.PdfExporter
-
Sets the current vertical writing position.
- showError(Text, String) - Method in class jku.se.Controller.BaseStatisticController
-
Updates the
statusText
with an error message in red. - showSuccess(Text, String) - Method in class jku.se.Controller.BaseStatisticController
-
Updates the
statusText
with a success message in green. - start(Stage) - Method in class jku.se.Controller.StartApplication
-
Starts the JavaFX application.
- StartApplication - Class in jku.se.Controller
-
Main class to launch the JavaFX application.
- StartApplication() - Constructor for class jku.se.Controller.StartApplication
- StartController - Class in jku.se.Controller
-
Controller for the start (login) screen of the Lunchify application.
- StartController() - Constructor for class jku.se.Controller.StartController
- startPage() - Method in class jku.se.export.PdfExporter
-
Starts a new page in the document and initializes a new content stream.
- StatisticNumberOfInvoicesController - Class in jku.se.Controller
-
Controller responsible for displaying and exporting statistics about the number of invoices per month using a bar chart.
- StatisticNumberOfInvoicesController() - Constructor for class jku.se.Controller.StatisticNumberOfInvoicesController
- StatisticReimbursementPerMonthController - Class in jku.se.Controller
-
Controller for visualizing and exporting reimbursement data per month.
- StatisticReimbursementPerMonthController() - Constructor for class jku.se.Controller.StatisticReimbursementPerMonthController
- statistics - Variable in class jku.se.Controller.StatisticNumberOfInvoicesController
- Statistics - Class in jku.se
-
The
Statistics
class provides various statistical evaluations based on invoices and reimbursements stored in the system. - Statistics() - Constructor for class jku.se.Statistics
- StatisticsController - Class in jku.se.Controller
-
Controller for the Statistics overview screen.
- StatisticsController() - Constructor for class jku.se.Controller.StatisticsController
- StatisticSupermarketRestaurantController - Class in jku.se.Controller
-
Controller for displaying and exporting the distribution of invoices between supermarket and restaurant categories using a pie chart.
- StatisticSupermarketRestaurantController() - Constructor for class jku.se.Controller.StatisticSupermarketRestaurantController
- Status - Enum Class in jku.se
-
The
Status
enum represents the processing status of an invoice. - statusLabel - Variable in class jku.se.Controller.AddInvoiceController
- SUPERMARKET - Enum constant in enum class jku.se.Category
-
Category for supermarket-related invoices.
T
- toString() - Method in class jku.se.CloudOCRService.OCRResult
- toString() - Method in class jku.se.Invoice
-
Returns a string representation of the invoice for UI display.
U
- updateInvoice(Invoice) - Static method in class jku.se.repository.InvoiceRepository
-
Updates all editable fields of an invoice.
- updateInvoiceAmount(Invoice) - Static method in class jku.se.repository.InvoiceRepository
-
Updates the invoice amount in the database.
- updateInvoiceCategory(Invoice) - Static method in class jku.se.repository.InvoiceRepository
-
Updates the invoice category in the database.
- updateInvoiceDate(Invoice) - Static method in class jku.se.repository.InvoiceRepository
-
Updates the invoice date in the database.
- updateInvoiceReimbursement(Invoice) - Static method in class jku.se.repository.InvoiceRepository
-
Updates the invoice reimbursement value in the database.
- updateInvoiceStatus(Invoice) - Static method in class jku.se.repository.InvoiceRepository
-
Updates the invoice status in the database.
- uploadButton - Variable in class jku.se.Controller.AddInvoiceController
- uploadFileToBucket(File) - Static method in class jku.se.DatabaseConnection
-
Uploads a file to the Supabase storage bucket.
- URL_SUPABASE - Static variable in class jku.se.DatabaseConnection
- User - Class in jku.se
-
The
User
class represents a user in the system, which can either be a regular user or an administrator. - User(String, String, String, boolean) - Constructor for class jku.se.User
-
Constructs a new User with the given parameters.
- UserDashboardController - Class in jku.se.Controller
-
Controller for the User Dashboard.
- UserDashboardController() - Constructor for class jku.se.Controller.UserDashboardController
- UserInvoiceData - Class in jku.se
-
The
UserInvoiceData
class stores basic information about a user's invoices. - UserInvoiceData(String, String, int) - Constructor for class jku.se.UserInvoiceData
-
Constructs a new
UserInvoiceData
object with the given details. - UserRepository - Class in jku.se.repository
-
Repository class for managing user-related database operations.
- UserRepository() - Constructor for class jku.se.repository.UserRepository
- UserSession - Class in jku.se
-
The
UserSession
class manages the current user session in the application. - UserSession() - Constructor for class jku.se.UserSession
V
- validateDate(LocalDate) - Method in class jku.se.Invoice
-
Validates the invoice date (must be a weekday).
- validateFile(File) - Static method in class jku.se.Invoice
-
Validates the uploaded file (existence, format, size).
- valueOf(String) - Static method in enum class jku.se.Category
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class jku.se.Status
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class jku.se.Category
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class jku.se.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- viewAllInvoices() - Method in class jku.se.Administrator
-
Retrieves all invoices stored in the system (visible to admins only).
- viewAllInvoices() - Method in class jku.se.User
-
Gets all invoices submitted by this user (fetched from the repository).
- viewHistory() - Method in class jku.se.User
-
Gets the invoice history (locally stored in the user object).
All Classes and Interfaces|All Packages|Constant Field Values