Interface SpaceStorage
public interface SpaceStorage
- Version:
- $Revision$
- Author:
- Alain Defrance
-
Method Summary
Modifier and TypeMethodDescriptiondefault intcountCommonSpaces(String userId, String otherUserId) Count common spaces between two usersdefault intcountExternalMembers(Long spaceId) Counts the number of external users in a specific spacedefault intcountPendingSpaceRequestsToManage(String username) voidDelete external invitationsvoiddeleteSpace(String id) Deletes a space by space id.voiddeleteSpaceExternalInvitation(SpaceExternalInvitation spaceExternalInvitation) Delete an external invitation from a spaceget the list of spaces ids by external emailfindSpaceExternalInvitationById(String invitationId) Get an external invitation by invitation idgetAccessibleSpaces(String userId) Deprecated.4.0.0-RC2getAccessibleSpaces(String userId, long offset, long limit) Gets the spaces of a user which that user has "member" role or edit permission with offset, limit.getAccessibleSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the accessible spaces of the user by filter with offset, limit.intgetAccessibleSpacesByFilterCount(String userId, SpaceFilter spaceFilter) Gets the count of the accessible spaces of the user by filter.intgetAccessibleSpacesCount(String userId) Gets the count of the accessible spaces of the userId.Gets all the spaces.intgetAllSpacesByFilterCount(SpaceFilter spaceFilter) Gets the count of the spaces which are searched by space filter.intGets the count of the spaces.getCommonSpaces(String userId, String otherUserId, int offset, int limit) Get common spaces between two usersgetEditableSpaces(String userId) Gets the spaces of a user which that user has the edit permission.getEditableSpaces(String userId, long offset, long limit) Gets the spaces of a user which that user has the edit permission with offset, limit.getEditableSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the editable spaces of the user by filter with offset, limit.intgetEditableSpacesByFilterCount(String userId, SpaceFilter spaceFilter) Gets the count of the editable spaces of the user by filter.intgetEditableSpacesCount(String userId) Gets the count of the spaces of a user which that user has the edit permission.getFavoriteSpaceIdentityIds(String userIdentityId, SpaceFilter spaceFilter, int offset, int limit) Retrieves the list of favorite SpaceIdentitytechnical identifiersgetFavoriteSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the favorite spaces of the user id by the filter with offset, limit.intgetFavoriteSpacesByFilterCount(String userId, SpaceFilter spaceFilter) Gets the count of the favorite spaces of the user id.getInvitedSpaces(String userId) Gets a user's invited spaces and that user can accept or deny the request.getInvitedSpaces(String userId, long offset, long limit) Gets a user's invited spaces and that user can accept or deny the request with offset, limit.getInvitedSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the invited spaces of the user by space filter with offset, limit.intgetInvitedSpacesByFilterCount(String userId, SpaceFilter spaceFilter) Gets the count of the invited spaces of the user by filter.intgetInvitedSpacesCount(String userId) Gets the count of the invited spaces of the userId.getLastAccessedSpace(SpaceFilter filter, int offset, int limit) Gets list of spaces which user has been last visited.intgetLastAccessedSpaceCount(SpaceFilter filter) Gets number of spaces which user has been last visited.getLastSpaces(int limit) Gets the last spaces that have been created.getManagerRoleSpaceIds(String identityId, int offset, int limit) Retrieves the list ofSpacetechnical identifiersgetManagerSpaces(String userId, long offset, long limit) Gets the spaces that a user has the "manager" role with offset, limit.getManagerSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the manager spaces of the user id by the filter with offset, limit.intgetManagerSpacesByFilterCount(String userId, SpaceFilter spaceFilter) Gets the count of the spaces which user has "manager" role by filter.intgetManagerSpacesCount(String userId) Gets the count of the spaces that a user has the "manager" role.getMemberRoleSpaceIdentityIds(String identityId, int offset, int limit) Retrieves the list of SpaceIdentitytechnical identifiersgetMemberRoleSpaceIds(String identityId, int offset, int limit) Retrieves the list ofSpacetechnical identifiersgetMemberSpaceIds(String identityId, int offset, int limit) Deprecated, for removal: This API element is subject to removal in a future version.usegetMemberRoleSpaceIdentityIds(String, int, int)insteadgetMemberSpaces(String userId) Deprecated.usegetMemberSpaces(String, long, long)instead with offset and limitgetMemberSpaces(String userId, long offset, long limit) Gets the spaces that a user has the "member" role with offset, limit.getMemberSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the member spaces of the user id by the filter with offset, limit.intgetMemberSpacesByFilterCount(String userId, SpaceFilter spaceFilter) Gets the count of the spaces which user has "member" role by filter.intgetMemberSpacesCount(String userId) Gets the count of the spaces that a user has the "member" role.intgetNumberOfMemberPublicSpaces(String userId) Gets the count of the public spaces of the userId.getPendingSpaceRequestsToManage(String username, int offset, int limit) getPendingSpaces(String userId) Gets a user's pending spaces and that the user can revoke that request.getPendingSpaces(String userId, long offset, long limit) Gets a user's pending spaces and that the user can revoke that request with offset, limit.getPendingSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the pending spaces of the user by space filter with offset, limit.intgetPendingSpacesByFilterCount(String userId, SpaceFilter spaceFilter) Gets the count of the pending spaces of the user by space filter.intgetPendingSpacesCount(String userId) Gets the count of the pending spaces of the userId.getPublicSpaces(String userId) Gets a user's public spaces and that user can request to join.getPublicSpaces(String userId, long offset, long limit) Gets a user's public spaces and that user can request to join with offset, limit.getPublicSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the public spaces of the user by filter with offset, limit.intgetPublicSpacesByFilterCount(String userId, SpaceFilter spaceFilter) Gets the count of the public spaces of the user by space filter.intgetPublicSpacesCount(String userId) Gets the count of the public spaces of the userId.getSpaceByDisplayName(String spaceDisplayName) Gets a space by its display name.getSpaceByGroupId(String groupId) Gets a space by its associated group id.getSpaceById(String id) Gets a space by its space id.getSpaceByPrettyName(String spacePrettyName) Gets a space by its pretty name.getSpaceByUrl(String url) Gets a space by its url.getSpaceIdentityIdsByUserRole(String remoteId, String status, int offset, int limit) Retrieves the list of SpaceIdentitytechnical identifiersgetSpaces(long offset, long limit) Gets the spaces with offset, limit.getSpacesByFilter(SpaceFilter spaceFilter, long offset, long limit) Gets the spaces by space filter with offset, limit.Gets a space simple by its space id to aim decrease workload to get full information.getUnifiedSearchSpaces(String userId, SpaceFilter spaceFilter, long offset, long limit) Provides Unified Search to get the spaces of a user which that user has the visible spaces.intgetUnifiedSearchSpacesCount(String userId, SpaceFilter spaceFilter) Provides Unified Search to get the count of the visible spaces of the userId.getVisibleSpaces(String userId, SpaceFilter spaceFilter) Gets the spaces of a user which that user has the "member" role or edit permission.getVisibleSpaces(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the spaces of a user which that user has the visible spaces.intgetVisibleSpacesCount(String userId, SpaceFilter spaceFilter) Gets the count of the visible spaces of the userId.getVisitedSpaces(SpaceFilter filter, int offset, int limit) Get the visited spacesvoidignoreSpace(String spaceId, String userId) update the SpaceMembership between space and userbooleanisSpaceIgnored(String spaceId, String userId) Verify if a space is ignored by the user or not.voidrenameSpace(String remoteId, Space space, String newDisplayName) Renames a space.voidrenameSpace(Space space, String newDisplayName) Renames a space.voidSaves a space.voidsaveSpaceExternalInvitation(String spaceId, String email, String tokenId) Saves a new external invitation in spacevoidupdateSpaceAccessed(String remoteId, Space space) Update accessed space to top of space members list of Identity model
-
Method Details
-
getSpaceByDisplayName
Gets a space by its display name.- Parameters:
spaceDisplayName-- Returns:
- the space with spaceDisplayName that matches the spaceDisplayName input.
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
saveSpace
Saves a space. If isNew is true, creates new space. If not only updates space an saves it.- Parameters:
space-isNew-- Throws:
SpaceStorageException
-
renameSpace
Renames a space.- Parameters:
space-newDisplayName-- Throws:
SpaceStorageException- Since:
- 1.2.8
-
renameSpace
Renames a space.- Parameters:
remoteId- who update Space informationspace-newDisplayName-- Throws:
SpaceStorageException- Since:
- 4.0.0
-
deleteSpace
Deletes a space by space id.- Parameters:
id-- Throws:
SpaceStorageException
-
ignoreSpace
update the SpaceMembership between space and user- Parameters:
spaceId- the space IduserId- user Id
-
isSpaceIgnored
Verify if a space is ignored by the user or not.- Parameters:
spaceId- the id of the spaceuserId- the id of the user- Returns:
- true if user has ignored the space from suggested list
-
getManagerSpacesCount
Gets the count of the spaces that a user has the "manager" role.- Parameters:
userId-- Returns:
- the count of the manager spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getManagerSpacesByFilterCount
Gets the count of the spaces which user has "manager" role by filter.- Parameters:
userId-spaceFilter-- Returns:
- Since:
- 1.2.0-GA
-
getManagerSpaces
Gets the spaces that a user has the "manager" role with offset, limit.- Parameters:
userId-offset-limit-- Returns:
- a list of the manager spaces with offset, limit
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getManagerSpacesByFilter
List<Space> getManagerSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the manager spaces of the user id by the filter with offset, limit.- Parameters:
userId-spaceFilter-offset-limit-- Returns:
- Since:
- 1.2.0-GA
-
getMemberSpacesCount
Gets the count of the spaces that a user has the "member" role.- Parameters:
userId-- Returns:
- the count of the member spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getMemberSpacesByFilterCount
Gets the count of the spaces which user has "member" role by filter.- Parameters:
userId-spaceFilter-- Returns:
- Since:
- 1.2.0-GA
-
getMemberSpaces
Deprecated.usegetMemberSpaces(String, long, long)instead with offset and limitGets the spaces that a user has the "member" role.- Parameters:
userId-- Returns:
- a list of the member spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getMemberSpaces
Gets the spaces that a user has the "member" role with offset, limit.- Parameters:
userId-offset-limit-- Returns:
- a list of the member spaces with offset, limit
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getMemberSpacesByFilter
List<Space> getMemberSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the member spaces of the user id by the filter with offset, limit.- Parameters:
userId-spaceFilter-offset-limit-- Returns:
- Since:
- 1.2.0-GA
-
getFavoriteSpacesByFilterCount
Gets the count of the favorite spaces of the user id.- Parameters:
userId-spaceFilter-- Returns:
- Since:
- 1.2.0-GA
-
getFavoriteSpacesByFilter
List<Space> getFavoriteSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the favorite spaces of the user id by the filter with offset, limit.- Parameters:
userId-spaceFilter-offset-limit-- Returns:
- Since:
- 1.2.0-GA
-
getPendingSpacesCount
Gets the count of the pending spaces of the userId.- Parameters:
userId-- Returns:
- the count of the pending spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getPendingSpacesByFilterCount
Gets the count of the pending spaces of the user by space filter.- Parameters:
userId-spaceFilter-- Returns:
- Since:
- 1.2.0-GA
-
getPendingSpaces
Gets a user's pending spaces and that the user can revoke that request.- Parameters:
userId-- Returns:
- a list of the pending spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getPendingSpaces
Gets a user's pending spaces and that the user can revoke that request with offset, limit.- Parameters:
userId-offset-limit-- Returns:
- a list of the pending spaces with offset, limit
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getPendingSpacesByFilter
List<Space> getPendingSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the pending spaces of the user by space filter with offset, limit.- Parameters:
userId-spaceFilter-offset-limit-- Returns:
- Since:
- 1.2.0-GA
-
getInvitedSpacesCount
Gets the count of the invited spaces of the userId.- Parameters:
userId-- Returns:
- the count of the invited spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getInvitedSpacesByFilterCount
Gets the count of the invited spaces of the user by filter.- Parameters:
userId-spaceFilter-- Returns:
- Since:
- 1.2.0-GA
-
getInvitedSpaces
Gets a user's invited spaces and that user can accept or deny the request.- Parameters:
userId-- Returns:
- a list of the invited spaces.
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getInvitedSpaces
Gets a user's invited spaces and that user can accept or deny the request with offset, limit.- Parameters:
userId-offset-limit-- Returns:
- a list of the invited spaces with offset, limit
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getInvitedSpacesByFilter
List<Space> getInvitedSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the invited spaces of the user by space filter with offset, limit.- Parameters:
userId-spaceFilter-offset-limit-- Returns:
- Since:
- 1.2.0-GA
-
getPublicSpacesCount
Gets the count of the public spaces of the userId.- Parameters:
userId-- Returns:
- the count of the spaces in which the user can request to join
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getPublicSpacesByFilterCount
Gets the count of the public spaces of the user by space filter.- Parameters:
userId-spaceFilter-- Returns:
- Since:
- 1.2.0-GA
-
getPublicSpacesByFilter
List<Space> getPublicSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the public spaces of the user by filter with offset, limit.- Parameters:
userId-spaceFilter-offset-limit-- Returns:
- Since:
- 1.2.0-GA
-
getPublicSpaces
Gets a user's public spaces and that user can request to join.- Parameters:
userId-- Returns:
- spaces list in which the user can request to join.
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getPublicSpaces
Gets a user's public spaces and that user can request to join with offset, limit.- Parameters:
userId-offset-limit-- Returns:
- spaces list in which the user can request to join with offset, limit
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getAccessibleSpacesCount
Gets the count of the accessible spaces of the userId.- Parameters:
userId-- Returns:
- the count of the accessible spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getVisibleSpacesCount
Gets the count of the visible spaces of the userId.- Parameters:
userId-spaceFilter-- Returns:
- Throws:
SpaceStorageException- Since:
- 1.2.5-GA
-
getUnifiedSearchSpacesCount
int getUnifiedSearchSpacesCount(String userId, SpaceFilter spaceFilter) throws SpaceStorageException Provides Unified Search to get the count of the visible spaces of the userId.- Parameters:
userId-spaceFilter-- Returns:
- Throws:
SpaceStorageException- Since:
- 4.0.0-GA
-
getAccessibleSpacesByFilterCount
Gets the count of the accessible spaces of the user by filter.- Parameters:
userId-spaceFilter-- Returns:
- Since:
- 1.2.0-GA
-
getAccessibleSpaces
Deprecated.4.0.0-RC2Gets the spaces of a user which that user has the "member" role or edit permission.- Parameters:
userId- the userId- Returns:
- a list of the accessible spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getVisibleSpaces
List<Space> getVisibleSpaces(String userId, SpaceFilter spaceFilter, long offset, long limit) throws SpaceStorageException Gets the spaces of a user which that user has the visible spaces.- Parameters:
userId- the userId- Returns:
- a list of the accessible spaces
- Throws:
SpaceStorageException- Since:
- 1.2.5-GA
-
getUnifiedSearchSpaces
List<Space> getUnifiedSearchSpaces(String userId, SpaceFilter spaceFilter, long offset, long limit) throws SpaceStorageException Provides Unified Search to get the spaces of a user which that user has the visible spaces.- Parameters:
userId- the userId- Returns:
- a list of the accessible spaces
- Throws:
SpaceStorageException- Since:
- 4.0.0-GA
-
getVisibleSpaces
Gets the spaces of a user which that user has the "member" role or edit permission.- Parameters:
userId- the userId- Returns:
- a list of the accessible spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getAccessibleSpaces
List<Space> getAccessibleSpaces(String userId, long offset, long limit) throws SpaceStorageException Gets the spaces of a user which that user has "member" role or edit permission with offset, limit.- Parameters:
userId- the userIdoffset-limit-- Returns:
- a list of the accessible space with offset, limit
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getAccessibleSpacesByFilter
List<Space> getAccessibleSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the accessible spaces of the user by filter with offset, limit.- Parameters:
userId-spaceFilter-offset-limit-- Returns:
- Since:
- 1.2.0-GA
-
getEditableSpacesCount
Gets the count of the spaces of a user which that user has the edit permission.- Parameters:
userId-- Returns:
- the count of the editable spaces.
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getEditableSpacesByFilterCount
Gets the count of the editable spaces of the user by filter.- Parameters:
userId-spaceFilter-- Returns:
- Since:
- 1.2.0-GA
-
getEditableSpaces
Gets the spaces of a user which that user has the edit permission.- Parameters:
userId-- Returns:
- a list of the editable spaces.
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getEditableSpaces
Gets the spaces of a user which that user has the edit permission with offset, limit.- Parameters:
userId-offset-limit-- Returns:
- a list of the spaces with offset, limit
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getEditableSpacesByFilter
List<Space> getEditableSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the editable spaces of the user by filter with offset, limit.- Parameters:
userId-spaceFilter-offset-limit-- Returns:
- Since:
- 1.2.0-GA
-
getAllSpacesCount
Gets the count of the spaces.- Returns:
- the count of all spaces
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getAllSpaces
Gets all the spaces. By the default get the all spaces with OFFSET = 0, LIMIT = 200;- Returns:
- the list of all spaces
- Throws:
SpaceStorageException
-
getAllSpacesByFilterCount
Gets the count of the spaces which are searched by space filter.- Parameters:
spaceFilter-- Returns:
- Since:
- 1.2.0-GA
-
getSpaces
Gets the spaces with offset, limit.- Parameters:
offset-limit-- Returns:
- the list of the spaces with offset, limit
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getSpacesByFilter
Gets the spaces by space filter with offset, limit.- Parameters:
spaceFilter-offset-limit-- Returns:
- Throws:
SpaceStorageException
-
getSpaceById
Gets a space by its space id.- Parameters:
id-- Returns:
- space with id specified
- Throws:
SpaceStorageException
-
getSpaceSimpleById
Gets a space simple by its space id to aim decrease workload to get full information. It's only to get a little space information such as displayName, groupId, prettyName description, id, avatar ..- Parameters:
id-- Returns:
- space with id specified
- Throws:
SpaceStorageException
-
getSpaceByPrettyName
Gets a space by its pretty name.- Parameters:
spacePrettyName-- Returns:
- the space with spacePrettyName that matches spacePrettyName input.
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getSpaceByGroupId
Gets a space by its associated group id.- Parameters:
groupId-- Returns:
- the space that has group id matching the groupId string input.
- Throws:
SpaceStorageException- Since:
- 1.2.0-GA
-
getSpaceByUrl
Gets a space by its url.- Parameters:
url-- Returns:
- the space with string url specified
- Throws:
SpaceStorageException
-
updateSpaceAccessed
Update accessed space to top of space members list of Identity model- Parameters:
remoteId-space-- Throws:
SpaceStorageException
-
getLastAccessedSpace
List<Space> getLastAccessedSpace(SpaceFilter filter, int offset, int limit) throws SpaceStorageException Gets list of spaces which user has been last visited.- Parameters:
filter-offset- TODOlimit-- Throws:
SpaceStorageException
-
getLastAccessedSpaceCount
Gets number of spaces which user has been last visited.- Parameters:
filter-- Throws:
SpaceStorageException
-
getNumberOfMemberPublicSpaces
Gets the count of the public spaces of the userId.- Parameters:
userId-- Returns:
- number of public space of a user where he is member
- Since:
- 4.0.0.Beta01
-
getVisitedSpaces
List<Space> getVisitedSpaces(SpaceFilter filter, int offset, int limit) throws SpaceStorageException Get the visited spaces- Parameters:
filter-offset-limit-- Returns:
- list of browsed spaces
- Throws:
SpaceStorageException
-
getLastSpaces
Gets the last spaces that have been created.- Parameters:
limit- the limit of spaces to provide.- Returns:
- The last spaces.
- Since:
- 4.0.x
- eXo level API
- Experimental
-
getMemberSpaceIds
@Deprecated(since="6.4.0", forRemoval=true) default List<String> getMemberSpaceIds(String identityId, int offset, int limit) throws SpaceStorageException Deprecated, for removal: This API element is subject to removal in a future version.usegetMemberRoleSpaceIdentityIds(String, int, int)insteadRetrieves the list of SpaceIdentitytechnical identifiers- Parameters:
identityId- userIdentitytechnical identifieroffset- The starting pointlimit- The limitation of returned results- Returns:
Listof spaceIdentitytechnical identifiers- Throws:
SpaceStorageException- Since:
- 6.4.0
-
getSpaceIdentityIdsByUserRole
default List<String> getSpaceIdentityIdsByUserRole(String remoteId, String status, int offset, int limit) Retrieves the list of SpaceIdentitytechnical identifiers -
getFavoriteSpaceIdentityIds
default List<String> getFavoriteSpaceIdentityIds(String userIdentityId, SpaceFilter spaceFilter, int offset, int limit) Retrieves the list of favorite SpaceIdentitytechnical identifiers- Parameters:
userIdentityId- userIdentitytechnical identifierspaceFilter-SpaceFilterused to filter on spacesoffset- The starting pointlimit- The limitation of returned results- Returns:
Listof spaceIdentitytechnical identifiers
-
getMemberRoleSpaceIdentityIds
List<String> getMemberRoleSpaceIdentityIds(String identityId, int offset, int limit) throws SpaceStorageException Retrieves the list of SpaceIdentitytechnical identifiers- Parameters:
identityId- userIdentitytechnical identifieroffset- The starting pointlimit- The limitation of returned results- Returns:
Listof spaceIdentitytechnical identifiers- Throws:
SpaceStorageException
-
getMemberRoleSpaceIds
List<String> getMemberRoleSpaceIds(String identityId, int offset, int limit) throws SpaceStorageException Retrieves the list ofSpacetechnical identifiers- Parameters:
identityId- userIdentitytechnical identifieroffset- The starting pointlimit- The limitation of returned results- Returns:
ListofSpacetechnical identifiers- Throws:
SpaceStorageException
-
getManagerRoleSpaceIds
List<String> getManagerRoleSpaceIds(String identityId, int offset, int limit) throws SpaceStorageException Retrieves the list ofSpacetechnical identifiers- Parameters:
identityId- userIdentitytechnical identifieroffset- The starting pointlimit- The limitation of returned results- Returns:
ListofSpacetechnical identifiers- Throws:
SpaceStorageException
-
findSpaceExternalInvitationsBySpaceId
List<SpaceExternalInvitation> findSpaceExternalInvitationsBySpaceId(String spaceId) throws SpaceStorageException - Parameters:
spaceId-- Returns:
- Throws:
SpaceStorageException
-
saveSpaceExternalInvitation
void saveSpaceExternalInvitation(String spaceId, String email, String tokenId) throws SpaceStorageException Saves a new external invitation in space- Parameters:
spaceId-email-- Throws:
SpaceStorageException
-
findSpaceExternalInvitationById
SpaceExternalInvitation findSpaceExternalInvitationById(String invitationId) throws SpaceStorageException Get an external invitation by invitation id- Parameters:
invitationId-- Throws:
SpaceStorageException
-
deleteSpaceExternalInvitation
void deleteSpaceExternalInvitation(SpaceExternalInvitation spaceExternalInvitation) throws SpaceStorageException Delete an external invitation from a space- Parameters:
spaceExternalInvitation-- Throws:
SpaceStorageException
-
findExternalInvitationsSpacesByEmail
get the list of spaces ids by external email- Parameters:
email-- Throws:
SpaceStorageException
-
deleteExternalUserInvitations
Delete external invitations- Parameters:
email-- Throws:
SpaceStorageException
-
countPendingSpaceRequestsToManage
- Parameters:
username- username used to retrieve user spaces- Returns:
- the count of users requested to join spaces that user manages
-
getPendingSpaceRequestsToManage
-
countExternalMembers
Counts the number of external users in a specific space- Parameters:
spaceId-- Returns:
- counts the external members in the space
-
getCommonSpaces
Get common spaces between two users- Parameters:
userId- connected user idotherUserId- visited profile user id- Returns:
- list of common spaces between two users in param
-
countCommonSpaces
Count common spaces between two users- Parameters:
userId- connected user idotherUserId- visited profile user id- Returns:
- list of common spaces between two users in param
-