예제 #1
0
 public int numSeatsAvailable(Optional<Integer> venueLevel) {
   TicketRequestDao request = new TicketRequestDaoImpl();
   return request.numSeatsAvailable(venueLevel);
 }
예제 #2
0
 public SeatHold findAndHoldSeats(
     int numSeats, Optional<Integer> minLevel, Optional<Integer> maxLevel, String customerEmail) {
   TicketRequestDao request = new TicketRequestDaoImpl();
   return request.findAndHoldSeats(numSeats, minLevel, maxLevel, customerEmail);
 }
예제 #3
0
 public SeatHold reserveSeats(Long requestId, String customerEmail) {
   TicketRequestDao request = new TicketRequestDaoImpl();
   return request.reserveSeats(requestId, customerEmail);
 }
예제 #4
0
 public HashMap<Integer, Integer> numberOfSeatsAvailable(Optional<Integer> venueLevel) {
   TicketRequestDao request = new TicketRequestDaoImpl();
   return request.numberOfSeatsAvailable(venueLevel);
 }