Package com.rosivanyshyn.db.dao

# Interface BookingDAO

All Superinterfaces:
  `GenericDAO<Booking>`

All Known Implementing Classes:
  `BookingDAOImpl`

public interface BookingDAO extends GenericDAO<Booking>
Booking DAO interface.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Boolean`
  `createEventIsBillPaid(Connection con, Long id)`
  Create DB event:
  After the specified period of time,
  If bill for booking isn`t paid -> delete booking

  ### Methods inherited from interface com.rosivanyshyn.db.dao.GenericDAO

  `countRowsInLastQuery, delete, get, getAll, getByField, getFew, getWithDynamicQuery, insert, update`

- ## 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