Package org.myorg.jpatickets.bl
Interface EventMgmt
-
- All Known Implementing Classes:
EventMgmtImpl
public interface EventMgmt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Event
createEvent(Event event, Venue venue)
Event
fetchEventTickets(int id)
Event
fetchEventTicketsSeats(int id)
List<Seat>
findSeats(Event event, String section, Integer row, Integer position, int offset, int limit)
Event
getEvent(int id)
List<Ticket>
getTickets(Event event, List<Seat> seats)
List<Ticket>
reserveSeats(Event event, List<Seat> seats)
-
-
-
Method Detail
-
createEvent
Event createEvent(Event event, Venue venue) throws UnavailableException
- Throws:
UnavailableException
-
getEvent
Event getEvent(int id)
-
findSeats
List<Seat> findSeats(Event event, String section, Integer row, Integer position, int offset, int limit)
-
reserveSeats
List<Ticket> reserveSeats(Event event, List<Seat> seats) throws UnavailableException
- Throws:
UnavailableException
-
fetchEventTickets
Event fetchEventTickets(int id)
-
fetchEventTicketsSeats
Event fetchEventTicketsSeats(int id)
-
-