Modifier and Type | Field and Description |
---|---|
private EventMgmtDAO |
edao |
private VenueDAO |
vdao |
Constructor and Description |
---|
EventMgmtImpl() |
Modifier and Type | Method and 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) |
void |
setEventDAO(EventMgmtDAO edao) |
void |
setVenueDAO(VenueDAO vdao) |
private EventMgmtDAO edao
private VenueDAO vdao
public void setEventDAO(EventMgmtDAO edao)
public void setVenueDAO(VenueDAO vdao)
public Event createEvent(Event event, Venue venue) throws UnavailableException
createEvent
in interface EventMgmt
UnavailableException
public Event fetchEventTickets(int id)
fetchEventTickets
in interface EventMgmt
public Event fetchEventTicketsSeats(int id)
fetchEventTicketsSeats
in interface EventMgmt
public List<Seat> findSeats(Event event, String section, Integer row, Integer position, int offset, int limit)
public List<Ticket> getTickets(Event event, List<Seat> seats)
getTickets
in interface EventMgmt
public List<Ticket> reserveSeats(Event event, List<Seat> seats) throws UnavailableException
reserveSeats
in interface EventMgmt
UnavailableException
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.