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
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActiveByEndSubscriptionDate(Calendar fromDate, Calendar toDate) getActiveSpaces(int offset, int limit) longgetDeactvatedSpaces(int offset, int limit) longgetSpaces(int offset, int limit) getSpacesByType(boolean internal, int offset, int limit) longMethods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
SpaceDAO
public SpaceDAO()
-
-
Method Details
-
getSpaces
-
getSpacesByType
-
getSpacesCount
public long getSpacesCount() -
getActiveSpaces
-
getActiveSpacesCount
public long getActiveSpacesCount() -
getDeactvatedSpaces
-
getActiveByEndSubscriptionDate
-
getDeactvatedSpacesCount
public long getDeactvatedSpacesCount()
-