Index

A C D E G H I L M N O P Q R S T U X Z 
All Classes and Interfaces|All Packages

A

addEmployee(Employee) - Static method in class csce331.group13.project2.backend.EmployeeSQL
Adds a new employee to the database.
addInventoryItem(InventoryItem) - Method in class csce331.group13.project2.backend.Inventory
Adds a new inventory item to both the database and the in-memory cache.
addInventoryItem(InventoryItem) - Static method in class csce331.group13.project2.backend.InventorySQL
Adds a new inventory item to the database.
addMeal(String, String, List, List, List) - Method in class csce331.group13.project2.models.Order
Adds a new meal to the order.
addMenuInventory(Connection, MenuInventory) - Static method in class csce331.group13.project2.backend.MenuInventorySQL
Adds a new menu-inventory relationship to the database.
addMenuItem(Connection, MenuItem) - Static method in class csce331.group13.project2.backend.MenuSQL
Inserts a new menu item into the database.
addMenuItemWithInventory(MenuItem, List, List) - Method in class csce331.group13.project2.backend.Menu
Adds a new menu item along with its inventory relationships.
addOrderDetail(OrderDetail) - Method in class csce331.group13.project2.backend.OrderDetailsSQL
Adds a new order detail record to the database.
addOrderDetail(UUID, UUID, int, int, int) - Method in class csce331.group13.project2.backend.OrdersSQL
Adds a single order detail record to the database.
addStaff(Employee) - Method in class csce331.group13.project2.backend.Staff
Adds a new employee to the system.

C

CartController - Class in csce331.group13.project2.ui
Controller for the shopping cart view.
CartController() - Constructor for class csce331.group13.project2.ui.CartController
 
categorizeMenuItems() - Method in class csce331.group13.project2.backend.Menu
Organizes all menu items into a map by category.
checkPassword(String) - Method in class csce331.group13.project2.models.Employee
Verifies a plain text password against the stored hash.
clear() - Static method in class csce331.group13.project2.models.Session
 
createOrder(UUID, String, BigDecimal) - Method in class csce331.group13.project2.backend.OrdersSQL
Creates a new order in the database and returns its generated order ID.
csce331.group13.project2.backend - package csce331.group13.project2.backend
 
csce331.group13.project2.db - package csce331.group13.project2.db
 
csce331.group13.project2.models - package csce331.group13.project2.models
 
csce331.group13.project2.ui - package csce331.group13.project2.ui
 

D

DBConnection - Class in csce331.group13.project2.db
Manages database connections using HikariCP connection pooling.
dbSetup - Class in csce331.group13.project2.db
Contains database configuration constants for connecting to the PostgreSQL database.
delete(Connection, MenuInventory) - Static method in class csce331.group13.project2.backend.MenuInventorySQL
Deletes a specific menu-inventory relationship.
deleteByMenuItemId(Connection, UUID) - Static method in class csce331.group13.project2.backend.MenuInventorySQL
Deletes all menu-inventory relationships for a specific menu item.
deleteEmployee(UUID) - Static method in class csce331.group13.project2.backend.EmployeeSQL
Deletes an employee from the database by their unique identifier.
deleteInventoryItem(UUID) - Static method in class csce331.group13.project2.backend.InventorySQL
Deletes an inventory item from the database by its unique identifier.
deleteMenuItem(Connection, UUID) - Static method in class csce331.group13.project2.backend.MenuSQL
Deletes a menu item by its unique identifier.

E

Employee - Class in csce331.group13.project2.models
Represents an employee in the system with authentication and role information.
Employee(String, String, boolean, String, boolean) - Constructor for class csce331.group13.project2.models.Employee
Constructs an Employee with a newly generated UUID.
Employee(UUID, String, String, boolean, String, boolean) - Constructor for class csce331.group13.project2.models.Employee
Constructs an Employee with all fields specified.
EmployeeController - Class in csce331.group13.project2.ui
Controller for the employee management view.
EmployeeController() - Constructor for class csce331.group13.project2.ui.EmployeeController
 
employees - Variable in class csce331.group13.project2.backend.Staff
 
