public class JCREventDAOImpl extends Object implements EventDAO
| Constructor and Description |
|---|
JCREventDAOImpl(CalendarService calService,
JCRStorage storage) |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.commons.utils.ListAccess<Event> |
findEventsByQuery(EventQuery query) |
Event |
getById(String id) |
Event |
newInstance() |
Event |
remove(String id)
Remove the entity with given id if exists.
|
Event |
save(Event event)
Persist the entity object into database.
|
Event |
update(Event event)
Update the specified entity argument with the most recent state.
|
public JCREventDAOImpl(CalendarService calService, JCRStorage storage)
public Event getById(String id)
getById in interface GenericDAO<Event,String>public Event save(Event event)
GenericDAOsave in interface GenericDAO<Event,String>public Event update(Event event)
GenericDAOIf the entity does not exist, it throws NoSuchEntityException
update in interface GenericDAO<Event,String>public Event remove(String id)
GenericDAOremove in interface GenericDAO<Event,String>public Event newInstance()
newInstance in interface GenericDAO<Event,String>public org.exoplatform.commons.utils.ListAccess<Event> findEventsByQuery(EventQuery query)
findEventsByQuery in interface EventDAOCopyright © 2003–2016 eXo Platform SAS. All rights reserved.