Class CachedAgendaEventStorage
java.lang.Object
org.exoplatform.agenda.storage.AgendaEventStorage
org.exoplatform.agenda.storage.cached.CachedAgendaEventStorage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCachedAgendaEventStorage(org.exoplatform.services.cache.CacheService cacheService, CalendarDAO calendarDAO, EventDAO eventDAO, EventRecurrenceDAO eventRecurrenceDAO) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteCalendarEvents(long calendarId) voiddeleteEventById(long eventId) deleteExceptionalOccurences(long parentRecurrentEventId) org.exoplatform.agenda.model.EventgetEventById(long eventId) org.exoplatform.agenda.model.EventupdateEvent(org.exoplatform.agenda.model.Event event) Methods inherited from class org.exoplatform.agenda.storage.AgendaEventStorage
countEventDatePolls, countPendingEvents, createEvent, getEventDatePollIds, getEventDatePollIds, getEventIds, getExceptionalOccurenceIds, getExceptionalOccurenceIds, getExceptionalOccurenceIdsByPeriod, getExceptionalOccurrenceEvent, getParentRecurrentEventIds, getPendingEventIds, getUserEventCalenderIds, isRecurrentEvent
-
Field Details
-
EVENT_CACHE_NAME
- See Also:
-
-
Constructor Details
-
CachedAgendaEventStorage
public CachedAgendaEventStorage(org.exoplatform.services.cache.CacheService cacheService, CalendarDAO calendarDAO, EventDAO eventDAO, EventRecurrenceDAO eventRecurrenceDAO)
-
-
Method Details
-
getEventById
public org.exoplatform.agenda.model.Event getEventById(long eventId) - Overrides:
getEventByIdin classAgendaEventStorage
-
updateEvent
public org.exoplatform.agenda.model.Event updateEvent(org.exoplatform.agenda.model.Event event) - Overrides:
updateEventin classAgendaEventStorage
-
deleteEventById
public void deleteEventById(long eventId) - Overrides:
deleteEventByIdin classAgendaEventStorage
-
deleteCalendarEvents
public void deleteCalendarEvents(long calendarId) - Overrides:
deleteCalendarEventsin classAgendaEventStorage
-
deleteExceptionalOccurences
- Overrides:
deleteExceptionalOccurencesin classAgendaEventStorage
-
clearCache
public void clearCache()
-