Uses of Class
bcu.cmp5332.bookingsystem.main.FlightBookingSystemException
Package
Description
-
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.commands
Modifier and TypeMethodDescriptionvoid
AddBooking.execute
(FlightBookingSystem flightBookingSystem) Executes the AddBooking command within the provided FlightBookingSystem instance.void
AddCustomer.execute
(FlightBookingSystem flightBookingSystem) Executes the AddCustomer command within the provided FlightBookingSystem instance.void
AddFeedback.execute
(FlightBookingSystem flightBookingSystem) Executes the AddFeedback command within the provided FlightBookingSystem instance.void
AddFlight.execute
(FlightBookingSystem flightBookingSystem) Executes the AddFlight command within the provided FlightBookingSystem instance.void
ApplyPromocode.execute
(FlightBookingSystem flightBookingSystem) Executes the ApplyPromocode command within the provided FlightBookingSystem instance.void
BookingWithName.execute
(FlightBookingSystem flightBookingSystem) void
CancelBooking.execute
(FlightBookingSystem flightBookingSystem) Executes the CancelBooking command within the provided FlightBookingSystem instance.void
Command.execute
(FlightBookingSystem flightBookingSystem) Executes the command within the provided FlightBookingSystem instance.void
DeleteCustomer.execute
(FlightBookingSystem flightBookingSystem) Executes the delete customer command within the provided FlightBookingSystem instance.void
DeleteFlight.execute
(FlightBookingSystem flightBookingSystem) Executes the delete flight command within the provided FlightBookingSystem instance.void
ListCustomer.execute
(FlightBookingSystem flightBookingSystem) Executes the list customer command within the provided FlightBookingSystem instance.void
ListFlights.execute
(FlightBookingSystem flightBookingSystem) Executes the list flights command within the provided FlightBookingSystem instance.void
LoadGUI.execute
(FlightBookingSystem flightBookingSystem) Executes the load GUI command within the provided FlightBookingSystem instance.void
ShowCustomer.execute
(FlightBookingSystem flightBookingSystem) Executes the show customer details command within the provided FlightBookingSystem instance.void
ShowFlight.execute
(FlightBookingSystem flightBookingSystem) Executes the show flight details command within the provided FlightBookingSystem instance.void
ShowFlights.execute
(FlightBookingSystem flightBookingSystem) Executes the show flights command within the provided FlightBookingSystem instance.void
UpdateBooking.execute
(FlightBookingSystem flightBookingSystem) Executes the update booking command within the provided FlightBookingSystem instance.void
VIPSeatAllocation.execute
(FlightBookingSystem flightBookingSystem) Executes the VIPSeatAllocation command within the provided FlightBookingSystem instance. -
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.data
Modifier and TypeMethodDescriptionstatic FlightBookingSystem
FlightBookingSystemData.load()
Loads the flight booking system data.void
BookingDataManager.loadData
(FlightBookingSystem fbs) Loads existing booking data from the bookings data file into the provided FlightBookingSystem instance.void
CustomerDataManager.loadData
(FlightBookingSystem fbs) Loads existing customer data from the customers data file into the provided FlightBookingSystem instance.void
DataManager.loadData
(FlightBookingSystem fbs) Loads data from a data source into the provided FlightBookingSystem instance.void
FeedbackDataManager.loadData
(FlightBookingSystem fbs) Loads existing feedback data from the feedback data file into the provided FlightBookingSystem instance.void
FlightDataManager.loadData
(FlightBookingSystem fbs) Loads the flight data from the resource file and populates theFlightBookingSystem
with flight information. -
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.gui
-
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.main
-
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.model
Modifier and TypeMethodDescriptionvoid
FlightBookingSystem.addCustomer
(Customer customer) Adds a customer to the system.void
Adds a flight to the system.void
Flight.addPassenger
(Customer passenger) Adds a passenger to the flight.void
FlightBookingSystem.cancelBooking
(int customerId, int flightId) Cancels a booking for a given customer and flight.FlightBookingSystem.getBookingByID
(int bookingID) Retrieves a booking by its ID.FlightBookingSystem.getCustomerByID
(int id) Retrieves a customer by their ID.FlightBookingSystem.getCustomerByName
(String customerName) Retrieves a customer by their name.FlightBookingSystem.getFlightByID
(int delId) Retrieves a flight by its ID.void
FlightBookingSystem.issueBooking
(Customer customer, Flight flight, LocalDate bookingDate) Issues a booking for a customer on a flight with the specified booking date. -
Uses of FlightBookingSystemException in test
Modifier and TypeMethodDescriptionvoid
FlightBookingSystemTest.testAddCustomer()
void
FlightBookingSystemTest.testAddFlight()
void
FlightTest.testAddPassenger()
void
FlightTest.testAddPassengerAtFullCapacity()
void
FlightBookingSystemTest.testCancelBooking()
void
FlightBookingSystemTest.testGetBookingByID()
void
FlightBookingSystemTest.testGetCustomerByID()
void
FlightBookingSystemTest.testGetCustomerByName()
void
FlightTest.testGetDetailsLong()
void
FlightBookingSystemTest.testGetFlightByID()
void
FlightBookingSystemTest.testGetFutureFlights()
void
FlightTest.testGetPassengerDetails()
void
FlightBookingSystemTest.testIssueBooking()
void
FlightBookingSystemTest.testRemoveFlight()
void
FlightTest.testRemovePassenger()