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 Summary
ConstructorsConstructorDescriptionRDBMSSpaceStorageImpl(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 Summary
Modifier and TypeMethodDescriptionintcountCommonSpaces(String userId, String otherUserId) intcountExternalMembers(Long spaceId) intcountPendingSpaceRequestsToManage(String username) voidvoiddeleteSpace(String id) voiddeleteSpaceExternalInvitation(org.exoplatform.social.core.model.SpaceExternalInvitation spaceExternalInvitation) org.exoplatform.social.core.model.SpaceExternalInvitationfindSpaceExternalInvitationById(String invitationId) List<org.exoplatform.social.core.model.SpaceExternalInvitation> List<org.exoplatform.social.core.space.model.Space> getAccessibleSpaces(String userId) List<org.exoplatform.social.core.space.model.Space> getAccessibleSpaces(String userId, long offset, long limit) List<org.exoplatform.social.core.space.model.Space> getAccessibleSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetAccessibleSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) intgetAccessibleSpacesCount(String userId) List<org.exoplatform.social.core.space.model.Space> intgetAllSpacesByFilterCount(org.exoplatform.social.core.space.SpaceFilter spaceFilter) intList<org.exoplatform.social.core.space.model.Space> getCommonSpaces(String userId, String otherUserId, int offset, int limit) List<org.exoplatform.social.core.space.model.Space> getEditableSpaces(String userId) List<org.exoplatform.social.core.space.model.Space> getEditableSpaces(String userId, long offset, long limit) List<org.exoplatform.social.core.space.model.Space> getEditableSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetEditableSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) intgetEditableSpacesCount(String userId) getFavoriteSpaceIdentityIds(String userIdentityId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, int offset, int limit) List<org.exoplatform.social.core.space.model.Space> getFavoriteSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetFavoriteSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) List<org.exoplatform.social.core.space.model.Space> getInvitedSpaces(String userId) List<org.exoplatform.social.core.space.model.Space> getInvitedSpaces(String userId, long offset, long limit) List<org.exoplatform.social.core.space.model.Space> getInvitedSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetInvitedSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) intgetInvitedSpacesCount(String userId) List<org.exoplatform.social.core.space.model.Space> getLastAccessedSpace(org.exoplatform.social.core.space.SpaceFilter spaceFilter, int offset, int limit) intgetLastAccessedSpaceCount(org.exoplatform.social.core.space.SpaceFilter spaceFilter) List<org.exoplatform.social.core.space.model.Space> getLastSpaces(int limit) getManagerRoleSpaceIds(String identityId, int offset, int limit) List<org.exoplatform.social.core.space.model.Space> getManagerSpaces(String userId, long offset, long limit) List<org.exoplatform.social.core.space.model.Space> getManagerSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetManagerSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) intgetManagerSpacesCount(String userId) getMemberRoleSpaceIdentityIds(String identityId, int offset, int limit) getMemberRoleSpaceIds(String identityId, int offset, int limit) List<org.exoplatform.social.core.space.model.Space> getMemberSpaces(String userId) List<org.exoplatform.social.core.space.model.Space> getMemberSpaces(String userId, long offset, long limit) List<org.exoplatform.social.core.space.model.Space> getMemberSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetMemberSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) intgetMemberSpacesCount(String userId) intgetNumberOfMemberPublicSpaces(String userId) List<org.exoplatform.social.core.space.model.Space> getPendingSpaceRequestsToManage(String username, int offset, int limit) List<org.exoplatform.social.core.space.model.Space> getPendingSpaces(String userId) List<org.exoplatform.social.core.space.model.Space> getPendingSpaces(String userId, long offset, long limit) List<org.exoplatform.social.core.space.model.Space> getPendingSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetPendingSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) intgetPendingSpacesCount(String userId) List<org.exoplatform.social.core.space.model.Space> getPublicSpaces(String userId) List<org.exoplatform.social.core.space.model.Space> getPublicSpaces(String userId, long offset, long limit) List<org.exoplatform.social.core.space.model.Space> getPublicSpacesByFilter(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetPublicSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) intgetPublicSpacesCount(String userId) org.exoplatform.social.core.space.model.SpacegetSpaceByDisplayName(String spaceDisplayName) org.exoplatform.social.core.space.model.SpacegetSpaceByGroupId(String groupId) org.exoplatform.social.core.space.model.SpacegetSpaceById(String id) org.exoplatform.social.core.space.model.SpacegetSpaceByPrettyName(String spacePrettyName) org.exoplatform.social.core.space.model.SpacegetSpaceByUrl(String url) getSpaceIdentityIdsByUserRole(String remoteId, String status, int offset, int limit) getSpaceMembershipDate(long spaceId, String username) List<org.exoplatform.social.core.space.model.Space> getSpaces(long offset, long limit) List<org.exoplatform.social.core.space.model.Space> getSpacesByFilter(org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) org.exoplatform.social.core.space.model.SpaceList<org.exoplatform.social.core.space.model.Space> getUnifiedSearchSpaces(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetUnifiedSearchSpacesCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) List<org.exoplatform.social.core.space.model.Space> getVisibleSpaces(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) List<org.exoplatform.social.core.space.model.Space> getVisibleSpaces(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter, long offset, long limit) intgetVisibleSpacesCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) List<org.exoplatform.social.core.space.model.Space> getVisitedSpaces(org.exoplatform.social.core.space.SpaceFilter spaceFilter, int offset, int limit) voidignoreSpace(String spaceId, String userId) booleanisSpaceIgnored(String spaceId, String userId) voidrenameSpace(org.exoplatform.social.core.space.model.Space space, String newDisplayName) voidsaveSpace(org.exoplatform.social.core.space.model.Space space, boolean isNew) voidsaveSpaceExternalInvitation(String spaceId, String email, String tokenId) voidsetIdentityStorage(org.exoplatform.social.core.storage.api.IdentityStorage identityStorage) voidupdateSpaceAccessed(String remoteId, org.exoplatform.social.core.space.model.Space space) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.social.core.storage.api.SpaceStorage
getMemberSpaceIds
-
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
- Specified by:
deleteSpacein interfaceorg.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:
getAccessibleSpacesin interfaceorg.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:
getAccessibleSpacesin interfaceorg.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:
getAccessibleSpacesByFilterin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getAccessibleSpacesByFilterCount
public int getAccessibleSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getAccessibleSpacesByFilterCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getAccessibleSpacesCount
public int getAccessibleSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException - Specified by:
getAccessibleSpacesCountin interfaceorg.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:
getAllSpacesin interfaceorg.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:
getAllSpacesByFilterCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getAllSpacesCount
public int getAllSpacesCount() throws org.exoplatform.social.core.storage.SpaceStorageException- Specified by:
getAllSpacesCountin interfaceorg.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:
getEditableSpacesin interfaceorg.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:
getEditableSpacesin interfaceorg.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:
getEditableSpacesByFilterin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getEditableSpacesByFilterCount
public int getEditableSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getEditableSpacesByFilterCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getEditableSpacesCount
public int getEditableSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException - Specified by:
getEditableSpacesCountin interfaceorg.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:
getInvitedSpacesin interfaceorg.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:
getInvitedSpacesin interfaceorg.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:
getInvitedSpacesByFilterin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getInvitedSpacesByFilterCount
public int getInvitedSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getInvitedSpacesByFilterCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getInvitedSpacesCount
public int getInvitedSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException - Specified by:
getInvitedSpacesCountin interfaceorg.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:
getLastAccessedSpacein interfaceorg.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:
getLastAccessedSpaceCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage- Throws:
org.exoplatform.social.core.storage.SpaceStorageException
-
getLastSpaces
- Specified by:
getLastSpacesin interfaceorg.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:
getManagerSpacesin interfaceorg.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:
getManagerSpacesByFilterin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getManagerSpacesCount
- Specified by:
getManagerSpacesCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getManagerSpacesByFilterCount
public int getManagerSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getManagerSpacesByFilterCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getSpaceIdentityIdsByUserRole
public List<String> getSpaceIdentityIdsByUserRole(String remoteId, String status, int offset, int limit) - Specified by:
getSpaceIdentityIdsByUserRolein interfaceorg.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:
getFavoriteSpaceIdentityIdsin interfaceorg.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:
getMemberRoleSpaceIdentityIdsin interfaceorg.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:
getMemberRoleSpaceIdsin interfaceorg.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:
getManagerRoleSpaceIdsin interfaceorg.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:
getMemberSpacesin interfaceorg.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:
getMemberSpacesin interfaceorg.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:
getMemberSpacesByFilterin interfaceorg.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:
getFavoriteSpacesByFilterin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getFavoriteSpacesByFilterCount
public int getFavoriteSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getFavoriteSpacesByFilterCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getMemberSpacesByFilterCount
public int getMemberSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getMemberSpacesByFilterCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getMemberSpacesCount
public int getMemberSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException - Specified by:
getMemberSpacesCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage- Throws:
org.exoplatform.social.core.storage.SpaceStorageException
-
getNumberOfMemberPublicSpaces
- Specified by:
getNumberOfMemberPublicSpacesin interfaceorg.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:
getPendingSpacesin interfaceorg.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:
getPendingSpacesin interfaceorg.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:
getPendingSpacesByFilterin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getPendingSpacesByFilterCount
public int getPendingSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getPendingSpacesByFilterCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getPendingSpacesCount
public int getPendingSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException - Specified by:
getPendingSpacesCountin interfaceorg.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:
getPublicSpacesin interfaceorg.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:
getPublicSpacesin interfaceorg.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:
getPublicSpacesByFilterin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getPublicSpacesByFilterCount
public int getPublicSpacesByFilterCount(String userId, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getPublicSpacesByFilterCountin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
getPublicSpacesCount
public int getPublicSpacesCount(String userId) throws org.exoplatform.social.core.storage.SpaceStorageException - Specified by:
getPublicSpacesCountin interfaceorg.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:
getSpaceByDisplayNamein interfaceorg.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:
getSpaceByGroupIdin interfaceorg.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:
getSpaceByIdin interfaceorg.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:
getSpaceByPrettyNamein interfaceorg.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:
getSpaceByUrlin interfaceorg.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:
getSpaceSimpleByIdin interfaceorg.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:
getSpacesin interfaceorg.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:
getSpacesByFilterin interfaceorg.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:
getUnifiedSearchSpacesin interfaceorg.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:
getUnifiedSearchSpacesCountin interfaceorg.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:
getVisibleSpacesin interfaceorg.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:
getVisibleSpacesin interfaceorg.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:
getVisibleSpacesCountin interfaceorg.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:
getVisitedSpacesin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage- Throws:
org.exoplatform.social.core.storage.SpaceStorageException
-
getSpaceMembershipDate
- Specified by:
getSpaceMembershipDatein interfaceorg.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:
renameSpacein interfaceorg.exoplatform.social.core.storage.api.SpaceStorage- Throws:
org.exoplatform.social.core.storage.SpaceStorageException
-
ignoreSpace
- Specified by:
ignoreSpacein interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
isSpaceIgnored
- Specified by:
isSpaceIgnoredin interfaceorg.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:
saveSpacein interfaceorg.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:
updateSpaceAccessedin interfaceorg.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:
getPendingSpaceRequestsToManagein interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
countPendingSpaceRequestsToManage
- Specified by:
countPendingSpaceRequestsToManagein interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
findSpaceExternalInvitationsBySpaceId
public List<org.exoplatform.social.core.model.SpaceExternalInvitation> findSpaceExternalInvitationsBySpaceId(String spaceId) - Specified by:
findSpaceExternalInvitationsBySpaceIdin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
saveSpaceExternalInvitation
- Specified by:
saveSpaceExternalInvitationin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
findSpaceExternalInvitationById
public org.exoplatform.social.core.model.SpaceExternalInvitation findSpaceExternalInvitationById(String invitationId) - Specified by:
findSpaceExternalInvitationByIdin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
deleteSpaceExternalInvitation
public void deleteSpaceExternalInvitation(org.exoplatform.social.core.model.SpaceExternalInvitation spaceExternalInvitation) - Specified by:
deleteSpaceExternalInvitationin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
findExternalInvitationsSpacesByEmail
- Specified by:
findExternalInvitationsSpacesByEmailin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
deleteExternalUserInvitations
- Specified by:
deleteExternalUserInvitationsin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
setIdentityStorage
public void setIdentityStorage(org.exoplatform.social.core.storage.api.IdentityStorage identityStorage) -
countExternalMembers
- Specified by:
countExternalMembersin interfaceorg.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:
getCommonSpacesin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-
countCommonSpaces
- Specified by:
countCommonSpacesin interfaceorg.exoplatform.social.core.storage.api.SpaceStorage
-