Interface SpaceService
public interface SpaceService
Provides methods to work with Space.
- Since:
- Aug 29, 2008
-
Method Summary
Modifier and TypeMethodDescriptionvoidacceptInvitation(String spaceId, String username) Deprecated, for removal: This API element is subject to removal in a future version.voidacceptInvitation(Space space, String username) Deprecated.voidactivateApplication(String spaceId, String appId) Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymorevoidactivateApplication(Space space, String appId) Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymorevoidaddInvitedUser(Space space, String username) Adds a user to the list of users who are invited to join a space.voidDeprecated.voidAdds a user to a space.voidaddPendingUser(Space space, String username) Adds a user to the list of pending requests for joining a space.default voidaddPublisher(Space space, String username) Assigns the "publisher" role to a user in a space.default voidaddRedactor(Space space, String username) Assigns the "redactor" role to a user in a space.default booleancanAccessSpacePublicSite(Space space, String username) Checks whether the user can access Space Public Site or notdefault booleancanManageSpace(Space space, String username) checks whether the user can manage the space or notdefault booleancanPublishOnSpace(Space space, String username) checks whether the user can publish content in a space or notdefault booleancanRedactOnSpace(Space space, String username) checks whether the user can add content on space or notdefault booleancanRedactOnSpace(Space space, org.exoplatform.services.security.Identity viewer) checks whether the user can add content on space or notdefault booleancanViewSpace(Space space, String username) checks whether the user can view the space or notcreateSpace(Space space, String creatorUsername) Creates a new space: creating a group, its group navigation with pages for installing space applications.createSpace(Space space, String creator, List<Identity> identitiesToInvite) Creates a new space and invites all users from identitiesToInvite to join this newly created space.voiddeactivateApplication(String spaceId, String appId) Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymorevoiddeactivateApplication(Space space, String appId) Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymorevoiddeclineRequest(String spaceId, String username) Deprecated, for removal: This API element is subject to removal in a future version.voiddeclineRequest(Space space, String username) Deprecated, for removal: This API element is subject to removal in a future version.default voiddelete external invitationsvoiddeleteSpace(String spaceId) Deprecated.voiddeleteSpace(Space space) Deletes a space.default voiddeleteSpace(Space space, boolean deleteGroup) Deletes a space without deleting the user's group.default voiddeleteSpaceExternalInvitation(String invitationId) delete an external invitation from a spacevoiddenyInvitation(String spaceId, String username) Deprecated, for removal: This API element is subject to removal in a future version.voiddenyInvitation(Space space, String username) Deprecated, for removal: This API element is subject to removal in a future version.default List<SpaceExternalInvitation> org.exoplatform.commons.utils.ListAccess<Space> getAccessibleSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the access permission.org.exoplatform.commons.utils.ListAccess<Space> getAccessibleSpacesWithListAccess(String username) Gets a list access containing all spaces that a user has the access permission.org.exoplatform.commons.utils.ListAccess<Space> getAllSpacesByFilter(SpaceFilter spaceFilter) Gets a list access that contains all spaces matching with a filter.org.exoplatform.commons.utils.ListAccess<Space> Gets a list access that contains all spaces.default org.exoplatform.commons.utils.ListAccess<Space> getCommonSpaces(String username, String otherUsername) Gets a list access containing all common spaces between two usersdefault org.exoplatform.commons.utils.ListAccess<Space> getFavoriteSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list of favorite spaces of a user.org.exoplatform.commons.utils.ListAccess<Space> getInvitedSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user is invited to join.org.exoplatform.commons.utils.ListAccess<Space> getInvitedSpacesWithListAccess(String username) Gets a list access containing all spaces that a user is invited to join.org.exoplatform.commons.utils.ListAccess<Space> getLastAccessedSpace(String remoteId, String appId) Gets a list of the most recently accessed spaces of a user.getLastAccessedSpace(String remoteId, String appId, int offset, int limit) Gets a list of the most recently accessed spaces of a user.getLastSpaces(int limit) Gets the last spaces that have been created.default org.exoplatform.commons.utils.ListAccess<Space> getManagerSpaces(String username) Gets a list access containing all spaces that a user has the "manager" role.default org.exoplatform.commons.utils.ListAccess<Space> getManagerSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the "manager" role.getManagerSpacesIds(String username, int offset, int limit) Gets aListof Space technical identifiers where the user has the "manager" role.getMembers(String spaceId) Deprecated.UseSpace.getMembers()instead.getMembers(Space space) Deprecated.UseSpace.getMembers()instead.org.exoplatform.commons.utils.ListAccess<Space> getMemberSpaces(String username) Gets a list access containing all spaces that a user has the "member" role.org.exoplatform.commons.utils.ListAccess<Space> getMemberSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the "member" role.getMemberSpacesIds(String username, int offset, int limit) Gets aListof Space technical identifiers where the user has the "member" role.default org.exoplatform.commons.utils.ListAccess<Space> getPendingSpaceRequestsToManage(String remoteId) Retrieves the list of pending 'requests to join' a space that the user managesorg.exoplatform.commons.utils.ListAccess<Space> getPendingSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user sent a request for joining a space.org.exoplatform.commons.utils.ListAccess<Space> getPendingSpacesWithListAccess(String username) Gets a list access containing all spaces that a user sent a request for joining a space.org.exoplatform.commons.utils.ListAccess<Space> getPublicSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user can request to join.org.exoplatform.commons.utils.ListAccess<Space> getPublicSpacesWithListAccess(String username) Gets a list access containing all spaces that a user can request to join.org.exoplatform.commons.utils.ListAccess<Space> getSettingabledSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the setting permission.org.exoplatform.commons.utils.ListAccess<Space> getSettingableSpaces(String username) Gets a list access containing all spaces that a user has the setting permission.getSpaceByDisplayName(String spaceDisplayName) Gets a space by its display name.getSpaceByGroupId(String groupId) Gets a space by its group Id.getSpaceById(String spaceId) Gets a space by its Id.getSpaceByPrettyName(String spacePrettyName) Gets a space by its pretty name.getSpaceByUrl(String spaceUrl) Gets a space by its URL.default SpaceExternalInvitationgetSpaceExternalInvitationById(String invitationId) Gets a Space external invitation by its Id.default InstantgetSpaceMembershipDate(long spaceId, String username) Retrieves the Space Membership datedefault StringgetSpacePublicSiteName(Space space) getUnifiedSearchSpacesWithListAccess(String username, SpaceFilter spaceFilter) Provides the Unified Search feature to get spaces that a user can see.getVisibleSpaces(String username, SpaceFilter spaceFilter) Gets spaces that a given user can see.getVisibleSpacesWithListAccess(String username, SpaceFilter spaceFilter) Gets spaces that a given user can see.org.exoplatform.commons.utils.ListAccess<Space> getVisitedSpaces(String remoteId, String appId) Gets the list of spaces which are visited by usersbooleanhasAccessPermission(String spaceId, String username) Deprecated.booleanhasAccessPermission(Space space, String username) Checks if a given user can access a space or not.booleanhasEditPermission(String spaceId, String username) Deprecated.booleanhasEditPermission(Space space, String username) Deprecated.default booleanhasRedactor(Space space) Checks if a given space has at least one "redactor"booleanhasSettingPermission(Space space, String username) Checks if a given user has the setting permission to a space or not.voidinstallApplication(Space space, String appId) Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymoredefault voidinviteIdentities(Space space, List<Identity> identitiesToInvite) Invites users or members of spaces identified by identities list into a a designated spacevoidinviteMember(String spaceId, String username) Deprecated, for removal: This API element is subject to removal in a future version.voidinviteMember(Space space, String username) Deprecated, for removal: This API element is subject to removal in a future version.default booleanisContentManager(String username) Checks if the user is a content manager of all spacesdefault booleanisContentPublisher(String username) Checks if the user is a content publisher of all spacesdefault booleanChecks if a user is in the list of users who have ignored the space.booleanDeprecated.booleanDeprecated.booleanisInvitedUser(Space space, String username) Checks if a user is in the list of users who are invited to join a space.booleanChecks if a given user has the "manager" role in a space.booleanDeprecated.booleanChecks if a given user is member of space or not.booleanisOnlyManager(Space space, String username) Checks if a given user is the only one who has the "manager" role in a space.booleanDeprecated.booleanDeprecated.booleanisPendingUser(Space space, String username) Checks if a user is in the list of pending requests for joining a space.default booleanisPublisher(Space space, String username) Checks if a given user has the "publisher" role in a space.default booleanisRedactor(Space space, String username) Checks if a given user has the "redactor" role in a space.default booleanisSpaceContainsExternals(Long spaceId) Checks if a specific space contains external usersbooleanisSuperManager(String username) Checks if the user is a super manager of all spacesdefault voidmoveApplication(String spaceId, String appId, int transition) voidRegisters a space lifecycle listener.voidregisterSpaceListenerPlugin(SpaceListenerPlugin spaceListenerPlugin) Registers a space listener plugin to listen to space lifecyle events: creating, updating, installing an application, and more.voidremoveApplication(String spaceId, String appId, String appName) Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymorevoidremoveApplication(Space space, String appId, String appName) Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymorevoidremoveInvitedUser(Space space, String username) Removes a user from the list of users who are invited to join a space.voidremoveMember(String spaceId, String username) Deprecated.voidremoveMember(Space space, String username) Removes a member from a space.voidremovePendingUser(Space space, String username) Removes a user from a list of pending requests for joining a space.default voidremovePublisher(Space space, String username) Removes the "publisher" role of a user in a space.default voidremoveRedactor(Space space, String username) Removes the "redactor" role of a user in a space.voidrenameSpace(Space space, String newDisplayName) Renames a space.voidrenameSpace(Space space, String newDisplayName, String username) Renames a space by an identity who has rights of super admin.voidrequestJoin(String spaceId, String username) Deprecated, for removal: This API element is subject to removal in a future version.voidrequestJoin(Space space, String username) Deprecated, for removal: This API element is subject to removal in a future version.default voidrestoreSpacePageLayout(String spaceId, String appId, org.exoplatform.services.security.Identity identity) Restores a page layout to its default associated to Space TemplatevoidrevokeInvitation(String spaceId, String username) Deprecated, for removal: This API element is subject to removal in a future version.voidrevokeInvitation(Space space, String username) Deprecated, for removal: This API element is subject to removal in a future version.voidrevokeRequestJoin(String spaceId, String username) Deprecated, for removal: This API element is subject to removal in a future version.voidrevokeRequestJoin(Space space, String username) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated.default voidsaveSpaceExternalInvitation(String spaceId, String email, String tokenId) Add an external invitation to spacedefault voidsaveSpacePublicSite(String spaceId, String publicSiteVisibility, String username) Saves the space public site characteristicsdefault voidsaveSpacePublicSite(Space space, String publicSiteVisibility) Saves the space public site characteristicsdefault voidsetIgnored(String spaceId, String username) Assigns the user who has ignored the space.voidsetManager(Space space, String username, boolean isManager) Assigns the "manager" role to a user in a space.voidUnregisters a space lifecycle listener.voidunregisterSpaceListenerPlugin(SpaceListenerPlugin spaceListenerPlugin) Unregisters an existing space listener plugin.updateSpace(Space existingSpace) Updates information of a space.default SpaceupdateSpace(Space existingSpace, List<Identity> identitiesToInvite) Updates information of a space and invites all users from identitiesToInvite to join this space.voidupdateSpaceAccessed(String remoteId, Space space) Updates the most recently accessed space of a user to the top of spaces list.updateSpaceAvatar(Space existingSpace, String username) Updates a space's avatar.updateSpaceBanner(Space existingSpace, String username) Updates a space's avatar.voidvalidateRequest(String spaceId, String username) Deprecated, for removal: This API element is subject to removal in a future version.voidvalidateRequest(Space space, String username) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getSpaceByDisplayName
Gets a space by its display name.- Parameters:
spaceDisplayName- The space display name.- Returns:
- The space.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getSpaceByPrettyName
Gets a space by its pretty name.- Parameters:
spacePrettyName- The space's pretty name.- Returns:
- The space.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getSpaceByGroupId
Gets a space by its group Id.- Parameters:
groupId- The group Id.- Returns:
- The space.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getSpaceById
Gets a space by its Id.- Parameters:
spaceId- Id of the space.- Returns:
- The space.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getSpaceByUrl
Gets a space by its URL.- Parameters:
spaceUrl- URL of the space.- Returns:
- The space.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getAllSpacesWithListAccess
org.exoplatform.commons.utils.ListAccess<Space> getAllSpacesWithListAccess()Gets a list access that contains all spaces.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getAllSpacesByFilter
Gets a list access that contains all spaces matching with a filter.- Parameters:
spaceFilter- The space filter.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getManagerSpaces
Gets a list access containing all spaces that a user has the "manager" role.- Parameters:
username- The remote user Id.- Returns:
- The list access.
- eXo level API
- Platform
-
getManagerSpacesByFilter
default org.exoplatform.commons.utils.ListAccess<Space> getManagerSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the "manager" role. This list access matches with the provided space filter.- Parameters:
username- The remote user Id.spaceFilter- The space filter.- Returns:
- The list access.
- eXo level API
- Platform
-
getMemberSpaces
Gets a list access containing all spaces that a user has the "member" role.- Parameters:
username- The remote user Id.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getMemberSpacesByFilter
org.exoplatform.commons.utils.ListAccess<Space> getMemberSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the "member" role. This list access matches with the provided space filter.- Parameters:
username- The remote user Id.spaceFilter- The space filter.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getFavoriteSpacesByFilter
default org.exoplatform.commons.utils.ListAccess<Space> getFavoriteSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list of favorite spaces of a user. This list access matches with the provided space filter.- Parameters:
username- The remote Id of userspaceFilter-SpaceFilterused to filter on spaces- Returns:
ListAccessofSpacemarked as favorite of user- Since:
- Meeds 1.4.0
-
getAccessibleSpacesWithListAccess
Gets a list access containing all spaces that a user has the access permission.- Parameters:
username- The remote user Id.- Returns:
- The space list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getAccessibleSpacesByFilter
org.exoplatform.commons.utils.ListAccess<Space> getAccessibleSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the access permission. This list access matches with the provided space filter.- Parameters:
username- The remote user Id.spaceFilter- The provided space filter.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getSettingableSpaces
Gets a list access containing all spaces that a user has the setting permission.- Parameters:
username- The remote user Id.- Returns:
- The space list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getSettingabledSpacesByFilter
org.exoplatform.commons.utils.ListAccess<Space> getSettingabledSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the setting permission. This list access matches with the provided space filter.- Parameters:
username- The remote user Id.spaceFilter- The provided space filter.- Returns:
- The space list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getInvitedSpacesWithListAccess
Gets a list access containing all spaces that a user is invited to join.- Parameters:
username- The remote user Id.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getInvitedSpacesByFilter
org.exoplatform.commons.utils.ListAccess<Space> getInvitedSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user is invited to join. This list access matches with the provided space filter.- Parameters:
username- The remote user Id.spaceFilter- The provided space filter.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getPublicSpacesWithListAccess
Gets a list access containing all spaces that a user can request to join.- Parameters:
username- The remote user Id.- Returns:
- The space list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getPublicSpacesByFilter
org.exoplatform.commons.utils.ListAccess<Space> getPublicSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user can request to join. This list access matches with the provided space filter.- Parameters:
username- The remote user Id.spaceFilter- The provided space filter.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getPendingSpacesWithListAccess
Gets a list access containing all spaces that a user sent a request for joining a space.- Parameters:
username- The remote user Id.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getPendingSpacesByFilter
org.exoplatform.commons.utils.ListAccess<Space> getPendingSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user sent a request for joining a space. This list access matches with the provided space filter.- Parameters:
username- The remote user Id.spaceFilter- The provided space filter.- Returns:
- The list access.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
createSpace
Creates a new space: creating a group, its group navigation with pages for installing space applications.- Parameters:
space- The space to be created.creatorUsername- The remote user Id.- Returns:
- The created space.
- eXo level API
- Platform
-
updateSpace
Updates information of a space and invites all users from identitiesToInvite to join this space.- Parameters:
existingSpace- The existing space to be updated.identitiesToInvite- The list of identities who are invited to join the space. Identity could be of type user or space- Returns:
- updated space entity
-
updateSpace
Updates information of a space.- Parameters:
existingSpace- The existing space to be updated.- Returns:
- The updated space.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
updateSpaceAvatar
Updates a space's avatar.- Parameters:
existingSpace- The existing space to be updated.username- user making the modification- Returns:
- The updated space.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
updateSpaceBanner
Updates a space's avatar.- Parameters:
existingSpace- The existing space to be updated.username- user making the modification- Returns:
- The updated space.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
deleteSpace
Deletes a space. When a space is deleted, all of its page navigations and its group will be deleted.- Parameters:
space- The space to be deleted.- eXo level API
- Platform
-
deleteSpace
Deletes a space without deleting the user's group. When a space is deleted, all of its page navigations and its group will be deleted.- Parameters:
space- The space to be deleted.- eXo level API
- Platform
-
addPendingUser
Adds a user to the list of pending requests for joining a space.- Parameters:
space- The exising space.username- The remote user Id.- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
removePendingUser
Removes a user from a list of pending requests for joining a space.- Parameters:
space- The existing space.username- The remote user Id.- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
isPendingUser
Checks if a user is in the list of pending requests for joining a space.- Parameters:
space- The existing space.username- The remote user Id.- Returns:
- TRUE if the user request is pending. Otherwise, it is FALSE.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
addInvitedUser
Adds a user to the list of users who are invited to join a space.- Parameters:
space- The existing space.username- The remote user Id.- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
removeInvitedUser
Removes a user from the list of users who are invited to join a space.- Parameters:
space- The existing space.username- The remote user Id.- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
isInvitedUser
Checks if a user is in the list of users who are invited to join a space.- Parameters:
space- The existing space.username- The remote user Id.- Returns:
- TRUE if the user is in the list of invited users. Otherwise, it is FALSE.
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
addMember
Adds a user to a space. The user will get the "member" role in a space.- Parameters:
space- The existing space.username- The remote user Id.- eXo level API
- Platform
-
removeMember
Removes a member from a space.- Parameters:
space- The existing space.username- The remote user Id.- eXo level API
- Platform
-
isMember
Checks if a given user is member of space or not.- Parameters:
space- The existing space.username- The remote user Id.- Returns:
- TRUE if the user is member. Otherwise, it is FALSE.
- eXo level API
- Platform
-
addRedactor
Assigns the "redactor" role to a user in a space.- Parameters:
space- The space that its user is assigned to redactor.username- The remote user Id.- eXo level API
- Platform
-
removeRedactor
Removes the "redactor" role of a user in a space.- Parameters:
space- The space that its user is assigned to redactor.username- The remote user Id.- eXo level API
- Platform
-
isRedactor
Checks if a given user has the "redactor" role in a space.- Parameters:
space- The space that its user is checked if he has the "redactor" role or not.username- The remote user Id.- Returns:
- "True" if the user has the "redactor" role. Otherwise, it returns "false".
- eXo level API
- Platform
-
addPublisher
Assigns the "publisher" role to a user in a space.- Parameters:
space- The space that its user is assigned to publisher.username- The remote user Id.- eXo level API
- Platform
-
removePublisher
Removes the "publisher" role of a user in a space.- Parameters:
space- The space that its user is assigned to publisher.username- The remote user Id.- eXo level API
- Platform
-
isPublisher
Checks if a given user has the "publisher" role in a space.- Parameters:
space- The space that its user is checked if he has the "publisher" role or not.username- The remote user Id.- Returns:
- "True" if the user has the "publisher" role. Otherwise, it returns "false".
- eXo level API
- Platform
-
hasRedactor
Checks if a given space has at least one "redactor"- Parameters:
space- The space that its user is checked if he has the "redactor" role or not.- Returns:
- true if the user has a "redactor" role into it
-
canRedactOnSpace
checks whether the user can add content on space or not- Parameters:
space-Spaceviewer-Identity- Returns:
- true if can add content, else false
-
canRedactOnSpace
checks whether the user can add content on space or not- Parameters:
space-Spaceusername-- Returns:
- true if can add content, else false
-
canPublishOnSpace
checks whether the user can publish content in a space or not- Parameters:
space-Spaceusername-- Returns:
- true if can publish content, else false
-
canManageSpace
checks whether the user can manage the space or not- Parameters:
space-Spaceusername-- Returns:
- true if can manage the space, else false
-
canViewSpace
checks whether the user can view the space or not- Parameters:
space-Spaceusername-- Returns:
- true if can view the space, else false
-
canAccessSpacePublicSite
Checks whether the user can access Space Public Site or not- Parameters:
space-Spaceusername- User name identifier- Returns:
- true if can access sitch Space Settings else false
-
setManager
Assigns the "manager" role to a user in a space.- Parameters:
space- The space that its user is assigned to manager.username- The remote user Id.isManager- "True" if the user gets the "manager" role. "False" if the user only gets the "member" role.- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
isManager
Checks if a given user has the "manager" role in a space.- Parameters:
space- The space that its user is checked if he has the "manager" role or not.username- The remote user Id.- Returns:
- "True" if the user has the "manager" role. Otherwise, it returns "false".
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
isOnlyManager
Checks if a given user is the only one who has the "manager" role in a space.- Parameters:
space- The space that its user is checked if he is the only manager or not.username- The remote user Id.- Returns:
- "True" if the user Id is the only one who has "manager" role in the space. Otherwise, it returns "false".
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
hasAccessPermission
Checks if a given user can access a space or not.- Parameters:
space- The space that its user is checked if he can access it.username- The remote user Id.- Returns:
- "True" if the access permission is allowed. Otherwise, it returns "false".
- eXo level API
- Platform
-
hasSettingPermission
Checks if a given user has the setting permission to a space or not.- Parameters:
space- The space that its user is checked if he has the setting permission or not.username- The remote user Id.- Returns:
- If the user is root or the space's member, "true" is returned. Otherwise, it returns "false".
- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
registerSpaceListenerPlugin
Registers a space listener plugin to listen to space lifecyle events: creating, updating, installing an application, and more.- Parameters:
spaceListenerPlugin- The space listener plugin to be registered.- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
unregisterSpaceListenerPlugin
Unregisters an existing space listener plugin.- Parameters:
spaceListenerPlugin- The space listener plugin to be unregistered.- Since:
- 1.2.0-GA
- eXo level API
- Platform
-
getVisibleSpaces
Gets spaces that a given user can see.- Parameters:
username- Id of the user.spaceFilter- Condition by which spaces are filtered.- Returns:
- The list of spaces.
- Throws:
SpaceException- Since:
- 1.2.5-GA
- eXo level API
- Platform
-
getVisibleSpacesWithListAccess
Gets spaces that a given user can see.- Parameters:
username- Id of the user.spaceFilter- The condition by which spaces are filtered.- Returns:
- The list of spaces.
- Since:
- 1.2.5-GA
- eXo level API
- Platform
-
getUnifiedSearchSpacesWithListAccess
Provides the Unified Search feature to get spaces that a user can see.- Parameters:
username- Id of the user.spaceFilter- The condition by which spaces are filtered.- Returns:
- The list of spaces.
- Since:
- 4.0.0-GA
- eXo level API
- Platform
-
createSpace
Space createSpace(Space space, String creator, List<Identity> identitiesToInvite) throws SpaceException Creates a new space and invites all users from identitiesToInvite to join this newly created space.- Parameters:
space- The space to be created.creator- The user who creates the space.identitiesToInvite- The list of identities who are invited to join the space. Identity could be of type user or space- Returns:
- The space.
- Throws:
SpaceException- with possible code SpaceException.Code.SPACE_ALREADY_EXIST; UNABLE_TO_ADD_CREATOR
-
saveSpace
Deprecated.UseupdateSpace(org.exoplatform.social.core.space.model.Space)instead. Will be removed by 4.0.x.Saves a new space or updates a space.- Parameters:
space- The space to be saved or updated.isNew- "True" if a new space is created. "False" if an existing space is updated.- Throws:
SpaceException- with code: SpaceException.Code.ERROR_DATASTORE- eXo level API
- Provisional
-
renameSpace
Renames a space.- Parameters:
space- The space to be renamed.newDisplayName- New name of the space.- Throws:
SpaceException- Since:
- 1.2.8
- eXo level API
- Platform
-
renameSpace
Renames a space by an identity who has rights of super admin.- Parameters:
space- The space to be renamed.newDisplayName- New name of the space.username- The identity who has renamed a space.- Throws:
SpaceException- Since:
- 4.0.0
- eXo level API
- Platform
-
deleteSpace
Deprecated.UsedeleteSpace(org.exoplatform.social.core.space.model.Space)instead. Will be removed by 4.0.x.Deletes a space by its Id.- Parameters:
spaceId- Id of the deleted space.- Throws:
SpaceException- eXo level API
- Provisional
-
addMember
Deprecated.UseaddMember(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Adds a user to space as "member".- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
removeMember
Deprecated.UseremoveMember(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Removes a member from space.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
getMembers
Deprecated.UseSpace.getMembers()instead. Will be removed by 4.0.x.Gets a list of members from a given space.- Parameters:
space- The space.- Returns:
- The list of space members.
- Throws:
SpaceException- eXo level API
- Provisional
-
getMembers
Deprecated.UseSpace.getMembers()instead. Will be removed by 4.0.x.Gets a list of members from a given space.- Parameters:
spaceId- Id of the space.- Returns:
- The list of space members.
- Throws:
SpaceException- eXo level API
- Provisional
-
isMember
Deprecated.UseisMember(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Checks if a given user is space member or not.- Parameters:
spaceId- Id of the space.username- Id of user (remoteId).- Returns:
- "True" if the user is space member. Otherwise, it returns "false".
- Throws:
SpaceException- eXo level API
- Provisional
-
hasAccessPermission
Deprecated.UsehasAccessPermission(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Checks if a user can access a space or not. If the user is root or the space's member, the "true" value is returned.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Returns:
- "True" if the user has the access permission. "False" if the user does not have the access permission.
- Throws:
SpaceException- eXo level API
- Provisional
-
hasEditPermission
Deprecated.UsehasSettingPermission(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Checks if a user has the edit permission on a space or not. If the user is root or the space's manager, "true" is returned.- Parameters:
space- The provided space.username- Id of the user (remoteId).- Returns:
- "True" if the user has the edit permission. "False" if the user does not have the edit permission.
- Throws:
SpaceException- eXo level API
- Provisional
-
hasEditPermission
Deprecated.UsehasSettingPermission(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Checks if a user has the edit permission on a space. If user is root or the space's manager, "true" is returned.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Returns:
- "True" if the user has the edit permission. "False" if the user does not have the edit permission.
- Throws:
SpaceException- eXo level API
- Provisional
-
isInvited
Deprecated.UseisInvitedUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Checks if a user is in the list of invited users of a space.- Parameters:
space- The provided space.username- Id of the user (remoteId).- Returns:
- "True" if the user is in the list of invited users. Otherwise, it returns "false".
- Throws:
SpaceException- eXo level API
- Provisional
-
isInvited
Deprecated.UseisInvitedUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Checks if a user is in the list of invited users of a space.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Returns:
- "True" if the user is in the list of invited users. Otherwise, it returns "false".
- Throws:
SpaceException- eXo level API
- Provisional
-
isPending
Deprecated.UseisPendingUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Checks if a user is in the list of pending users of a space or not.- Parameters:
space- The space.username- Id of the user (remoteId).- Returns:
- "True" if the user is in the list of pending users. Otherwise, it returns "false".
- Throws:
SpaceException- eXo level API
- Provisional
-
isPending
Deprecated.UseisPendingUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Checks if a user is in the list of pending users of a space.- Parameters:
spaceId- Id of the user.username- Id of the user (remoteId).- Returns:
- "True" if the user is in the list of pending users. Otherwise, it returns "false".
- Throws:
SpaceException- eXo level API
- Provisional
-
isIgnored
Checks if a user is in the list of users who have ignored the space.- Parameters:
space- The existing space.username- The remote user Id.- Returns:
- TRUE if the space is an ignored space. Otherwise, it is FALSE.
-
setIgnored
Assigns the user who has ignored the space.- Parameters:
spaceId- The Id of the space ignored by the user.username- The remote user Id.
-
restoreSpacePageLayout
default void restoreSpacePageLayout(String spaceId, String appId, org.exoplatform.services.security.Identity identity) throws IllegalAccessException, SpaceException Restores a page layout to its default associated to Space Template- Parameters:
spaceId-Spacetechnical identifierappId- Id of the installed application or can be 'home' to designate the space home pageidentity- userIdentitymaking the change- Throws:
IllegalAccessException- when current user doesn't have permission to manage spacesSpaceException- when error reading Space identified by its id
-
installApplication
@Deprecated(since="7.0", forRemoval=true) void installApplication(Space space, String appId) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymoreInstalls an application in a space.- Parameters:
space- The space that the application is installed.appId- Id of the installed application.- Throws:
SpaceException- with code SpaceException.Code.ERROR_DATA_STORE- eXo level API
- Platform
-
activateApplication
@Deprecated(since="7.0", forRemoval=true) void activateApplication(Space space, String appId) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymoreActivates an installed application in a space.- Parameters:
space- The space that the installed application is activated.appId- Id of the installed application.- Throws:
SpaceException- with possible code: SpaceException.Code.UNABLE_TO_ADD_APPLICATION, SpaceExeption.Code.ERROR_DATA_STORE- eXo level API
- Platform
-
activateApplication
@Deprecated(since="7.0", forRemoval=true) void activateApplication(String spaceId, String appId) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymoreActivates an installed application in a space.- Parameters:
spaceId- Id of the space that the installed application is activated.appId- Id of the installed application.- Throws:
SpaceException- with possible code: SpaceException.Code.UNABLE_TO_ADD_APPLICATION, SpaceExeption.Code.ERROR_DATA_STORE- eXo level API
- Platform
-
deactivateApplication
@Deprecated(since="7.0", forRemoval=true) void deactivateApplication(Space space, String appId) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymoreDeactivates an installed application in a space.- Parameters:
space- The space that the installed application is deactivated.appId- Id of the installed application.- Throws:
SpaceException- eXo level API
- Platform
-
deactivateApplication
@Deprecated(since="7.0", forRemoval=true) void deactivateApplication(String spaceId, String appId) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymoreDeactivates an installed application in a space.- Parameters:
spaceId- Id of the space that the installed application is deactivated.appId- Id of the installed application.- Throws:
SpaceException- eXo level API
- Platform
-
removeApplication
@Deprecated(since="7.0", forRemoval=true) void removeApplication(Space space, String appId, String appName) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymoreRemoves an installed application from a space.- Parameters:
space- The space that the installed application is removed.appId- Id of the installed application.- Throws:
SpaceException- eXo level API
- Platform
-
removeApplication
@Deprecated(since="7.0", forRemoval=true) void removeApplication(String spaceId, String appId, String appName) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.the spaces pages aren't managed through applications anymore, thus this operation isn't needed anymoreRemoves an installed application from a space.- Parameters:
spaceId- Id of the space that the installed application is removed.appId- Id of the installed application.- Throws:
SpaceException- eXo level API
- Platform
-
updateSpaceAccessed
Updates the most recently accessed space of a user to the top of spaces list.- Parameters:
remoteId- The remote Id of the user.space- The last accessed space of the user.- Throws:
SpaceException- eXo level API
- Platform
-
getLastAccessedSpace
List<Space> getLastAccessedSpace(String remoteId, String appId, int offset, int limit) throws SpaceException Gets a list of the most recently accessed spaces of a user.- Parameters:
remoteId- The remote Id of user.appId- Id of the installed application in a space.offset- The starting point to get the most recently accessed spaces.limit- The limitation of the most recently accessed spaces.- Throws:
SpaceException- eXo level API
- Platform
-
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
-
getLastAccessedSpace
Gets a list of the most recently accessed spaces of a user.- Parameters:
remoteId- The remote Id of a user.appId- Id of the installed application in a space.- eXo level API
- Platform
-
requestJoin
@Deprecated(since="4.0", forRemoval=true) void requestJoin(Space space, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseaddPendingUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Requests to join a space, then adds the requester to the list of pending spaces.- Parameters:
space- The space which the user requests to join.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
requestJoin
@Deprecated(since="4.0", forRemoval=true) void requestJoin(String spaceId, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseaddPendingUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Requests to join a space, then adds the requester to the list of pending spaces.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
revokeRequestJoin
@Deprecated(since="4.0", forRemoval=true) void revokeRequestJoin(Space space, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseremovePendingUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Revokes a request to join a space.- Parameters:
space- The space which the user requests to join.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
revokeRequestJoin
@Deprecated(since="4.0", forRemoval=true) void revokeRequestJoin(String spaceId, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseremovePendingUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Revokes a request to join a space.- Parameters:
spaceId- Id of the space.username- Id of the user.- Throws:
SpaceException- eXo level API
- Provisional
-
inviteMember
@Deprecated(since="4.0", forRemoval=true) void inviteMember(Space space, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseaddInvitedUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Invites a user to become a space member.- Parameters:
space- The space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
inviteMember
@Deprecated(since="4.0", forRemoval=true) void inviteMember(String spaceId, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseaddInvitedUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Invites a user to become a space member.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
revokeInvitation
@Deprecated(since="4.0", forRemoval=true) void revokeInvitation(Space space, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseremoveInvitedUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Revokes an invitation - Removes the user from the list of invited users of the space.- Parameters:
space- The space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
revokeInvitation
@Deprecated(since="4.0", forRemoval=true) void revokeInvitation(String spaceId, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseremoveInvitedUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Revokes an invitation - Removes the user from the list of invited users of the space.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
acceptInvitation
Deprecated.UseaddMember(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Accepts an invitation - Moves the user from the invited users list to the members list.- Parameters:
space- The space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
acceptInvitation
@Deprecated(since="4.0", forRemoval=true) void acceptInvitation(String spaceId, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseaddMember(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Accepts an invitation - Moves the user from the invited users list to the members list.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
denyInvitation
@Deprecated(since="4.0", forRemoval=true) void denyInvitation(Space space, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseremoveInvitedUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Denies an invitation - Removes the user from the list of invited users.- Parameters:
space- The space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
denyInvitation
@Deprecated(since="4.0", forRemoval=true) void denyInvitation(String spaceId, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseremoveInvitedUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Denies an invitation - Removes the user from the list of invited users.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
validateRequest
@Deprecated(since="4.0", forRemoval=true) void validateRequest(Space space, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseaddMember(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Validates a request - Moves the user from the pending users list to the members list.- Parameters:
space- The space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
validateRequest
@Deprecated(since="4.0", forRemoval=true) void validateRequest(String spaceId, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseaddMember(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Validates a request - Moves the user from the pending users list to the members list.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
declineRequest
@Deprecated(since="4.0", forRemoval=true) void declineRequest(Space space, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseremovePendingUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Declines a request - Removes the user from the pending users list.- Parameters:
space- The space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
declineRequest
@Deprecated(since="4.0", forRemoval=true) void declineRequest(String spaceId, String username) throws SpaceException Deprecated, for removal: This API element is subject to removal in a future version.UseremovePendingUser(org.exoplatform.social.core.space.model.Space, String)instead. Will be removed by 4.0.x.Declines a request - Removes the user from the pending users list.- Parameters:
spaceId- Id of the space.username- Id of the user (remoteId).- Throws:
SpaceException- eXo level API
- Provisional
-
registerSpaceLifeCycleListener
Registers a space lifecycle listener.- Parameters:
listener- The space lifecycle listener to be registered.
-
unregisterSpaceLifeCycleListener
Unregisters a space lifecycle listener.- Parameters:
listener- The space lifecycle listener to be unregistered.
-
getVisitedSpaces
Gets the list of spaces which are visited by users- Parameters:
remoteId-appId-- Returns:
-
isSuperManager
Checks if the user is a super manager of all spaces- Parameters:
username- user name- Returns:
- true if the user is member of super administrators groups, else false
-
isContentManager
Checks if the user is a content manager of all spaces- Parameters:
username- user name- Returns:
- true if the user is a content manager
-
isContentPublisher
Checks if the user is a content publisher of all spaces- Parameters:
username- user name- Returns:
- true if the user is a content publisher
-
inviteIdentities
Invites users or members of spaces identified by identities list into a a designated space -
isSpaceContainsExternals
Checks if a specific space contains external users- Parameters:
spaceId-- Returns:
- true if the space contains external users
-
getPendingSpaceRequestsToManage
default org.exoplatform.commons.utils.ListAccess<Space> getPendingSpaceRequestsToManage(String remoteId) Retrieves the list of pending 'requests to join' a space that the user manages- Parameters:
remoteId-- Returns:
ListAccessofSpacewith pending users requesting to join spaces that the designated user manages
-
moveApplication
- Parameters:
spaceId- technical id of the spaceappId- application identifiertransition- how much levels to move up or down an application- Throws:
SpaceException
-
findSpaceExternalInvitationsBySpaceId
- Returns:
- a list of external invitations in space
-
saveSpaceExternalInvitation
Add an external invitation to space- Parameters:
spaceId-email-tokenId-
-
getSpaceExternalInvitationById
Gets a Space external invitation by its Id.- Parameters:
invitationId-
-
deleteSpaceExternalInvitation
delete an external invitation from a space- Parameters:
invitationId-
-
findExternalInvitationsSpacesByEmail
- Parameters:
email-- Returns:
- a list of spaces ids by external email
-
deleteExternalUserInvitations
delete external invitations- Parameters:
email-
-
getCommonSpaces
default org.exoplatform.commons.utils.ListAccess<Space> getCommonSpaces(String username, String otherUsername) Gets a list access containing all common spaces between two users- Parameters:
username- current user idotherUsername- visited profile user id- Returns:
- list of common spaces between two users in param
-
getMemberSpacesIds
Gets aListof Space technical identifiers where the user has the "member" role.- Parameters:
username- The remote user Id.offset- The starting pointlimit- The limitation of returned results- Returns:
Listof Space technical identifiers
-
getManagerSpacesIds
Gets aListof Space technical identifiers where the user has the "manager" role.- Parameters:
username- The remote user Id.offset- The starting pointlimit- The limitation of returned results- Returns:
Listof Space technical identifiers
-
getSpaceMembershipDate
Retrieves the Space Membership date -
saveSpacePublicSite
default void saveSpacePublicSite(String spaceId, String publicSiteVisibility, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException Saves the space public site characteristics- Parameters:
spaceId-publicSiteVisibility- Visibility of public site, possible values: manager, member, internal, authenticated or everyone.username- user identifier who's making the operation- Throws:
IllegalAccessException- whenorg.exoplatform.commons.exception.ObjectNotFoundException
-
saveSpacePublicSite
Saves the space public site characteristics- Parameters:
space-SpacepublicSiteVisibility- Visibility of public site, possible values: manager, member, internal, authenticated or everyone.
-
getSpacePublicSiteName
- Parameters:
space-Space- Returns:
- Public site name if exists, else null
-
addMember(org.exoplatform.social.core.space.model.Space, String)instead.