Package org.exoplatform.cs.dao
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 Summary
Constructors Constructor Description SpaceDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SpaceEntity>getActiveByEndSubscriptionDate(Calendar fromDate, Calendar toDate)List<SpaceEntity>getActiveSpaces(int offset, int limit)longgetActiveSpacesCount()List<SpaceEntity>getDeactvatedSpaces(int offset, int limit)longgetDeactvatedSpacesCount()List<SpaceEntity>getSpaces(int offset, int limit)List<SpaceEntity>getSpacesByType(boolean internal, int offset, int limit)longgetSpacesCount()
-
-
-
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)
-
getActiveByEndSubscriptionDate
public List<SpaceEntity> getActiveByEndSubscriptionDate(Calendar fromDate, Calendar toDate)
-
getDeactvatedSpacesCount
public long getDeactvatedSpacesCount()
-
-