1 package ejava.examples.txagent.bl; 2 3 import java.util.List; 4 5 import ejava.examples.txagent.bo.Booking; 6 7 public interface BookingAgent { 8 Booking getBookingByConfirmation(String confirmation) 9 throws AgentReservationException; 10 List<Booking> getBookings(int index, int count) 11 throws AgentReservationException; 12 void cleanupBooking(String confirmation) 13 throws AgentReservationException; 14 }