A C D J N Q R S

A

abort(int) - Method in interface JavaTransaction.ClientInterface
Abort a transaction
addCars(int, String, int, int) - Method in interface JavaTransaction.ClientInterface
Add cars to a location.
addFlight(int, int, int, int) - Method in interface JavaTransaction.ClientInterface
Add seats to a flight This method will be used to create a new flight but if the flight already exists, seats will be added and the price overwritten
addRooms(int, String, int, int) - Method in interface JavaTransaction.ClientInterface
Add rooms to a location.

C

ClientInterface - interface JavaTransaction.ClientInterface.
An interface for interaction with the clients.
commit(int) - Method in interface JavaTransaction.ClientInterface
Commit a transaction

D

deleteCars(int, String, int) - Method in interface JavaTransaction.ClientInterface
Delete cars.
deleteCustomer(int, int) - Method in interface JavaTransaction.ClientInterface
Delete a customer
deleteFlight(int, int) - Method in interface JavaTransaction.ClientInterface
Delete the entire flight.
deleteRooms(int, String, int) - Method in interface JavaTransaction.ClientInterface
Delete rooms.

J

JavaTransaction - package JavaTransaction
 

N

newCustomer(int) - Method in interface JavaTransaction.ClientInterface
Create a customer return a unique customer ID

Q

queryCars(int, String) - Method in interface JavaTransaction.ClientInterface
Get the number of cars available.
queryCarsPrice(int, String) - Method in interface JavaTransaction.ClientInterface
Get the cars price.
queryCustomer(int, int) - Method in interface JavaTransaction.ClientInterface
Get the total amount of money the customer owes return total price of all reservations
queryCustomerInfo(int, int) - Method in interface JavaTransaction.ClientInterface
Get the bill for the customer return a string representation of reservations
queryFlight(int, int) - Method in interface JavaTransaction.ClientInterface
Get the number of seats available.
queryFlightPrice(int, int) - Method in interface JavaTransaction.ClientInterface
Get the flight price.
queryRooms(int, String) - Method in interface JavaTransaction.ClientInterface
Get the number of rooms available.
queryRoomsPrice(int, String) - Method in interface JavaTransaction.ClientInterface
Get the room price.

R

reserveCar(int, int, String) - Method in interface JavaTransaction.ClientInterface
Reserve a car
reserveFlight(int, int, int) - Method in interface JavaTransaction.ClientInterface
Reserve a seat on a flight
reserveItinerary(int, int[], String, boolean, boolean) - Method in interface JavaTransaction.ClientInterface
Reserve an itinerary
reserveRoom(int, int, String) - Method in interface JavaTransaction.ClientInterface
Reserve a room

S

start() - Method in interface JavaTransaction.ClientInterface
Start a transaction return a unique transaction ID

A C D J N Q R S