public class EventDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EventEntity,Long>
| Constructor and Description |
|---|
EventDAO(EventConferenceDAO eventConferenceDAO,
EventAttendeeDAO eventAttendeeDAO,
EventAttachmentDAO eventAttachmentDAO,
EventReminderDAO eventReminderDAO,
EventRecurrenceDAO eventRecurrenceDAO,
RemoteEventDAO remoteEventDAO) |
| Modifier and Type | Method and Description |
|---|---|
EventEntity |
create(EventEntity entity) |
void |
delete(EventEntity entity) |
void |
deleteAll() |
void |
deleteCalendarEvents(long calendarId) |
EventEntity |
deleteEvent(long eventId) |
void |
deleteExceptionalOccurences(long parentRecurrentEventId) |
void |
executeDeleteCalendarEventsQuery(long calendarId) |
List<Long> |
getEventIds(Date startDate,
Date endDate,
List<Long> ownerIds,
List<Long> attendeeIds,
List<org.exoplatform.agenda.constant.EventAttendeeResponse> responseTypes,
int limit) |
List<Long> |
getExceptionalOccurenceIds(long parentRecurrentEventId) |
List<Long> |
getExceptionalOccurenceIdsByPeriod(long parentRecurrentEventId,
Date startDate,
Date endDate) |
List<EventEntity> |
getParentRecurrentEventIds(Date startDate,
Date endDate) |
EventEntity |
update(EventEntity entity) |
void |
updateAll(List<EventEntity> entities) |
public EventDAO(EventConferenceDAO eventConferenceDAO, EventAttendeeDAO eventAttendeeDAO, EventAttachmentDAO eventAttachmentDAO, EventReminderDAO eventReminderDAO, EventRecurrenceDAO eventRecurrenceDAO, RemoteEventDAO remoteEventDAO)
public void delete(EventEntity entity)
delete in interface org.exoplatform.commons.api.persistence.GenericDAO<EventEntity,Long>delete in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EventEntity,Long>public void deleteCalendarEvents(long calendarId)
public EventEntity deleteEvent(long eventId)
public EventEntity create(EventEntity entity)
create in interface org.exoplatform.commons.api.persistence.GenericDAO<EventEntity,Long>create in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EventEntity,Long>public EventEntity update(EventEntity entity)
update in interface org.exoplatform.commons.api.persistence.GenericDAO<EventEntity,Long>update in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EventEntity,Long>public void deleteAll()
deleteAll in interface org.exoplatform.commons.api.persistence.GenericDAO<EventEntity,Long>deleteAll in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EventEntity,Long>public void updateAll(List<EventEntity> entities)
updateAll in interface org.exoplatform.commons.api.persistence.GenericDAO<EventEntity,Long>updateAll in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EventEntity,Long>public void executeDeleteCalendarEventsQuery(long calendarId)
public List<Long> getEventIds(Date startDate, Date endDate, List<Long> ownerIds, List<Long> attendeeIds, List<org.exoplatform.agenda.constant.EventAttendeeResponse> responseTypes, int limit)
public List<EventEntity> getParentRecurrentEventIds(Date startDate, Date endDate)
public List<Long> getExceptionalOccurenceIdsByPeriod(long parentRecurrentEventId, Date startDate, Date endDate)
public List<Long> getExceptionalOccurenceIds(long parentRecurrentEventId)
public void deleteExceptionalOccurences(long parentRecurrentEventId)
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.