Interface BookingDAO

All Superinterfaces:
GenericDAO<Booking>
All Known Implementing Classes:
BookingDAOImpl

public interface BookingDAO extends GenericDAO<Booking>
Booking DAO interface.
  • Method Details

    • createEventIsBillPaid

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