Class BookingDAOImpl
java.lang.Object
com.rosivanyshyn.db.dao.implMySQL.GenericDAOImpl<Booking>
com.rosivanyshyn.db.dao.implMySQL.BookingDAOImpl
- All Implemented Interfaces:
BookingDAO,GenericDAO<Booking>
Booking DAO interface implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.rosivanyshyn.db.dao.implMySQL.GenericDAOImpl
GenericDAOImpl.DBStatementOperations<T>, GenericDAOImpl.ExtractEntity<T>, GenericDAOImpl.SetGeneratedValuesToEntity<T> -
Field Summary
Fields inherited from class com.rosivanyshyn.db.dao.implMySQL.GenericDAOImpl
className, LOG -
Constructor Summary
Constructors -
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 class com.rosivanyshyn.db.dao.implMySQL.GenericDAOImpl
countRowsInLastQuery, delete, get, getAll, getByField, getFew, getWithDynamicQuery, insert, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosivanyshyn.db.dao.GenericDAO
countRowsInLastQuery, delete, get, getAll, getByField, getFew, getWithDynamicQuery, insert, update
-
Constructor Details
-
BookingDAOImpl
public BookingDAOImpl()
-
-
Method Details
-
createEventIsBillPaid
Description copied from interface:BookingDAOCreate DB event:
After the specified period of time,
If bill for booking isn`t paid -> delete booking- Specified by:
createEventIsBillPaidin interfaceBookingDAO- Parameters:
con- connection to databaseid- id of the booking being checked- Returns:
- Boolean operation result
-