Class VacationRequestDAO

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

    public class VacationRequestDAO
    extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<VacationRequestEntity,​String>
    Created by The eXo Platform SAS
    • Constructor Detail

      • VacationRequestDAO

        public VacationRequestDAO()
    • Method Detail

      • getVacationRequestesCount

        public long getVacationRequestesCount()
      • getActiveVacationRequestsCount

        public long getActiveVacationRequestsCount()
      • getWaitingVacationRequestsCount

        public long getWaitingVacationRequestsCount()
      • getVacationRequestsByTypeCount

        public long getVacationRequestsByTypeCount​(String type)
      • getActiveVacationRequestsByValidator

        public List<VacationRequestEntity> getActiveVacationRequestsByValidator​(String userId,
                                                                                int offset,
                                                                                int limit)