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>
  • Constructor Details

    • CalendarDAO

      public CalendarDAO()
  • Method Details

    • 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>
    • create

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

      public CalendarEntity update(CalendarEntity entity)
      Specified by:
      update in interface org.exoplatform.commons.api.persistence.GenericDAO<CalendarEntity,Long>
      Overrides:
      update 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>