Class SpaceDAO

java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<SpaceEntity,String>
org.exoplatform.cs.dao.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 Details

    • SpaceDAO

      public SpaceDAO()
  • Method Details

    • 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)
    • getActiveByEndSubscriptionDate

      public List<SpaceEntity> getActiveByEndSubscriptionDate(Calendar fromDate, Calendar toDate)
    • getDeactvatedSpacesCount

      public long getDeactvatedSpacesCount()