EmployeeSQL - Class in csce331.group13.project2.backend
Provides data access methods for employee records in the database.
EmployeeSQL() - Constructor for class csce331.group13.project2.backend.EmployeeSQL
 
equals(Object) - Method in record class csce331.group13.project2.models.MenuInventory
Indicates whether some other object is "equal to" this one.

G

generateProductUsageReport(LocalDate, LocalDate) - Method in class csce331.group13.project2.ui.ProductUsageReportController
Generates and displays the product usage report for the specified date range.
generateSalesReport(LocalDate, LocalDate) - Method in class csce331.group13.project2.ui.SalesReportController
Generates and displays the sales report for the specified date range.
getActiveEmployees() - Static method in class csce331.group13.project2.backend.EmployeeSQL
Retrieves all active employees from the database.
getAddOns() - Method in class csce331.group13.project2.models.Order.Meal
Gets the list of add-on names.
getAllCombos() - Static method in class csce331.group13.project2.backend.MenuSQL
Retrieves all active combo menu items (category = 'Combo').
getAllEmployees() - Static method in class csce331.group13.project2.backend.EmployeeSQL
Retrieves all employees from the database, including inactive ones.
getAllInventoryItems() - Static method in class csce331.group13.project2.backend.InventorySQL
Retrieves all inventory items from the database.
getAllMenuItems() - Static method in class csce331.group13.project2.backend.MenuSQL
Retrieves all menu items from the database.
getCategory() - Method in class csce331.group13.project2.models.MenuItem
Gets the menu item's category.
getCombo() - Method in class csce331.group13.project2.models.Order.Meal
Gets the combo name.
getConnection() - Static method in class csce331.group13.project2.db.DBConnection
Obtains a database connection from the connection pool.
getCost() - Method in class csce331.group13.project2.models.MenuItem
Gets the menu item's price.
getCurrentEmployee() - Static method in class csce331.group13.project2.models.Session
 
