Uses of Class
org.exoplatform.social.core.space.model.Space
Packages that use Space
Package
Description
Provides classes that are necessary to control spaces and their lifecycles.
-
Uses of Space in org.exoplatform.social.core.identity
Constructors in org.exoplatform.social.core.identity with parameters of type SpaceModifierConstructorDescriptionSpaceMemberFilterListAccess(IdentityStorage identityStorage, Space space, ProfileFilter filter) The constructor.SpaceMemberFilterListAccess(IdentityStorage identityStorage, Space space, ProfileFilter filter, SpaceMemberFilterListAccess.Type type) The constructor. -
Uses of Space in org.exoplatform.social.core.manager
Methods in org.exoplatform.social.core.manager with parameters of type SpaceModifier and TypeMethodDescriptionorg.exoplatform.commons.utils.ListAccess<Identity> IdentityManager.getSpaceIdentityByProfileFilter(Space space, ProfileFilter profileFilter, SpaceMemberFilterListAccess.Type type, boolean isProfileLoaded) Gets space identities by filter information. -
Uses of Space in org.exoplatform.social.core.space
Methods in org.exoplatform.social.core.space with parameters of type SpaceModifier and TypeMethodDescriptionvoidSpaceLifecycle.activateApplication(Space space, String appId) voidSpaceLifecycle.addApplication(Space space, String appId) voidSpaceLifecycle.addInvitedUser(Space space, String userId) voidSpaceLifecycle.addPendingUser(Space space, String userId) voidSpaceLifecycle.deactivateApplication(Space space, String appId) abstract booleanvoidSpaceLifecycle.grantedLead(Space space, String userId) voidSpaceLifecycle.memberJoined(Space space, String userId) voidSpaceLifecycle.memberLeft(Space space, String userId) voidSpaceLifecycle.removeApplication(Space space, String appId) voidSpaceLifecycle.removeInvitedUser(Space space, String userId) voidSpaceLifecycle.removePendingUser(Space space, String userId) voidSpaceLifecycle.revokedLead(Space space, String userId) voidSpaceLifecycle.spaceAccessEdited(Space space, String userId) voidSpaceLifecycle.spaceAvatarEdited(Space space, String userId) voidSpaceLifecycle.spaceBannerEdited(Space space, String userId) voidSpaceLifecycle.spaceCreated(Space space, String creator) voidSpaceLifecycle.spaceDescriptionEdited(Space space, String userId) voidSpaceLifecycle.spacePublicSiteCreated(Space space, String userId) voidSpaceLifecycle.spacePublicSiteUpdated(Space space, String userId) voidSpaceLifecycle.spaceRegistrationEdited(Space space, String userId) voidSpaceLifecycle.spaceRemoved(Space space, String remover) voidSpaceLifecycle.spaceRenamed(Space space, String userId) -
Uses of Space in org.exoplatform.social.core.space.spi
Methods in org.exoplatform.social.core.space.spi that return SpaceModifier and TypeMethodDescriptiondefault SpaceSpaceService.createSpace(Space space, String creatorUsername) Creates a new space: creating a group, its group navigation with pages for installing space applications.default SpaceSpaceService.createSpace(Space space, String creator, List<Identity> identitiesToInvite) Creates a new space and invites all users from identitiesToInvite to join this newly created space.SpaceLifeCycleEvent.getSpace()space where the event occursdefault SpaceSpaceService.getSpaceByDisplayName(String spaceDisplayName) Gets a space by its display name.default SpaceSpaceService.getSpaceByGroupId(String groupId) Gets a space by its group Id.default SpaceSpaceService.getSpaceById(String spaceId) Gets a space by its Id.default SpaceSpaceService.getSpaceByPrettyName(String spacePrettyName) Gets a space by its pretty name.default SpaceSpaceService.getSpaceByUrl(String spaceUrl) Gets a space by its URL.default SpaceSpaceService.updateSpace(Space existingSpace) Updates information of a space.default SpaceSpaceService.updateSpace(Space existingSpace, List<Identity> identitiesToInvite) Updates information of a space and invites all users from identitiesToInvite to join this space.default SpaceSpaceService.updateSpaceAvatar(Space existingSpace, String username) Updates a space's avatar.default SpaceSpaceService.updateSpaceBanner(Space existingSpace, String username) Updates a space's avatar.Methods in org.exoplatform.social.core.space.spi that return types with arguments of type SpaceModifier and TypeMethodDescriptiondefault org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getAccessibleSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the access permission.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getAccessibleSpacesWithListAccess(String username) Gets a list access containing all spaces that a user has the access permission.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getAllSpacesByFilter(SpaceFilter spaceFilter) Gets a list access that contains all spaces matching with a filter.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getAllSpacesWithListAccess()Gets a list access that contains all spaces.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getCommonSpaces(String username, String otherUsername) Gets a list access containing all common spaces between two usersdefault org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getFavoriteSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list of favorite spaces of a user.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getInvitedSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user is invited to join.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getInvitedSpacesWithListAccess(String username) Gets a list access containing all spaces that a user is invited to join.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getLastAccessedSpace(String remoteId) Gets a list of the most recently accessed spaces of a user.SpaceService.getLastSpaces(int limit) Gets the last spaces that have been created.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getManagerSpaces(String username) Gets a list access containing all spaces that a user has the "manager" role.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getManagerSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the "manager" role.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getMemberSpaces(String username) Gets a list access containing all spaces that a user has the "member" role.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getMemberSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user has the "member" role.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getPendingSpaceRequestsToManage(String remoteId) Retrieves the list of pending 'requests to join' a space that the user managesdefault org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getPendingSpacesByFilter(String username, SpaceFilter spaceFilter) Gets a list access containing all spaces that a user sent a request for joining a space.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getPendingSpacesWithListAccess(String username) Gets a list access containing all spaces that a user sent a request for joining a space.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getVisibleSpacesWithListAccess(String username, SpaceFilter spaceFilter) Gets spaces that a given user can see.default org.exoplatform.commons.utils.ListAccess<Space> SpaceService.getVisitedSpaces(String remoteId) Gets the list of spaces which are visited by usersMethods in org.exoplatform.social.core.space.spi with parameters of type SpaceModifier and TypeMethodDescriptionvoidSpaceApplicationHandler.activateApplication(Space space, String appId, String appName) Activates an installed application in a space.default voidSpaceService.activateApplication(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 voidSpaceService.addInvitedUser(Space space, String username) Adds a user to the list of users who are invited to join a space.default voidAdds a user to a space.default voidSpaceService.addPendingUser(Space space, String username) Adds a user to the list of pending requests for joining a space.default voidSpaceService.addPublisher(Space space, String username) Assigns the "publisher" role to a user in a space.default voidSpaceService.addRedactor(Space space, String username) Assigns the "redactor" role to a user in a space.default booleanSpaceService.canAccessSpacePublicSite(Space space, String username) Checks whether the user can access Space Public Site or notdefault booleanSpaceService.canManageSpace(Space space, String username) checks whether the user can manage the space or notdefault booleanSpaceService.canPublishOnSpace(Space space, String username) checks whether the user can publish content in a space or notdefault booleanSpaceService.canRedactOnSpace(Space space, String username) checks whether the user can add content on space or notdefault booleanSpaceService.canRedactOnSpace(Space space, org.exoplatform.services.security.Identity viewer) checks whether the user can add content on space or notdefault booleanSpaceService.canViewSpace(Space space, String username) checks whether the user can view the space or notdefault voidSpaceService.createSpace(Space space) Saves a new space or updates a space.default SpaceSpaceService.createSpace(Space space, String creatorUsername) Creates a new space: creating a group, its group navigation with pages for installing space applications.default SpaceSpaceService.createSpace(Space space, String creator, List<Identity> identitiesToInvite) Creates a new space and invites all users from identitiesToInvite to join this newly created space.longSpaceTemplateService.createSpacePublicSite(Space space, String publicSiteName, String publicSiteLabel, String[] accessPermissions) Creates a public site for the designated spacedefault voidSpaceService.deactivateApplication(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 anymorevoidSpaceApplicationHandler.deactiveApplication(Space space, String appId) Deactivates an installed application in a space.voidDe-initializes a space application.default voidSpaceService.deleteSpace(Space space) Deletes a space.default voidSpaceService.deleteSpace(Space space, boolean deleteGroup) Deletes a space without deleting the user's group.default StringSpaceService.getSpacePublicSiteName(Space space) default booleanSpaceService.hasAccessPermission(Space space, String username) Checks if a given user can access a space or not.default booleanSpaceService.hasRedactor(Space space) Checks if a given space has at least one "redactor"default booleanSpaceService.hasSettingPermission(Space space, String username) Checks if a given user has the setting permission to a space or not.voidSpaceApplicationHandler.initApps(Space space, SpaceTemplate spaceTemplate) Initializes home space applications and space applications.voidSpaceTemplateService.initSpaceApplications(Space space, SpaceApplicationHandler applicationHandler) Init space applications.voidSpaceApplicationHandler.installApplication(Space space, String appId) Installs an application to a space.default voidSpaceService.installApplication(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 voidSpaceService.inviteIdentities(Space space, List<Identity> identitiesToInvite) Invites users or members of spaces identified by identities list into a a designated spacedefault booleanChecks if a user is in the list of users who have ignored the space.default booleanSpaceService.isInvitedUser(Space space, String username) Checks if a user is in the list of users who are invited to join a space.default booleanChecks if a given user has the "manager" role in a space.default booleanChecks if a given user is member of space or not.default booleanSpaceService.isOnlyManager(Space space, String username) Checks if a given user is the only one who has the "manager" role in a space.default booleanSpaceService.isPendingUser(Space space, String username) Checks if a user is in the list of pending requests for joining a space.default booleanSpaceService.isPublisher(Space space, String username) Checks if a given user has the "publisher" role in a space.default booleanSpaceService.isRedactor(Space space, String username) Checks if a given user has the "redactor" role in a space.default voidSpaceApplicationHandler.moveApplication(Space space, String appId, int transition) voidSpaceApplicationHandler.removeApplication(Space space, String appId, String appName) Removes an application in a space.default voidSpaceService.removeApplication(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 anymorevoidSpaceApplicationHandler.removeApplications(Space space) Remove all applications in a space.default voidSpaceService.removeInvitedUser(Space space, String username) Removes a user from the list of users who are invited to join a space.default voidSpaceService.removeMember(Space space, String username) Removes a member from a space.default voidSpaceService.removePendingUser(Space space, String username) Removes a user from a list of pending requests for joining a space.default voidSpaceService.removePublisher(Space space, String username) Removes the "publisher" role of a user in a space.default voidSpaceService.removeRedactor(Space space, String username) Removes the "redactor" role of a user in a space.default voidSpaceService.renameSpace(Space space, String newDisplayName) Renames a space.default voidSpaceService.renameSpace(Space space, String newDisplayName, String username) Renames a space by an identity who has rights of super admin.default voidSpaceApplicationHandler.restoreApplicationLayout(Space space, String appId) Restores a page layout to its default associated to Space Templatedefault voidSpaceService.saveSpacePublicSite(Space space, String publicSiteVisibility) Saves the space public site characteristicsvoidSpaceTemplateService.setApp(Space space, String appId, String appName, boolean isRemovable, String status) an application status is composed with the form of: [appId:appDisplayName:isRemovableString:status].default voidSpaceService.setManager(Space space, String username, boolean isManager) Assigns the "manager" role to a user in a space.default SpaceSpaceService.updateSpace(Space existingSpace) Updates information of a space.default SpaceSpaceService.updateSpace(Space existingSpace, List<Identity> identitiesToInvite) Updates information of a space and invites all users from identitiesToInvite to join this space.default voidSpaceService.updateSpaceAccessed(String remoteId, Space space) Updates the most recently accessed space of a user to the top of spaces list.default SpaceSpaceService.updateSpaceAvatar(Space existingSpace, String username) Updates a space's avatar.default SpaceSpaceService.updateSpaceBanner(Space existingSpace, String username) Updates a space's avatar.Constructors in org.exoplatform.social.core.space.spi with parameters of type SpaceModifierConstructorDescriptionSpaceLifeCycleEvent(Space space, String target, SpaceLifeCycleEvent.Type eventType) -
Uses of Space in org.exoplatform.social.core.storage.api
Methods in org.exoplatform.social.core.storage.api that return SpaceModifier and TypeMethodDescriptionSpaceStorage.getSpaceByDisplayName(String spaceDisplayName) Gets a space by its display name.SpaceStorage.getSpaceByGroupId(String groupId) Gets a space by its associated group id.SpaceStorage.getSpaceById(String id) Gets a space by its space id.SpaceStorage.getSpaceByPrettyName(String spacePrettyName) Gets a space by its pretty name.SpaceStorage.getSpaceByUrl(String url) Gets a space by its url.SpaceStorage.getSpaceSimpleById(String id) Gets a space simple by its space id to aim decrease workload to get full information.Methods in org.exoplatform.social.core.storage.api that return types with arguments of type SpaceModifier and TypeMethodDescriptionSpaceStorage.getAccessibleSpaces(String userId) Deprecated.4.0.0-RC2SpaceStorage.getAccessibleSpaces(String userId, long offset, long limit) Gets the spaces of a user which that user has "member" role or edit permission with offset, limit.SpaceStorage.getAccessibleSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the accessible spaces of the user by filter with offset, limit.SpaceStorage.getAllSpaces()Gets all the spaces.SpaceStorage.getCommonSpaces(String userId, String otherUserId, int offset, int limit) Get common spaces between two usersSpaceStorage.getEditableSpaces(String userId) Gets the spaces of a user which that user has the edit permission.SpaceStorage.getEditableSpaces(String userId, long offset, long limit) Gets the spaces of a user which that user has the edit permission with offset, limit.SpaceStorage.getEditableSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the editable spaces of the user by filter with offset, limit.SpaceStorage.getFavoriteSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the favorite spaces of the user id by the filter with offset, limit.SpaceStorage.getInvitedSpaces(String userId) Gets a user's invited spaces and that user can accept or deny the request.SpaceStorage.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.SpaceStorage.getInvitedSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the invited spaces of the user by space filter with offset, limit.SpaceStorage.getLastAccessedSpace(SpaceFilter filter, int offset, int limit) Gets list of spaces which user has been last visited.SpaceStorage.getLastSpaces(int limit) Gets the last spaces that have been created.SpaceStorage.getManagerSpaces(String userId, long offset, long limit) Gets the spaces that a user has the "manager" role with offset, limit.SpaceStorage.getManagerSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the manager spaces of the user id by the filter with offset, limit.SpaceStorage.getMemberSpaces(String userId) Deprecated.useSpaceStorage.getMemberSpaces(String, long, long)instead with offset and limitSpaceStorage.getMemberSpaces(String userId, long offset, long limit) Gets the spaces that a user has the "member" role with offset, limit.SpaceStorage.getMemberSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the member spaces of the user id by the filter with offset, limit.SpaceStorage.getPendingSpaceRequestsToManage(String username, int offset, int limit) SpaceStorage.getPendingSpaces(String userId) Gets a user's pending spaces and that the user can revoke that request.SpaceStorage.getPendingSpaces(String userId, long offset, long limit) Gets a user's pending spaces and that the user can revoke that request with offset, limit.SpaceStorage.getPendingSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the pending spaces of the user by space filter with offset, limit.SpaceStorage.getPublicSpaces(String userId) Gets a user's public spaces and that user can request to join.SpaceStorage.getPublicSpaces(String userId, long offset, long limit) Gets a user's public spaces and that user can request to join with offset, limit.SpaceStorage.getPublicSpacesByFilter(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the public spaces of the user by filter with offset, limit.SpaceStorage.getSpaces(long offset, long limit) Gets the spaces with offset, limit.SpaceStorage.getSpacesByFilter(SpaceFilter spaceFilter, long offset, long limit) Gets the spaces by space filter with offset, limit.SpaceStorage.getVisibleSpaces(String userId, SpaceFilter spaceFilter) Gets the spaces of a user which that user has the "member" role or edit permission.SpaceStorage.getVisibleSpaces(String userId, SpaceFilter spaceFilter, long offset, long limit) Gets the spaces of a user which that user has the visible spaces.SpaceStorage.getVisitedSpaces(SpaceFilter filter, int offset, int limit) Get the visited spacesMethods in org.exoplatform.social.core.storage.api with parameters of type SpaceModifier and TypeMethodDescriptionintIdentityStorage.countSpaceMemberIdentitiesByProfileFilter(Space space, ProfileFilter profileFilter, SpaceMemberFilterListAccess.Type type) count Space's members by status and filter it by Profile FilterIdentityStorage.getSpaceMemberIdentitiesByProfileFilter(Space space, ProfileFilter profileFilter, SpaceMemberFilterListAccess.Type type, long offset, long limit) get Space's member Identity and filter it by Profile FiltervoidSpaceStorage.renameSpace(Space space, String newDisplayName) Renames a space.voidSaves a space.voidSpaceStorage.updateSpaceAccessed(String remoteId, Space space) Update accessed space to top of space members list of Identity model