public class EventHandlerImpl extends Object implements EventHandler
| Modifier and Type | Field and Description |
|---|---|
protected ExtendedCalendarServiceImpl |
calService |
protected org.exoplatform.services.cache.future.FutureExoCache<String,String,ExtendedCalendarServiceImpl> |
dsNameByCalId |
| Constructor and Description |
|---|
EventHandlerImpl(ExtendedCalendarServiceImpl service,
org.exoplatform.services.cache.CacheService cacheService) |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.commons.utils.ListAccess<Event> |
findEventsByQuery(EventQuery eventQuery)
if no calendarType in query, fallback solution: use JCR DAO implementation with all available JCR calendar types (PERSONAL, GROUP)
|
Event |
getEventById(String eventId) |
Event |
newEventInstance(String dsId) |
Event |
removeEvent(String eventId) |
Event |
saveEvent(Event event) |
protected ExtendedCalendarServiceImpl calService
protected org.exoplatform.services.cache.future.FutureExoCache<String,String,ExtendedCalendarServiceImpl> dsNameByCalId
public EventHandlerImpl(ExtendedCalendarServiceImpl service, org.exoplatform.services.cache.CacheService cacheService)
public Event getEventById(String eventId)
getEventById in interface EventHandlerpublic Event saveEvent(Event event)
saveEvent in interface EventHandlerpublic Event removeEvent(String eventId)
removeEvent in interface EventHandlerpublic org.exoplatform.commons.utils.ListAccess<Event> findEventsByQuery(EventQuery eventQuery)
findEventsByQuery in interface EventHandlerpublic Event newEventInstance(String dsId)
newEventInstance in interface EventHandlerCopyright © 2003–2019 eXo Platform SAS. All rights reserved.