FileDocCategorySizeDatePackage
RentABike.javaAPI DocExample1060Mon Apr 25 16:36:34 BST 2005com.springbook

RentABike

public interface RentABike implements Serializable

Fields Summary
Constructors Summary
Methods Summary
public voidaddReservation(Reservation reservation, double amount)

public voiddeleteBike(Bike bike)

public voiddeleteCustomer(Customer customer)

public BikegetBike(java.lang.String serialNo)

public BikegetBike(int bikeId)

public java.util.ListgetBikes()

public CustomergetCustomer(int custId)

public java.util.ListgetCustomers()

public BikegetNewBikeFromQueue()

public ReservationgetReservation(int resId)

public java.util.ListgetReservations()

public java.util.ListgetReservations(Customer customer)

public java.util.ListgetReservations(Bike bike)

public java.util.ListgetReservations(java.util.Date date)

public java.lang.StringgetStoreName()

public voidsaveBike(Bike bike)

public voidsaveCustomer(Customer customer)

public voidsetStoreName(java.lang.String name)

public voidtransferReservation(Reservation oldRes, Reservation newRes)