getDrinks() - Method in class csce331.group13.project2.models.Order.Meal
Gets the list of drink names.
getEmail() - Method in class csce331.group13.project2.models.Employee
Gets the employee's email address.
getEmployeeById(UUID) - Static method in class csce331.group13.project2.backend.EmployeeSQL
Retrieves an employee by their unique identifier.
getEmployeeId() - Method in class csce331.group13.project2.models.Employee
Gets the employee's unique identifier.
getEntrees() - Method in class csce331.group13.project2.models.Order.Meal
Gets the list of entree names.
getHourlySales() - Static method in class csce331.group13.project2.backend.XReport
Retrieves hourly sales totals for the current day.
getHourlySales() - Static method in class csce331.group13.project2.backend.ZReport
Retrieves hourly sales totals for the current day.
getHourlyTransactions() - Static method in class csce331.group13.project2.backend.XReport
Retrieves hourly transaction counts for the current day.
getHourlyTransactions() - Static method in class csce331.group13.project2.backend.ZReport
Retrieves hourly transaction counts for the current day.
getInstance() - Static method in class csce331.group13.project2.backend.Inventory
Returns the singleton instance of the Inventory class.
getInstance() - Static method in class csce331.group13.project2.backend.Menu
Returns the singleton instance of the Menu class.
getInstance() - Static method in class csce331.group13.project2.backend.Staff
Returns the singleton instance of the Staff class.
getInstance() - Static method in class csce331.group13.project2.models.Order
Returns the singleton instance of the Order class.
getInstance() - Static method in class csce331.group13.project2.ui.NavigationController
Returns the singleton instance of the NavigationController.
getInstance() - Static method in class csce331.group13.project2.ui.ReportController
Returns the singleton instance of the ReportController for consistent navigation control.
getInventoryForMenuItem(UUID) - Static method in class csce331.group13.project2.backend.MenuInventorySQL
Retrieves all inventory items and their quantities for a specific menu item.
getInventoryItemById(UUID) - Static method in class csce331.group13.project2.backend.InventorySQL
Retrieves an inventory item by its unique identifier.
getInventoryItemsForMenuItem(UUID) - Method in class csce331.group13.project2.backend.Menu
Retrieves all inventory items associated with a specific menu item.
getItem() - Method in class csce331.group13.project2.models.InventoryItem
Gets the inventory item's name.
getItemId() - Method in class csce331.group13.project2.models.InventoryItem
Gets the inventory item's unique identifier.
getItemName() - Method in class csce331.group13.project2.backend.RestockReport.RestockItem
Gets the item name.
getItemName() - Method in class csce331.group13.project2.models.ProductUsageData
Gets the inventory item name.
getItemName() - Method in class csce331.group13.project2.models.SalesData
Gets the menu item name.
getItemsByCategoryName(String) - Method in class csce331.group13.project2.backend.Menu
Retrieves all active menu item names for a specific category.
getItemsByCategoryName(String) - Static method in class csce331.group13.project2.backend.MenuSQL
Retrieves all active menu items for a specific category.
getLineNo() - Method in class csce331.group13.project2.models.OrderDetail
Gets the line number.
getMeals() - Method in class csce331.group13.project2.models.Order
Gets the observable list of meals in this order.
getMenuInventoryRelationships() - Static method in class csce331.group13.project2.backend.MenuInventorySQL
Retrieves all menu-inventory relationships from the database.
getMenuItemById(UUID) - Static method in class csce331.group13.project2.backend.MenuSQL
Retrieves a menu item by its unique identifier.
getMenuItemByName(String) - Method in class csce331.group13.project2.backend.Menu
Retrieves a menu item by its name (case-insensitive).
getMenuItemByName(String) - Static method in class csce331.group13.project2.backend.MenuSQL
Retrieves an active menu item by its name.
getMenuItemId() - Method in class csce331.group13.project2.models.MenuItem
Gets the menu item's unique identifier.
getMenuItemId() - Method in class csce331.group13.project2.models.OrderDetail
Gets the menu item ID.
getName() - Method in class csce331.group13.project2.models.Employee
Gets the employee's name.
getName() - Method in class csce331.group13.project2.models.MenuItem
Gets the menu item's name.
getOrderId() - Method in class csce331.group13.project2.models.OrderDetail
Gets the order ID.
getParentLineNo() - Method in class csce331.group13.project2.models.OrderDetail
Gets the parent line number.
getPasswordHash() - Method in class csce331.group13.project2.models.Employee
Gets the employee's password hash.
getProductUsageData(LocalDate, LocalDate) - Static method in class csce331.group13.project2.backend.ProductUsageReport
Retrieves product usage data for a specified date range.
getQuantitiesForMenuItem(UUID) - Method in class csce331.group13.project2.backend.Menu
Retrieves the quantities of each inventory item required for a specific menu item.
getQuantity() - Method in class csce331.group13.project2.backend.RestockReport.RestockItem
Gets the current quantity in stock.
getQuantity() - Method in class csce331.group13.project2.models.OrderDetail
Gets the quantity.
getQuantitySold() - Method in class csce331.group13.project2.models.SalesData
Gets the quantity sold.
getQuantityUsed() - Method in class csce331.group13.project2.models.ProductUsageData
Gets the quantity used.
getRestockItems(int) - Static method in class csce331.group13.project2.backend.RestockReport
Retrieves all inventory items with stock below the specified threshold.
getSalesData(LocalDate, LocalDate) - Static method in class csce331.group13.project2.backend.SalesReport
Retrieves sales data from the database
getSide() - Method in class csce331.group13.project2.models.Order.Meal
Gets the side name.
getStock() - Method in class csce331.group13.project2.models.InventoryItem
Gets the current stock quantity.
getTotalPrice() - Method in class csce331.group13.project2.models.Order.Meal
Calculates the total price of this meal by summing up the costs of all components.
getTotalSales() - Method in class csce331.group13.project2.models.SalesData
Gets the total sales revenue.
getUnit() - Method in class csce331.group13.project2.models.InventoryItem
Gets the unit of measurement for this item.
getUnitCost() - Method in class csce331.group13.project2.models.InventoryItem
Gets the cost per unit.
GUI - Class in csce331.group13.project2.ui
Main JavaFX application class that launches the Panda Express POS system.
GUI() - Constructor for class csce331.group13.project2.ui.GUI
 

