Class RDBMSSpaceStorageImpl

java.lang.Object
org.exoplatform.social.core.jpa.storage.RDBMSSpaceStorageImpl
All Implemented Interfaces:
org.exoplatform.social.core.storage.api.SpaceStorage
Direct Known Subclasses:
CachedSpaceStorage

public class RDBMSSpaceStorageImpl extends Object implements org.exoplatform.social.core.storage.api.SpaceStorage
  • Constructor Details

    • RDBMSSpaceStorageImpl

      public RDBMSSpaceStorageImpl(SpaceDAO spaceDAO, SpaceMemberDAO spaceMemberDAO, org.exoplatform.social.core.storage.api.IdentityStorage identityStorage, IdentityDAO identityDAO, ActivityDAO activityDAO, SpaceExternalInvitationDAO spaceExternalInvitationDAO, org.exoplatform.social.metadata.favorite.FavoriteService favoriteService, org.exoplatform.web.security.security.RemindPasswordTokenService remindPasswordTokenService)
  • Method Details

    • deleteSpace

      public void deleteSpace(String id) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      deleteSpace in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getAccessibleSpaces

      public List<org.exoplatform.social.core.space.model.Space> getAccessibleSpaces(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getAccessibleSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getAccessibleSpaces

      public List<org.exoplatform.social.core.space.model.Space> getAccessibleSpaces(String userId, long offset, long limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getAccessibleSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getAccessibleSpacesByFilter

      public List<org.exoplatform.social.core.space.model.Space> getAccessibleSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit)
      Specified by:
      getAccessibleSpacesByFilter in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getAccessibleSpacesByFilterCount

      public int getAccessibleSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter)
      Specified by:
      getAccessibleSpacesByFilterCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getAccessibleSpacesCount

      public int getAccessibleSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getAccessibleSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getAllSpaces

      public List<org.exoplatform.social.core.space.model.Space> getAllSpaces() throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getAllSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getAllSpacesByFilterCount

      public int getAllSpacesByFilterCount(org.exoplatform.social.core.space.SpaceFilter spaceFilter)
      Specified by:
      getAllSpacesByFilterCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getAllSpacesCount

      public int getAllSpacesCount() throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getAllSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getEditableSpaces

      public List<org.exoplatform.social.core.space.model.Space> getEditableSpaces(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getEditableSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getEditableSpaces

      public List<org.exoplatform.social.core.space.model.Space> getEditableSpaces(String userId, long offset, long limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getEditableSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getEditableSpacesByFilter

      public List<org.exoplatform.social.core.space.model.Space> getEditableSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit)
      Specified by:
      getEditableSpacesByFilter in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getEditableSpacesByFilterCount

      public int getEditableSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter)
      Specified by:
      getEditableSpacesByFilterCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getEditableSpacesCount

      public int getEditableSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getEditableSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getInvitedSpaces

      public List<org.exoplatform.social.core.space.model.Space> getInvitedSpaces(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getInvitedSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getInvitedSpaces

      public List<org.exoplatform.social.core.space.model.Space> getInvitedSpaces(String userId, long offset, long limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getInvitedSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getInvitedSpacesByFilter

      public List<org.exoplatform.social.core.space.model.Space> getInvitedSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit)
      Specified by:
      getInvitedSpacesByFilter in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getInvitedSpacesByFilterCount

      public int getInvitedSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter)
      Specified by:
      getInvitedSpacesByFilterCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getInvitedSpacesCount

      public int getInvitedSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getInvitedSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getLastAccessedSpace

      public List<org.exoplatform.social.core.space.model.Space> getLastAccessedSpace(org.exoplatform.social.core.space.SpaceFilter spaceFilter, int offset, int limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getLastAccessedSpace in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getLastAccessedSpaceCount

      public int getLastAccessedSpaceCount(org.exoplatform.social.core.space.SpaceFilter spaceFilter) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getLastAccessedSpaceCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getLastSpaces

      public List<org.exoplatform.social.core.space.model.Space> getLastSpaces(int limit)
      Specified by:
      getLastSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getManagerSpaces

      public List<org.exoplatform.social.core.space.model.Space> getManagerSpaces(String userId, long offset, long limit)
      Specified by:
      getManagerSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getManagerSpacesByFilter

      public List<org.exoplatform.social.core.space.model.Space> getManagerSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit)
      Specified by:
      getManagerSpacesByFilter in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getManagerSpacesCount

      public int getManagerSpacesCount(String userId)
      Specified by:
      getManagerSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getManagerSpacesByFilterCount

      public int getManagerSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter)
      Specified by:
      getManagerSpacesByFilterCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getSpaceIdentityIdsByUserRole

      public List<String> getSpaceIdentityIdsByUserRole(String remoteId, String status, int offset, int limit)
      Specified by:
      getSpaceIdentityIdsByUserRole in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getFavoriteSpaceIdentityIds

      public List<String> getFavoriteSpaceIdentityIds(String userIdentityId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, int offset, int limit)
      Specified by:
      getFavoriteSpaceIdentityIds in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getMemberRoleSpaceIdentityIds

      public List<String> getMemberRoleSpaceIdentityIds(String identityId, int offset, int limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getMemberRoleSpaceIdentityIds in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getMemberRoleSpaceIds

      public List<String> getMemberRoleSpaceIds(String identityId, int offset, int limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getMemberRoleSpaceIds in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getManagerRoleSpaceIds

      public List<String> getManagerRoleSpaceIds(String identityId, int offset, int limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getManagerRoleSpaceIds in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getMemberSpaces

      public List<org.exoplatform.social.core.space.model.Space> getMemberSpaces(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getMemberSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getMemberSpaces

      public List<org.exoplatform.social.core.space.model.Space> getMemberSpaces(String userId, long offset, long limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getMemberSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getMemberSpacesByFilter

      public List<org.exoplatform.social.core.space.model.Space> getMemberSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit)
      Specified by:
      getMemberSpacesByFilter in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getFavoriteSpacesByFilter

      public List<org.exoplatform.social.core.space.model.Space> getFavoriteSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit)
      Specified by:
      getFavoriteSpacesByFilter in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getFavoriteSpacesByFilterCount

      public int getFavoriteSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter)
      Specified by:
      getFavoriteSpacesByFilterCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getMemberSpacesByFilterCount

      public int getMemberSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter)
      Specified by:
      getMemberSpacesByFilterCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getMemberSpacesCount

      public int getMemberSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getMemberSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getNumberOfMemberPublicSpaces

      public int getNumberOfMemberPublicSpaces(String userId)
      Specified by:
      getNumberOfMemberPublicSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getPendingSpaces

      public List<org.exoplatform.social.core.space.model.Space> getPendingSpaces(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getPendingSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getPendingSpaces

      public List<org.exoplatform.social.core.space.model.Space> getPendingSpaces(String userId, long offset, long limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getPendingSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getPendingSpacesByFilter

      public List<org.exoplatform.social.core.space.model.Space> getPendingSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit)
      Specified by:
      getPendingSpacesByFilter in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getPendingSpacesByFilterCount

      public int getPendingSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter)
      Specified by:
      getPendingSpacesByFilterCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getPendingSpacesCount

      public int getPendingSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getPendingSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getPublicSpaces

      public List<org.exoplatform.social.core.space.model.Space> getPublicSpaces(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getPublicSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getPublicSpaces

      public List<org.exoplatform.social.core.space.model.Space> getPublicSpaces(String userId, long offset, long limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getPublicSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getPublicSpacesByFilter

      public List<org.exoplatform.social.core.space.model.Space> getPublicSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit)
      Specified by:
      getPublicSpacesByFilter in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getPublicSpacesByFilterCount

      public int getPublicSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter)
      Specified by:
      getPublicSpacesByFilterCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getPublicSpacesCount

      public int getPublicSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getPublicSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getSpaceByDisplayName

      public org.exoplatform.social.core.space.model.Space getSpaceByDisplayName(String spaceDisplayName) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getSpaceByDisplayName in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getSpaceByGroupId

      public org.exoplatform.social.core.space.model.Space getSpaceByGroupId(String groupId) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getSpaceByGroupId in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getSpaceById

      public org.exoplatform.social.core.space.model.Space getSpaceById(String id) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getSpaceById in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getSpaceByPrettyName

      public org.exoplatform.social.core.space.model.Space getSpaceByPrettyName(String spacePrettyName) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getSpaceByPrettyName in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getSpaceByUrl

      public org.exoplatform.social.core.space.model.Space getSpaceByUrl(String url) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getSpaceByUrl in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getSpaceSimpleById

      public org.exoplatform.social.core.space.model.Space getSpaceSimpleById(String id) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getSpaceSimpleById in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getSpaces

      public List<org.exoplatform.social.core.space.model.Space> getSpaces(long offset, long limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getSpacesByFilter

      public List<org.exoplatform.social.core.space.model.Space> getSpacesByFilter(org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit)
      Specified by:
      getSpacesByFilter in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getUnifiedSearchSpaces

      public List<org.exoplatform.social.core.space.model.Space> getUnifiedSearchSpaces(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getUnifiedSearchSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getUnifiedSearchSpacesCount

      public int getUnifiedSearchSpacesCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getUnifiedSearchSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getVisibleSpaces

      public List<org.exoplatform.social.core.space.model.Space> getVisibleSpaces(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getVisibleSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getVisibleSpaces

      public List<org.exoplatform.social.core.space.model.Space> getVisibleSpaces(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getVisibleSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getVisibleSpacesCount

      public int getVisibleSpacesCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getVisibleSpacesCount in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getVisitedSpaces

      public List<org.exoplatform.social.core.space.model.Space> getVisitedSpaces(org.exoplatform.social.core.space.SpaceFilter spaceFilter, int offset, int limit) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      getVisitedSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • getSpaceMembershipDate

      public Instant getSpaceMembershipDate(long spaceId, String username)
      Specified by:
      getSpaceMembershipDate in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • renameSpace

      public void renameSpace(org.exoplatform.social.core.space.model.Space space, String newDisplayName) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      renameSpace in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • ignoreSpace

      public void ignoreSpace(String spaceId, String userId)
      Specified by:
      ignoreSpace in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • isSpaceIgnored

      public boolean isSpaceIgnored(String spaceId, String userId)
      Specified by:
      isSpaceIgnored in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • saveSpace

      public void saveSpace(org.exoplatform.social.core.space.model.Space space, boolean isNew) throws org.exoplatform.social.core.storage.SpaceStorageException
      Specified by:
      saveSpace in interface org.exoplatform.social.core.storage.api.SpaceStorage
      Throws:
      org.exoplatform.social.core.storage.SpaceStorageException
    • updateSpaceAccessed

      public void updateSpaceAccessed(String remoteId, org.exoplatform.social.core.space.model.Space space)
      Specified by:
      updateSpaceAccessed in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getPendingSpaceRequestsToManage

      public List<org.exoplatform.social.core.space.model.Space> getPendingSpaceRequestsToManage(String username, int offset, int limit)
      Specified by:
      getPendingSpaceRequestsToManage in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • countPendingSpaceRequestsToManage

      public int countPendingSpaceRequestsToManage(String username)
      Specified by:
      countPendingSpaceRequestsToManage in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • findSpaceExternalInvitationsBySpaceId

      public List<org.exoplatform.social.core.model.SpaceExternalInvitation> findSpaceExternalInvitationsBySpaceId(String spaceId)
      Specified by:
      findSpaceExternalInvitationsBySpaceId in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • saveSpaceExternalInvitation

      public void saveSpaceExternalInvitation(String spaceId, String email, String tokenId)
      Specified by:
      saveSpaceExternalInvitation in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • findSpaceExternalInvitationById

      public org.exoplatform.social.core.model.SpaceExternalInvitation findSpaceExternalInvitationById(String invitationId)
      Specified by:
      findSpaceExternalInvitationById in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • deleteSpaceExternalInvitation

      public void deleteSpaceExternalInvitation(org.exoplatform.social.core.model.SpaceExternalInvitation spaceExternalInvitation)
      Specified by:
      deleteSpaceExternalInvitation in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • findExternalInvitationsSpacesByEmail

      public List<String> findExternalInvitationsSpacesByEmail(String email)
      Specified by:
      findExternalInvitationsSpacesByEmail in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • deleteExternalUserInvitations

      public void deleteExternalUserInvitations(String email)
      Specified by:
      deleteExternalUserInvitations in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • setIdentityStorage

      public void setIdentityStorage(org.exoplatform.social.core.storage.api.IdentityStorage identityStorage)
    • countExternalMembers

      public int countExternalMembers(Long spaceId)
      Specified by:
      countExternalMembers in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • getCommonSpaces

      public List<org.exoplatform.social.core.space.model.Space> getCommonSpaces(String userId, String otherUserId, int offset, int limit)
      Specified by:
      getCommonSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage
    • countCommonSpaces

      public int countCommonSpaces(String userId, String otherUserId)
      Specified by:
      countCommonSpaces in interface org.exoplatform.social.core.storage.api.SpaceStorage