Package org.exoplatform.cs.dao
Class EnvironmentDAO
- java.lang.Object
-
- org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EnvironmentEntity,Long>
-
- org.exoplatform.cs.dao.EnvironmentDAO
-
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<EnvironmentEntity,Long>
public class EnvironmentDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<EnvironmentEntity,Long>
Created by The eXo Platform SAS- Since:
- Apr 27, 2016
- Author:
- boubaker.khanfir@exoplatform.com
-
-
Constructor Summary
Constructors Constructor Description EnvironmentDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EnvironmentEntity>getAllEnvironments()EnvironmentEntitygetDefaultEnvironmentBySpace(String spaceGroupId)List<EnvironmentEntity>getEnvironmentsBySpace(String spaceGroupId)
-
-
-
Method Detail
-
getEnvironmentsBySpace
public List<EnvironmentEntity> getEnvironmentsBySpace(String spaceGroupId) throws Exception
- Throws:
Exception
-
getDefaultEnvironmentBySpace
public EnvironmentEntity getDefaultEnvironmentBySpace(String spaceGroupId) throws Exception
- Throws:
Exception
-
getAllEnvironments
public List<EnvironmentEntity> getAllEnvironments() throws Exception
- Throws:
Exception
-
-