H

hasBeenRun() - Static method in class csce331.group13.project2.backend.ZReport
Checks if a Z-Report has been run for the current day (UTC).
hashCode() - Method in record class csce331.group13.project2.models.MenuInventory
Returns a hash code value for this object.
hashPassword(String) - Static method in class csce331.group13.project2.models.Employee
Hashes a plain text password using BCrypt.

I

initialize() - Method in class csce331.group13.project2.ui.EmployeeController
 
initialize() - Method in class csce331.group13.project2.ui.InventoryController
 
initialize() - Method in class csce331.group13.project2.ui.LoginController
Initializes the login screen by loading active employees into the choice box.
initialize() - Method in class csce331.group13.project2.ui.MenuController
 
initialize() - Method in class csce331.group13.project2.ui.OrdersController
Initializes the order screen, populating menu buttons and configuring the cart table.
initialize() - Method in class csce331.group13.project2.ui.ProductUsageReportController
 
initialize() - Method in class csce331.group13.project2.ui.ReportController
Initializes the report selector dropdown and attaches event listeners.
initialize() - Method in class csce331.group13.project2.ui.RestockReportController
Sets cells to what values they should expect and display
initialize() - Method in class csce331.group13.project2.ui.SalesReportController
 
initialize(URL, ResourceBundle) - Method in class csce331.group13.project2.ui.CartController
Initializes the cart view, hides manager button for non-managers, and sets up event handlers.
Inventory - Class in csce331.group13.project2.backend
Singleton class that manages the in-memory inventory cache.
Inventory() - Constructor for class csce331.group13.project2.backend.Inventory
Private constructor that initializes the inventory by loading all items from the database.
InventoryController - Class in csce331.group13.project2.ui
Controller for the inventory management view.
InventoryController() - Constructor for class csce331.group13.project2.ui.InventoryController
 
InventoryItem - Class in csce331.group13.project2.models
Represents an inventory item in the system.
InventoryItem() - Constructor for class csce331.group13.project2.models.InventoryItem
Default constructor for InventoryItem.
InventoryItem(String, String, BigDecimal, BigDecimal, boolean) - Constructor for class csce331.group13.project2.models.InventoryItem
Constructs an InventoryItem with a newly generated UUID.
InventoryItem(UUID, String, String, BigDecimal, BigDecimal, boolean) - Constructor for class csce331.group13.project2.models.InventoryItem
Constructs an InventoryItem with all fields specified.
inventoryItemId() - Method in record class csce331.group13.project2.models.MenuInventory
Returns the value of the inventoryItemId record component.
InventorySQL - Class in csce331.group13.project2.backend
Provides data access methods for inventory items in the database.
InventorySQL() - Constructor for class csce331.group13.project2.backend.InventorySQL
 
isActive() - Method in class csce331.group13.project2.models.Employee
Checks if the employee is currently active.
isActive() - Method in class csce331.group13.project2.models.MenuItem
Checks if the menu item is currently active.
isAvailable() - Method in class csce331.group13.project2.models.InventoryItem
Checks if the inventory item is currently available.
isManager() - Method in class csce331.group13.project2.models.Employee
Checks if the employee has manager privileges.
isManager() - Static method in class csce331.group13.project2.models.Session
 
itemNameProperty() - Method in class csce331.group13.project2.models.ProductUsageData
Gets the item name property for JavaFX binding.
itemNameProperty() - Method in class csce331.group13.project2.models.SalesData
Gets the item name property for JavaFX binding.
items - Variable in class csce331.group13.project2.backend.Inventory
 
items - Variable in class csce331.group13.project2.backend.Menu
 

L

LoginController - Class in csce331.group13.project2.ui
Controller for the login screen.
LoginController() - Constructor for class csce331.group13.project2.ui.LoginController
 

M

