Class SpaceDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<SpaceEntity,Long>
org.exoplatform.social.core.jpa.storage.dao.jpa.SpaceDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<SpaceEntity,Long>
public class SpaceDAO
extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<SpaceEntity,Long>
-
Field Summary
FieldsFields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcountCommonSpaces(String userId, String otherUserId) intcountSpacesByFilter(XSpaceFilter filter) findSpaceIdsByFilter(XSpaceFilter filter, long offset, long limit) getCommonSpaces(String userId, String otherUserId, int offset, int limit) getLastSpaces(int limit) getSpaceByGroupId(String groupId) getSpaceByPrettyName(String spacePrettyName) getSpaceIdsByFilter(XSpaceFilter filter, long offset, long limit) intgetSpacesCountByFilter(XSpaceFilter filter) Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Field Details
-
PARAM_EXCLUDED_CATEGORY_IDS
- See Also:
-
-
Constructor Details
-
SpaceDAO
public SpaceDAO()
-
-
Method Details
-
getLastSpaces
-
getSpaceByGroupId
-
getSpaceByPrettyName
-
getCommonSpaces
-
countCommonSpaces
-
countSpacesByTemplate
-
getSpaceIdsByFilter
-
getSpacesCountByFilter
-
findSpaceIdsByFilter
-
countSpacesByFilter
-
getSpaceCategoryIds
-