Uses of Class
bcu.cmp5332.bookingsystem.main.FlightBookingSystemException
Packages that use FlightBookingSystemException
Package
Description
-
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.commands
Methods in bcu.cmp5332.bookingsystem.commands that throw FlightBookingSystemExceptionModifier and TypeMethodDescriptionvoidAddBooking.execute(FlightBookingSystem flightBookingSystem) Executes the AddBooking command within the provided FlightBookingSystem instance.voidAddCustomer.execute(FlightBookingSystem flightBookingSystem) Executes the AddCustomer command within the provided FlightBookingSystem instance.voidAddFeedback.execute(FlightBookingSystem flightBookingSystem) Executes the AddFeedback command within the provided FlightBookingSystem instance.voidAddFlight.execute(FlightBookingSystem flightBookingSystem) Executes the AddFlight command within the provided FlightBookingSystem instance.voidApplyPromocode.execute(FlightBookingSystem flightBookingSystem) Executes the ApplyPromocode command within the provided FlightBookingSystem instance.voidBookingWithName.execute(FlightBookingSystem flightBookingSystem) voidCancelBooking.execute(FlightBookingSystem flightBookingSystem) Executes the CancelBooking command within the provided FlightBookingSystem instance.voidCommand.execute(FlightBookingSystem flightBookingSystem) Executes the command within the provided FlightBookingSystem instance.voidDeleteCustomer.execute(FlightBookingSystem flightBookingSystem) Executes the delete customer command within the provided FlightBookingSystem instance.voidDeleteFlight.execute(FlightBookingSystem flightBookingSystem) Executes the delete flight command within the provided FlightBookingSystem instance.voidListCustomer.execute(FlightBookingSystem flightBookingSystem) Executes the list customer command within the provided FlightBookingSystem instance.voidListFlights.execute(FlightBookingSystem flightBookingSystem) Executes the list flights command within the provided FlightBookingSystem instance.voidLoadGUI.execute(FlightBookingSystem flightBookingSystem) Executes the load GUI command within the provided FlightBookingSystem instance.voidShowCustomer.execute(FlightBookingSystem flightBookingSystem) Executes the show customer details command within the provided FlightBookingSystem instance.voidShowFlight.execute(FlightBookingSystem flightBookingSystem) Executes the show flight details command within the provided FlightBookingSystem instance.voidShowFlights.execute(FlightBookingSystem flightBookingSystem) Executes the show flights command within the provided FlightBookingSystem instance.voidUpdateBooking.execute(FlightBookingSystem flightBookingSystem) Executes the update booking command within the provided FlightBookingSystem instance.voidVIPSeatAllocation.execute(FlightBookingSystem flightBookingSystem) Executes the VIPSeatAllocation command within the provided FlightBookingSystem instance. -
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.data
Methods in bcu.cmp5332.bookingsystem.data that throw FlightBookingSystemExceptionModifier and TypeMethodDescriptionstatic FlightBookingSystemFlightBookingSystemData.load()Loads the flight booking system data.voidBookingDataManager.loadData(FlightBookingSystem fbs) Loads existing booking data from the bookings data file into the provided FlightBookingSystem instance.voidCustomerDataManager.loadData(FlightBookingSystem fbs) Loads existing customer data from the customers data file into the provided FlightBookingSystem instance.voidDataManager.loadData(FlightBookingSystem fbs) Loads data from a data source into the provided FlightBookingSystem instance.voidFeedbackDataManager.loadData(FlightBookingSystem fbs) Loads existing feedback data from the feedback data file into the provided FlightBookingSystem instance.voidFlightDataManager.loadData(FlightBookingSystem fbs) Loads the flight data from the resource file and populates theFlightBookingSystemwith flight information. -
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.gui
Methods in bcu.cmp5332.bookingsystem.gui that throw FlightBookingSystemException -
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.main
Methods in bcu.cmp5332.bookingsystem.main that throw FlightBookingSystemException -
Uses of FlightBookingSystemException in bcu.cmp5332.bookingsystem.model
Methods in bcu.cmp5332.bookingsystem.model that throw FlightBookingSystemExceptionModifier and TypeMethodDescriptionvoidFlightBookingSystem.addCustomer(Customer customer) Adds a customer to the system.voidAdds a flight to the system.voidFlight.addPassenger(Customer passenger) Adds a passenger to the flight.voidFlightBookingSystem.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.voidFlightBookingSystem.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
Methods in test that throw FlightBookingSystemExceptionModifier and TypeMethodDescriptionvoidFlightBookingSystemTest.testAddCustomer()voidFlightBookingSystemTest.testAddFlight()voidFlightTest.testAddPassenger()voidFlightTest.testAddPassengerAtFullCapacity()voidFlightBookingSystemTest.testCancelBooking()voidFlightBookingSystemTest.testGetBookingByID()voidFlightBookingSystemTest.testGetCustomerByID()voidFlightBookingSystemTest.testGetCustomerByName()voidFlightTest.testGetDetailsLong()voidFlightBookingSystemTest.testGetFlightByID()voidFlightBookingSystemTest.testGetFutureFlights()voidFlightTest.testGetPassengerDetails()voidFlightBookingSystemTest.testIssueBooking()voidFlightBookingSystemTest.testRemoveFlight()voidFlightTest.testRemovePassenger()