main(String[]) - Static method in class csce331.group13.project2.ui.GUI
Main entry point for the application.
Meal(String, String, List, List, List) - Constructor for class csce331.group13.project2.models.Order.Meal
Constructs a Meal with the specified components.
Menu - Class in csce331.group13.project2.backend
Singleton class that manages the in-memory menu cache.
Menu() - Constructor for class csce331.group13.project2.backend.Menu
Private constructor that initializes the menu by loading all menu items and their inventory relationships from the database.
MenuController - Class in csce331.group13.project2.ui
Controller for the menu management view.
MenuController() - Constructor for class csce331.group13.project2.ui.MenuController
 
menuInventory - Variable in class csce331.group13.project2.backend.Menu
 
MenuInventory - Record Class in csce331.group13.project2.models
Represents the relationship between a menu item and an inventory item.
MenuInventory(UUID, UUID, BigDecimal) - Constructor for record class csce331.group13.project2.models.MenuInventory
Creates an instance of a MenuInventory record class.
MenuInventorySQL - Class in csce331.group13.project2.backend
Provides data access methods for menu-inventory relationships in the database.
MenuInventorySQL() - Constructor for class csce331.group13.project2.backend.MenuInventorySQL
 
MenuItem - Class in csce331.group13.project2.models
Represents a menu item in the restaurant system.
MenuItem() - Constructor for class csce331.group13.project2.models.MenuItem
Default constructor for MenuItem.
MenuItem(String, BigDecimal, String, boolean) - Constructor for class csce331.group13.project2.models.MenuItem
Constructs a MenuItem with a newly generated UUID.
MenuItem(UUID, String, BigDecimal, String, boolean) - Constructor for class csce331.group13.project2.models.MenuItem
Constructs a MenuItem with all fields specified.
menuItemId() - Method in record class csce331.group13.project2.models.MenuInventory
Returns the value of the menuItemId record component.
MenuSQL - Class in csce331.group13.project2.backend
Provides data access methods for menu items in the database.
MenuSQL() - Constructor for class csce331.group13.project2.backend.MenuSQL
 

N

navigateToCart() - Method in class csce331.group13.project2.ui.NavigationController
Navigates to the cart view
navigateToEmployees() - Method in class csce331.group13.project2.ui.NavigationController
Navigates to the manager employee view
navigateToInventory() - Method in class csce331.group13.project2.ui.NavigationController
Navigates to the inventory view
navigateToMenu() - Method in class csce331.group13.project2.ui.NavigationController
Navigates to the menu management view.
navigateToOrders() - Method in class csce331.group13.project2.ui.NavigationController
Navigates to the orders view
navigateToReports() - Method in class csce331.group13.project2.ui.NavigationController
Navigates to the reports view.
NavigationController - Class in csce331.group13.project2.ui
Singleton controller class that handles navigation between different views in the application.
NavigationController() - Constructor for class csce331.group13.project2.ui.NavigationController
 

O

Order - Class in csce331.group13.project2.models
Singleton class that stores the current order in memory.
Order.Meal - Class in csce331.group13.project2.models
Represents a meal in an order, which can consist of a combo, side, entrees, drinks, and add-ons.
OrderDetail - Class in csce331.group13.project2.models
Represents a row in the order_details table.
OrderDetail(UUID, UUID, int, int, int) - Constructor for class csce331.group13.project2.models.OrderDetail
Constructs an OrderDetail with all fields specified.
OrderDetailsSQL - Class in csce331.group13.project2.backend
Provides data access methods for order details in the database.
OrderDetailsSQL(Connection) - Constructor for class csce331.group13.project2.backend.OrderDetailsSQL
Constructs an OrderDetailsSQL instance with a database connection.
OrdersController - Class in csce331.group13.project2.ui
Controller for the main orders/cashier view.
OrdersController() - Constructor for class csce331.group13.project2.ui.OrdersController
 
OrdersSQL - Class in csce331.group13.project2.backend
Provides data access methods for orders in the database.
OrdersSQL(Connection) - Constructor for class csce331.group13.project2.backend.OrdersSQL
Constructs an OrdersSQL instance with a database connection.

P

