File
Doc
Category
Size
Date
Package
RentABike.java
API Doc
Example
1060
Mon Apr 25 16:36:34 BST 2005
com.springbook
RentABike
public interface RentABike implements Serializable
Fields Summary
Constructors Summary
Methods Summary
public void
addReservation
(
Reservation
reservation,
double
amount)
public void
deleteBike
(
Bike
bike)
public void
deleteCustomer
(
Customer
customer)
public
Bike
getBike
(
java.lang.String
serialNo)
public
Bike
getBike
(
int
bikeId)
public
java.util.List
getBikes
()
public
Customer
getCustomer
(
int
custId)
public
java.util.List
getCustomers
()
public
Bike
getNewBikeFromQueue
()
public
Reservation
getReservation
(
int
resId)
public
java.util.List
getReservations
()
public
java.util.List
getReservations
(
Customer
customer)
public
java.util.List
getReservations
(
Bike
bike)
public
java.util.List
getReservations
(
java.util.Date
date)
public
java.lang.String
getStoreName
()
public void
saveBike
(
Bike
bike)
public void
saveCustomer
(
Customer
customer)
public void
setStoreName
(
java.lang.String
name)
public void
transferReservation
(
Reservation
oldRes,
Reservation
newRes)
Java Code Source