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>
  • Constructor Details

    • SpaceDAO

      public SpaceDAO()
  • Method Details

    • getLastSpaces

      public List<Long> getLastSpaces(int limit)
    • getSpaceByGroupId

      public SpaceEntity getSpaceByGroupId(String groupId)
    • getSpaceByPrettyName

      public SpaceEntity getSpaceByPrettyName(String spacePrettyName)
    • getCommonSpaces

      public List<SpaceEntity> getCommonSpaces(String userId, String otherUserId, int offset, int limit)
    • countCommonSpaces

      public int countCommonSpaces(String userId, String otherUserId)
    • countSpacesByTemplate

      public Map<Long,Long> countSpacesByTemplate()
    • getSpaceIdsByFilter

      public List<Long> getSpaceIdsByFilter(XSpaceFilter filter, long offset, long limit)
    • getSpacesCountByFilter

      public int getSpacesCountByFilter(XSpaceFilter filter)
    • findSpaceIdsByFilter

      public List<Long> findSpaceIdsByFilter(XSpaceFilter filter, long offset, long limit)
    • countSpacesByFilter

      public int countSpacesByFilter(XSpaceFilter filter)