class BookingDaoESImp extends BaseDaoESImp implements BookingDao {

    @Override
    public void removeBooking(String bookingId) throws IOException, BookingNotFoundException
    {
        /**
         * remove the booking
         */
        removeBookingDoc(bookingId);

        /**
         * Update booking buckets
         */
        List<BookingBucket> bookingBuckets = findBookingBucketsWithAllocatedBookingId(bookingId);
        for (BookingBucket bookingBucket : bookingBuckets)
        {
            bookingBucket.getAllocatedAmounts().put(bookingId, 0.0);
            updateBookingBucketWithAllocatedAmount(bookingBucket.getId(), bookingBucket.getAllocatedAmounts());
        }
    }

    public  BookingDaoESImp();
    public  BookingDaoESImp(Properties properties);

}