Class SpaceDAO

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

    public class SpaceDAO
    extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<SpaceEntity,​String>
    Created by The eXo Platform SAS
    Since:
    Apr 27, 2016
    Author:
    boubaker.khanfir@exoplatform.com
    • Constructor Detail

      • SpaceDAO

        public SpaceDAO()
    • Method Detail

      • getSpaces

        public List<SpaceEntity> getSpaces​(int offset,
                                           int limit)
      • getSpacesByType

        public List<SpaceEntity> getSpacesByType​(boolean internal,
                                                 int offset,
                                                 int limit)
      • getSpacesCount

        public long getSpacesCount()
      • getActiveSpaces

        public List<SpaceEntity> getActiveSpaces​(int offset,
                                                 int limit)
      • getActiveSpacesCount

        public long getActiveSpacesCount()
      • getDeactvatedSpaces

        public List<SpaceEntity> getDeactvatedSpaces​(int offset,
                                                     int limit)
      • getDeactvatedSpacesCount

        public long getDeactvatedSpacesCount()