Package com.rosivanyshyn.db.dao
Interface BookingDAO
- All Superinterfaces:
GenericDAO<Booking>
- All Known Implementing Classes:
BookingDAOImpl
Booking DAO interface.
-
Method Summary
Modifier and TypeMethodDescriptioncreateEventIsBillPaid(Connection con, Long id) Create DB event:
After the specified period of time,
If bill for booking isn`t paid -> delete bookingMethods inherited from interface com.rosivanyshyn.db.dao.GenericDAO
countRowsInLastQuery, delete, get, getAll, getByField, getFew, getWithDynamicQuery, insert, update
-
Method Details
-
createEventIsBillPaid
Create DB event:
After the specified period of time,
If bill for booking isn`t paid -> delete booking- Parameters:
con- connection to databaseid- id of the booking being checked- Returns:
- Boolean operation result
-