@Override
protected Void doExecute(PartakeConnection con, IPartakeDAOs daos) throws DAOException, PartakeException {
event = EventDAOFacade.getEventEx(con, daos, eventId);
if (event == null)
throw new PartakeException(UserErrorCode.INVALID_NOTFOUND);
// Only owner can retrieve the participants list.
if (!EventParticipationListPermission.check(event, user))
throw new PartakeException(UserErrorCode.FORBIDDEN_EVENT_ATTENDANT_EDIT);
tickets = daos.getEventTicketAccess().findEventTicketsByEventId(con, eventId);
for (int i = 0; i < tickets.size(); ++i) {
EventTicket ticket = tickets.get(i);
List<UserTicketEx> participations = EnrollmentDAOFacade.getEnrollmentExs(con, daos, ticket, event);