processLogin() - Method in class csce331.group13.project2.ui.LoginController
Processes login attempts by verifying the selected employee and password.
ProductUsageData - Class in csce331.group13.project2.models
Represents a row in the product usage report, containing information about an inventory item's name and the quantity of it that was used in a time period.
ProductUsageData(String, int) - Constructor for class csce331.group13.project2.models.ProductUsageData
Constructs a ProductUsageData with the specified item name and quantity used.
ProductUsageReport - Class in csce331.group13.project2.backend
Generates product usage reports by aggregating inventory item consumption from orders within a specified date range.
ProductUsageReport() - Constructor for class csce331.group13.project2.backend.ProductUsageReport
 
ProductUsageReportController - Class in csce331.group13.project2.ui
Controller for the product usage report view.
ProductUsageReportController() - Constructor for class csce331.group13.project2.ui.ProductUsageReportController
 
pswd - Static variable in class csce331.group13.project2.db.dbSetup
Database password

Q

qtyPerUnit() - Method in record class csce331.group13.project2.models.MenuInventory
Returns the value of the qtyPerUnit record component.
quantitySoldProperty() - Method in class csce331.group13.project2.models.SalesData
Gets the quantity sold property for JavaFX binding.
quantityUsedProperty() - Method in class csce331.group13.project2.models.ProductUsageData
Gets the quantity used property for JavaFX binding.

R

reduceInventory(UUID, int) - Method in class csce331.group13.project2.backend.Inventory
Reduces the stock of inventory items associated with a menu item.
reduceInventory(UUID, int) - Static method in class csce331.group13.project2.backend.InventorySQL
Reduces the stock of inventory items associated with a menu item.
refreshCart() - Method in class csce331.group13.project2.ui.CartController
Refreshes the cart display and recalculates subtotal, tax, and total.
removeMeal(Order.Meal) - Method in class csce331.group13.project2.models.Order
Removes a meal from the order.
ReportController - Class in csce331.group13.project2.ui
Controller for the reports hub view.
ReportController() - Constructor for class csce331.group13.project2.ui.ReportController
 
RestockItem(String, int) - Constructor for class csce331.group13.project2.backend.RestockReport.RestockItem
Constructs a RestockItem with the specified item name and current quantity.
RestockReport - Class in csce331.group13.project2.backend
Generates restock reports by identifying inventory items below a specified threshold.
RestockReport() - Constructor for class csce331.group13.project2.backend.RestockReport
 
RestockReport.RestockItem - Class in csce331.group13.project2.backend
Represents an inventory item that needs restocking.
RestockReportController - Class in csce331.group13.project2.ui
Controller for the restock report view.
RestockReportController() - Constructor for class csce331.group13.project2.ui.RestockReportController
 

S

SalesData - Class in csce331.group13.project2.models
Represents a row in the sales report, containing information about a menu item's name, quantity sold, and total revenue.
SalesData(String, int, double) - Constructor for class csce331.group13.project2.models.SalesData
Constructs a SalesData with the specified item name, quantity sold, and total sales.
SalesReport - Class in csce331.group13.project2.backend
Handles collection of sales data from the database
SalesReport() - Constructor for class csce331.group13.project2.backend.SalesReport
 
SalesReportController - Class in csce331.group13.project2.ui
Controller for the sales report view.
SalesReportController() - Constructor for class csce331.group13.project2.ui.SalesReportController
 
Session - Class in csce331.group13.project2.models
Singleton used to store information about the logged-in employee across the UI
Session() - Constructor for class csce331.group13.project2.models.Session
 
setActive(boolean) - Method in class csce331.group13.project2.models.Employee
Sets the employee's active status.
setActive(boolean) - Method in class csce331.group13.project2.models.MenuItem
Sets the menu item's active status.
setAvailable(boolean) - Method in class csce331.group13.project2.models.InventoryItem
Sets the availability status of the inventory item.
setCategory(String) - Method in class csce331.group13.project2.models.MenuItem
Sets the menu item's category.
setCost(BigDecimal) - Method in class csce331.group13.project2.models.MenuItem
Sets the menu item's price.
setCurrentEmployee(Employee) - Static method in class csce331.group13.project2.models.Session
 
