Class CalendarDAO

  • All Implemented Interfaces:
    org.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,​Long>

    public class CalendarDAO
    extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,​Long>
    • Constructor Detail

      • CalendarDAO

        public CalendarDAO()
    • Method Detail

      • delete

        public void delete​(CalendarEntity entity)
        Specified by:
        delete in interface org.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,​Long>
        Overrides:
        delete in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,​Long>
      • getCalendarIdsByOwnerIds

        public List<Long> getCalendarIdsByOwnerIds​(int offset,
                                                   int limit,
                                                   Long... ownerIds)
      • countCalendarsByOwnerIds

        public int countCalendarsByOwnerIds​(Long... ownerIds)
      • deleteAll

        public void deleteAll()
        Specified by:
        deleteAll in interface org.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,​Long>
        Overrides:
        deleteAll in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,​Long>
      • deleteAll

        public void deleteAll​(List<CalendarEntity> entities)
        Specified by:
        deleteAll in interface org.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,​Long>
        Overrides:
        deleteAll in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,​Long>
      • createAll

        public void createAll​(List<CalendarEntity> entities)
        Specified by:
        createAll in interface org.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,​Long>
        Overrides:
        createAll in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,​Long>
      • updateAll

        public void updateAll​(List<CalendarEntity> entities)
        Specified by:
        updateAll in interface org.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,​Long>
        Overrides:
        updateAll in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CalendarEntity,​Long>