Methods Summary |
---|
public void | deleteBike(Bike bike)
getSqlMapTemplate().executeUpdate("deleteBike", bike);
|
public void | deleteCustomer(Customer customer)
//To change body of implemented methods use File | Settings | File Templates.
|
public Bike | getBike(java.lang.String serialNo)
return (Bike) getSqlMapTemplate().executeQueryForObject("getBikeBySerialNo", serialNo);
|
public Bike | getBike(int bikeId)
return (Bike) getSqlMapTemplate().executeQueryForObject("getBikeByID", new Integer(bikeId));
|
public java.util.List | getBikes()
return getSqlMapTemplate().executeQueryForList("getBikes", null);
|
public Customer | getCustomer(int custId)
return (Customer) getSqlMapTemplate().executeQueryForObject("getCustomer", new Integer(custId));
|
public java.util.List | getCustomers()
return getSqlMapTemplate().executeQueryForList("getCustomers", null);
|
public Reservation | getReservation(int resId)
return (Reservation) getSqlMapTemplate().executeQueryForObject("getReservation", new Integer(resId));
|
public java.util.List | getReservations()
return getSqlMapTemplate().executeQueryForList("getReservations", null);
|
public java.util.List | getReservations(Customer customer)
return getSqlMapTemplate().executeQueryForList("getReservationsForCustomer", customer);
|
public java.util.List | getReservations(Bike bike)
return getSqlMapTemplate().executeQueryForList("getReservationsForBike", bike);
|
public java.util.List | getReservations(java.util.Date date)
return getSqlMapTemplate().executeQueryForList("getReservationsForDate", date);
|
public java.lang.String | getStoreName()
return this.storeName;
|
public void | saveBike(Bike bike)
getSqlMapTemplate().executeUpdate("saveBike", bike);
|
public void | saveCustomer(Customer customer)
//To change body of implemented methods use File | Settings | File Templates.
|
public void | setStoreName(java.lang.String name)
this.storeName = name;
|
public void | transferReservation(Reservation oldRes, Reservation newRes)
//To change body of implemented methods use File | Settings | File Templates.
|