setEmail(String) - Method in class csce331.group13.project2.models.Employee
Sets the employee's email address.
setItem(String) - Method in class csce331.group13.project2.models.InventoryItem
Sets the inventory item's name.
setItemId(UUID) - Method in class csce331.group13.project2.models.InventoryItem
Sets the inventory item's unique identifier.
setManager(boolean) - Method in class csce331.group13.project2.models.Employee
Sets the employee's manager status.
setMenuItemId(UUID) - Method in class csce331.group13.project2.models.MenuItem
Sets the menu item's unique identifier.
setName(String) - Method in class csce331.group13.project2.models.Employee
Sets the employee's name.
setName(String) - Method in class csce331.group13.project2.models.MenuItem
Sets the menu item's name.
setPassword(String) - Method in class csce331.group13.project2.models.Employee
Sets the employee's password by hashing the plain text password.
setPasswordHash(String) - Method in class csce331.group13.project2.models.Employee
Sets the employee's password hash directly.
setPrimaryStage(Stage) - Method in class csce331.group13.project2.ui.NavigationController
Sets the primary stage for navigation
setPrimaryStage(Stage) - Method in class csce331.group13.project2.ui.ReportController
Sets the primary stage for navigation.
setStock(BigDecimal) - Method in class csce331.group13.project2.models.InventoryItem
Sets the current stock quantity.
setUnit(String) - Method in class csce331.group13.project2.models.InventoryItem
Sets the unit of measurement for this item.
setUnitCost(BigDecimal) - Method in class csce331.group13.project2.models.InventoryItem
Sets the cost per unit.
Staff - Class in csce331.group13.project2.backend
Singleton class that manages the in-memory staff cache.
start(Stage) - Method in class csce331.group13.project2.ui.GUI
Starts the JavaFX application by loading the login screen.

T

toString() - Method in class csce331.group13.project2.models.Employee
 
toString() - Method in class csce331.group13.project2.models.InventoryItem
 
toString() - Method in record class csce331.group13.project2.models.MenuInventory
Returns a string representation of this record class.
toString() - Method in class csce331.group13.project2.models.MenuItem
 
toString() - Method in class csce331.group13.project2.models.Order.Meal
 
totalSalesProperty() - Method in class csce331.group13.project2.models.SalesData
Gets the total sales property for JavaFX binding.

U

updateEmployee(Employee) - Static method in class csce331.group13.project2.backend.EmployeeSQL
Updates an existing employee's information in the database.
updateInventoryItem(InventoryItem) - Method in class csce331.group13.project2.backend.Inventory
Updates an existing inventory item in the database.
updateInventoryItem(InventoryItem) - Static method in class csce331.group13.project2.backend.InventorySQL
Updates an existing inventory item in the database.
updateMenuItem(MenuItem) - Method in class csce331.group13.project2.backend.Menu
Updates a menu item in the database.
updateMenuItem(Connection, MenuItem) - Static method in class csce331.group13.project2.backend.MenuSQL
Updates an existing menu item in the database.
updateMenuItemWithInventory(MenuItem, List, List) - Method in class csce331.group13.project2.backend.Menu
Updates a menu item and its inventory relationships.
updateStaff(Employee) - Method in class csce331.group13.project2.backend.Staff
Updates an existing employee's information in the database.
updateZReport() - Static method in class csce331.group13.project2.backend.ZReport
Records that a Z-Report has been run for the current day (UTC).
URL - Static variable in class csce331.group13.project2.db.dbSetup
JDBC connection URL for the PostgreSQL database
user - Static variable in class csce331.group13.project2.db.dbSetup
Database username

X

XReport - Class in csce331.group13.project2.backend
Generates X-Reports (daily sales reports without resetting) showing hourly sales and transaction counts for the current day.
XReport() - Constructor for class csce331.group13.project2.backend.XReport
 

Z

ZReport - Class in csce331.group13.project2.backend
Generates Z-Reports (end-of-day sales reports) showing hourly sales and transaction counts.
ZReport() - Constructor for class csce331.group13.project2.backend.ZReport
 
A C D E G H I L M N O P Q R S T U X Z 
All Classes and Interfaces|All Packages