Class BookingDAOImpl

java.lang.Object
com.rosivanyshyn.db.dao.implMySQL.GenericDAOImpl<Booking>
com.rosivanyshyn.db.dao.implMySQL.BookingDAOImpl
All Implemented Interfaces:
BookingDAO, GenericDAO<Booking>

public class BookingDAOImpl extends GenericDAOImpl<Booking> implements BookingDAO
Booking DAO interface implementation.
  • Constructor Details

    • BookingDAOImpl

      public BookingDAOImpl()
  • Method Details

    • createEventIsBillPaid

      public Boolean createEventIsBillPaid(Connection con, Long id)
      Description copied from interface: BookingDAO
      Create DB event:
      After the specified period of time,
      If bill for booking isn`t paid -> delete booking
      Specified by:
      createEventIsBillPaid in interface BookingDAO
      Parameters:
      con - connection to database
      id - id of the booking being checked
      Returns:
      Boolean operation result