public class JCRCalendarDAOImpl extends Object implements CalendarDAO
| Constructor and Description |
|---|
JCRCalendarDAOImpl(CalendarService service,
JCRStorage context) |
| Modifier and Type | Method and Description |
|---|---|
List<Calendar> |
findCalendars(CalendarQuery query) |
Calendar |
getById(String id) |
Calendar |
newInstance() |
Calendar |
remove(String id)
Remove the entity with given id if exists.
|
Calendar |
save(Calendar calendar)
Persist the entity object into database.
|
Calendar |
update(Calendar cal)
Update the specified entity argument with the most recent state.
|
public JCRCalendarDAOImpl(CalendarService service, JCRStorage context)
public Calendar getById(String id)
getById in interface GenericDAO<Calendar,String>public Calendar save(Calendar calendar)
GenericDAOsave in interface GenericDAO<Calendar,String>public Calendar update(Calendar cal)
GenericDAOIf the entity does not exist, it throws NoSuchEntityException
update in interface GenericDAO<Calendar,String>public Calendar remove(String id)
GenericDAOremove in interface GenericDAO<Calendar,String>public Calendar newInstance()
newInstance in interface GenericDAO<Calendar,String>public List<Calendar> findCalendars(CalendarQuery query)
findCalendars in interface CalendarDAOCopyright © 2003–2017 eXo Platform SAS. All rights reserved.