|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TransactionAbortedException | |
---|---|
tp | CSEP545 Final Project for Java |
tp.impl | Please place your own code under this package. |
Uses of TransactionAbortedException in tp |
---|
Methods in tp that throw TransactionAbortedException | |
---|---|
boolean |
RM.add(Transaction xid,
RID resource,
int qty,
int price)
add qty items described by resource . |
boolean |
WC.addCars(Transaction context,
String location,
int numCars,
int price)
Add cars to a location. |
boolean |
WC.addRooms(Transaction context,
String location,
int numRooms,
int price)
Add rooms to a location. |
boolean |
WC.addSeats(Transaction context,
String flight,
int flightSeats,
int flightPrice)
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 |
void |
WC.commit(Transaction context)
Commit a transaction |
void |
TM.commit(Transaction xid)
commit transaction |
void |
RM.commit(Transaction xid)
commit transaction |
boolean |
RM.delete(Transaction xid,
RID resource)
Drop resource from this RM. |
boolean |
RM.delete(Transaction xid,
RID resource,
int qty)
Remove exactly qty unreserved resource from this RM. |
boolean |
WC.deleteCars(Transaction context,
String location,
int numCars)
Delete cars. |
boolean |
WC.deleteFlight(Transaction context,
String flight)
Delete the entire flight. |
boolean |
WC.deleteRooms(Transaction context,
String location,
int numRooms)
Delete rooms. |
boolean |
WC.deleteSeats(Transaction context,
String flight,
int numSeats)
delete seats from a flight |
boolean |
TM.enlist(Transaction xid,
String enlistingRM)
enlist the RM as a member of this transaction |
String[] |
WC.listCars(Transaction context)
list existing cars |
Customer[] |
WC.listCustomers(Transaction context)
list existing customers that have itinerary |
Customer[] |
RM.listCustomers(Transaction context)
list of customers who reserve resources managed by this RM |
String[] |
WC.listFlights(Transaction context)
list existing flights |
String[] |
RM.listResources(Transaction context,
RID.Type type)
list of resources |
String[] |
WC.listRooms(Transaction context)
list existing rooms |
int |
RM.query(Transaction xid,
RID resource)
query: equivalent to queryCars, queryFlights, queryRooms |
int |
WC.queryCar(Transaction context,
String location)
Get the number of cars available. |
int |
WC.queryCarPrice(Transaction context,
String location)
Get the cars price. |
int |
WC.queryFlight(Transaction context,
String flight)
Get the number of seats available. |
int |
WC.queryFlightPrice(Transaction context,
String flight)
Get the flight price. |
String |
WC.queryItinerary(Transaction context,
Customer customer)
Get the bill for the customer |
int |
WC.queryItineraryPrice(Transaction context,
Customer customer)
Get the total amount of money the customer owes |
int |
RM.queryPrice(Transaction xid,
RID resource)
query: equivalent to queryCarsPrice, queryFlightsPrice, queryRoomsPrice |
String |
RM.queryReserved(Transaction context,
Customer customer)
Get the bill for the customer
return a string representation of reservations |
int |
RM.queryReservedPrice(Transaction context,
Customer customer)
Get the total amount of money the customer owes
in this RM. |
int |
WC.queryRoom(Transaction context,
String location)
Get the number of rooms available. |
int |
WC.queryRoomPrice(Transaction context,
String location)
Get the room price. |
boolean |
RM.reserve(Transaction context,
Customer customer,
RID resource)
reserve a resource i on behalf of customer c |
void |
RM.unreserve(Transaction context,
Customer customer)
drop all reserved resources for customer customer |
Uses of TransactionAbortedException in tp.impl |
---|
Methods in tp.impl that throw TransactionAbortedException | |
---|---|
boolean |
MyRM.add(Transaction xid,
RID i,
int count,
int price)
|
boolean |
MyWC.addCars(Transaction context,
String location,
int numCars,
int price)
|
boolean |
MyWC.addRooms(Transaction context,
String location,
int numRooms,
int price)
|
boolean |
MyWC.addSeats(Transaction context,
String flight,
int flightSeats,
int flightPrice)
|
void |
MyWC.commit(Transaction context)
|
void |
MyTM.commit(Transaction xid)
|
void |
MyRM.commit(Transaction xid)
|
boolean |
MyRM.delete(Transaction xid,
RID rid)
|
boolean |
MyRM.delete(Transaction xid,
RID i,
int count)
|
boolean |
MyWC.deleteCars(Transaction context,
String location,
int numCars)
|
boolean |
MyWC.deleteFlight(Transaction context,
String flight)
|
boolean |
MyWC.deleteRooms(Transaction context,
String location,
int numRooms)
|
boolean |
MyWC.deleteSeats(Transaction context,
String flight,
int numSeats)
|
boolean |
MyTM.enlist(Transaction xid,
String enlistingRM)
|
String[] |
MyWC.listCars(Transaction context)
|
Customer[] |
MyWC.listCustomers(Transaction context)
|
Customer[] |
MyRM.listCustomers(Transaction context)
|
String[] |
MyWC.listFlights(Transaction context)
|
String[] |
MyRM.listResources(Transaction context,
RID.Type type)
|
String[] |
MyWC.listRooms(Transaction context)
|
int |
MyRM.query(Transaction xid,
RID rid)
|
int |
MyWC.queryCar(Transaction context,
String location)
|
int |
MyWC.queryCarPrice(Transaction context,
String location)
|
int |
MyWC.queryFlight(Transaction context,
String flight)
|
int |
MyWC.queryFlightPrice(Transaction context,
String flight)
|
String |
MyWC.queryItinerary(Transaction context,
Customer customer)
|
int |
MyWC.queryItineraryPrice(Transaction context,
Customer customer)
|
int |
MyRM.queryPrice(Transaction xid,
RID i)
|
String |
MyRM.queryReserved(Transaction context,
Customer customer)
|
int |
MyRM.queryReservedPrice(Transaction context,
Customer customer)
|
int |
MyWC.queryRoom(Transaction context,
String location)
|
int |
MyWC.queryRoomPrice(Transaction context,
String location)
|
boolean |
MyRM.reserve(Transaction context,
Customer c,
RID i)
|
void |
MyRM.unreserve(Transaction context,
Customer c)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |