Package org.exoplatform.agenda.dao
Class CalendarDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,Long>
org.exoplatform.agenda.dao.CalendarDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,Long>
public class CalendarDAO
extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,Long>
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcountCalendarsByOwnerIds(Long... ownerIds) create(CalendarEntity entity) voidcreateAll(List<CalendarEntity> entities) voiddelete(CalendarEntity entity) voidvoiddeleteAll(List<CalendarEntity> entities) getCalendarIdsByOwnerIds(int offset, int limit, Long... ownerIds) update(CalendarEntity entity) voidupdateAll(List<CalendarEntity> entities) Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect
-
Constructor Details
-
CalendarDAO
public CalendarDAO()
-
-
Method Details
-
delete
- Specified by:
deletein interfaceorg.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,Long> - Overrides:
deletein classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,Long>
-
create
- Specified by:
createin interfaceorg.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,Long> - Overrides:
createin classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,Long>
-
update
- Specified by:
updatein interfaceorg.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,Long> - Overrides:
updatein classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,Long>
-
getCalendarIdsByOwnerIds
-
countCalendarsByOwnerIds
-
deleteAll
public void deleteAll()- Specified by:
deleteAllin interfaceorg.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,Long> - Overrides:
deleteAllin classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,Long>
-
deleteAll
- Specified by:
deleteAllin interfaceorg.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,Long> - Overrides:
deleteAllin classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,Long>
-
createAll
- Specified by:
createAllin interfaceorg.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,Long> - Overrides:
createAllin classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,Long>
-
updateAll
- Specified by:
updateAllin interfaceorg.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,Long> - Overrides:
updateAllin classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,Long>
-