Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- calculatePrice(LocalDate) - Method in class bcu.cmp5332.bookingsystem.model.Flight
-
Calculates the price for the flight based on the number of days left for departure and the current capacity.
- cancelBooking() - Method in class bcu.cmp5332.bookingsystem.model.Booking
-
Cancels the booking by marking it as cancelled and applying a cancellation fee.
- cancelBooking(int, int) - Method in class bcu.cmp5332.bookingsystem.model.FlightBookingSystem
-
Cancels a booking for a given customer and flight.
- CancelBooking - Class in bcu.cmp5332.bookingsystem.commands
-
The CancelBooking class represents a command to cancel a booking for a specific customer on a specific flight.
- CancelBooking(int, int) - Constructor for class bcu.cmp5332.bookingsystem.commands.CancelBooking
-
Constructs a CancelBooking command with the specified customer ID and flight ID.
- CancelBookingWindow - Class in bcu.cmp5332.bookingsystem.gui
-
The CancelBookingWindow class represents a GUI window for canceling a booking.
- CancelBookingWindow(MainWindow) - Constructor for class bcu.cmp5332.bookingsystem.gui.CancelBookingWindow
-
Constructs a CancelBookingWindow object.
- closeWindow() - Method in class bcu.cmp5332.bookingsystem.gui.MainWindow
- Command - Interface in bcu.cmp5332.bookingsystem.commands
-
The Command interface represents a command that can be executed within the flight booking system.
- CommandParser - Class in bcu.cmp5332.bookingsystem.main
-
The CommandParser class is responsible for parsing user input and creating corresponding Command objects.
- CommandParser() - Constructor for class bcu.cmp5332.bookingsystem.main.CommandParser
- Customer - Class in bcu.cmp5332.bookingsystem.model
-
Represents a customer of the flight booking system.
- Customer(int, String, String, String, boolean, boolean) - Constructor for class bcu.cmp5332.bookingsystem.model.Customer
-
Constructs a new Customer object with the specified attributes.
- CustomerDataManager - Class in bcu.cmp5332.bookingsystem.data
-
The CustomerDataManager class implements the DataManager interface to manage loading and storing of customer data to/from a text file.
- CustomerDataManager() - Constructor for class bcu.cmp5332.bookingsystem.data.CustomerDataManager
- CustomerTest - Class in test
- CustomerTest() - Constructor for class test.CustomerTest
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form