Package io.meeds.social.space.service
Class SpaceServiceImpl
java.lang.Object
io.meeds.social.space.service.SpaceServiceImpl
- All Implemented Interfaces:
org.exoplatform.social.core.space.spi.SpaceService
public class SpaceServiceImpl
extends Object
implements org.exoplatform.social.core.space.spi.SpaceService
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceServiceImpl(SpaceStorage spaceStorage, org.exoplatform.social.core.storage.api.GroupSpaceBindingStorage groupSpaceBindingStorage, SpaceSearchConnector spaceSearchConnector, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.portal.config.UserACL userAcl, org.exoplatform.services.resources.ResourceBundleService resourceBundleService, org.exoplatform.services.resources.LocaleConfigService localeConfigService, org.exoplatform.commons.file.services.FileService fileService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInvitedUser(org.exoplatform.social.core.space.model.Space space, String username) voidvoidaddPendingUser(org.exoplatform.social.core.space.model.Space space, String username) voidaddPublisher(org.exoplatform.social.core.space.model.Space space, String username) voidaddRedactor(org.exoplatform.social.core.space.model.Space space, String username) voidaddSpaceListener(org.exoplatform.social.core.space.SpaceListenerPlugin plugin) booleancanAccessSpacePublicSite(org.exoplatform.social.core.space.model.Space space, String username) booleancanDeleteSpace(org.exoplatform.social.core.space.model.Space space, String username) booleancanManageSpace(org.exoplatform.social.core.space.model.Space space, String username) booleancanManageSpaceLayout(org.exoplatform.social.core.space.model.Space space, String username) booleancanManageSpacePublicSite(org.exoplatform.social.core.space.model.Space space, String username) org.exoplatform.social.core.space.model.SpacecreateSpace(org.exoplatform.social.core.space.model.Space space) org.exoplatform.social.core.space.model.SpacecreateSpace(org.exoplatform.social.core.space.model.Space space, String username) org.exoplatform.social.core.space.model.SpacecreateSpace(org.exoplatform.social.core.space.model.Space space, String username, List<org.exoplatform.social.core.identity.model.Identity> identitiesToInvite) voidvoiddeleteSpace(org.exoplatform.social.core.space.model.Space space) voiddeleteSpace(org.exoplatform.social.core.space.model.Space space, boolean deleteGroup) voiddeleteSpaceExternalInvitation(String invitationId) List<org.exoplatform.social.core.model.SpaceExternalInvitation> org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getAccessibleSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getAccessibleSpacesWithListAccess(String username) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getAllSpacesByFilter(org.exoplatform.social.core.space.SpaceFilter spaceFilter) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getCommonSpaces(String username, String otherUserId) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getEditableSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getFavoriteSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getInvitedSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getInvitedSpacesWithListAccess(String username) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getLastAccessedSpace(String username) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getLastAccessedSpaceByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) List<org.exoplatform.social.core.space.model.Space> getLastSpaces(int limit) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getManagerSpaces(String username) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getManagerSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) getManagerSpacesIds(String username, int offset, int limit) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getMemberSpaces(String username) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getMemberSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) getMemberSpacesIds(String username, int offset, int limit) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getPendingSpaceRequestsToManage(String username) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getPendingSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getPendingSpacesWithListAccess(String username) org.exoplatform.social.core.space.model.SpacegetSpaceByGroupId(String groupId) org.exoplatform.social.core.space.model.SpacegetSpaceById(long spaceId) org.exoplatform.social.core.space.model.SpacegetSpaceByPrettyName(String spacePrettyName) org.exoplatform.social.core.model.SpaceExternalInvitationgetSpaceExternalInvitationById(String invitationId) getSpaceMembershipDate(long spaceId, String username) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getVisibleSpacesWithListAccess(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) booleanhasRedactor(org.exoplatform.social.core.space.model.Space space) booleanhasSettingPermission(org.exoplatform.social.core.space.model.Space space, String username) voidinviteIdentities(org.exoplatform.social.core.space.model.Space space, List<org.exoplatform.social.core.identity.model.Identity> identitiesToInvite) booleanisContentManager(String username) booleanisContentPublisher(String username) booleanbooleanisInvitedUser(org.exoplatform.social.core.space.model.Space space, String username) booleanbooleanbooleanisOnlyManager(org.exoplatform.social.core.space.model.Space space, String username) booleanisPendingUser(org.exoplatform.social.core.space.model.Space space, String username) booleanisPublisher(org.exoplatform.social.core.space.model.Space space, String username) booleanisRedactor(org.exoplatform.social.core.space.model.Space space, String username) booleanisSpaceContainsExternals(Long spaceId) booleanisSuperManager(String username) booleanisSuperManager(org.exoplatform.social.core.space.model.Space space, String username) voidregisterSpaceLifeCycleListener(org.exoplatform.social.core.space.spi.SpaceLifeCycleListener listener) voidregisterSpaceListenerPlugin(org.exoplatform.social.core.space.SpaceListenerPlugin spaceListenerPlugin) voidremoveInvitedUser(org.exoplatform.social.core.space.model.Space space, String username) voidremoveMember(org.exoplatform.social.core.space.model.Space space, String username) voidremovePendingUser(org.exoplatform.social.core.space.model.Space space, String username) voidremovePublisher(org.exoplatform.social.core.space.model.Space space, String username) voidremoveRedactor(org.exoplatform.social.core.space.model.Space space, String username) voidrenameSpace(org.exoplatform.social.core.space.model.Space space, String newDisplayName) voidrenameSpace(org.exoplatform.social.core.space.model.Space space, String newDisplayName, String username) voidsaveSpaceExternalInvitation(String spaceId, String email, String tokenId) static voidsetDeletePermissions(org.exoplatform.social.core.space.model.Space space, SpaceTemplate spaceTemplate, String groupId) voidsetIgnored(String spaceId, String username) voidsetManager(org.exoplatform.social.core.space.model.Space space, String username, boolean isManager) voidunregisterSpaceLifeCycleListener(org.exoplatform.social.core.space.spi.SpaceLifeCycleListener listener) voidunregisterSpaceListenerPlugin(org.exoplatform.social.core.space.SpaceListenerPlugin spaceListenerPlugin) org.exoplatform.social.core.space.model.SpaceupdateSpace(org.exoplatform.social.core.space.model.Space existingSpace) org.exoplatform.social.core.space.model.SpaceupdateSpace(org.exoplatform.social.core.space.model.Space space, List<org.exoplatform.social.core.identity.model.Identity> identitiesToInvite) voidupdateSpaceAccessed(String remoteId, org.exoplatform.social.core.space.model.Space space) org.exoplatform.social.core.space.model.SpaceupdateSpaceAvatar(org.exoplatform.social.core.space.model.Space existingSpace, String username) org.exoplatform.social.core.space.model.SpaceupdateSpaceBanner(org.exoplatform.social.core.space.model.Space existingSpace, String username) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.social.core.space.spi.SpaceService
addMember, canPublishOnSpace, canRedactOnSpace, canRedactOnSpace, canViewSpace, deleteSpace, getSpaceById, getSpacePublicSiteName, getVisitedSpaces, hasAccessPermission, isMember, isSuperManager, removeMember, saveSpacePublicSite, saveSpacePublicSite
-
Constructor Details
-
SpaceServiceImpl
public SpaceServiceImpl(SpaceStorage spaceStorage, org.exoplatform.social.core.storage.api.GroupSpaceBindingStorage groupSpaceBindingStorage, SpaceSearchConnector spaceSearchConnector, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.portal.config.UserACL userAcl, org.exoplatform.services.resources.ResourceBundleService resourceBundleService, org.exoplatform.services.resources.LocaleConfigService localeConfigService, org.exoplatform.commons.file.services.FileService fileService)
-
-
Method Details
-
getSpaceByPrettyName
- Specified by:
getSpaceByPrettyNamein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getSpaceMembershipDate
- Specified by:
getSpaceMembershipDatein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getSpaceByGroupId
- Specified by:
getSpaceByGroupIdin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getSpaceById
public org.exoplatform.social.core.space.model.Space getSpaceById(long spaceId) - Specified by:
getSpaceByIdin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getAccessibleSpacesWithListAccess
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getAccessibleSpacesWithListAccess(String username) - Specified by:
getAccessibleSpacesWithListAccessin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getAccessibleSpacesByFilter
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getAccessibleSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getAccessibleSpacesByFilterin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getVisibleSpacesWithListAccess
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getVisibleSpacesWithListAccess(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getVisibleSpacesWithListAccessin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getPendingSpacesWithListAccess
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getPendingSpacesWithListAccess(String username) - Specified by:
getPendingSpacesWithListAccessin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getAllSpacesWithListAccess
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getAllSpacesWithListAccess()- Specified by:
getAllSpacesWithListAccessin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getAllSpacesByFilter
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getAllSpacesByFilter(org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getAllSpacesByFilterin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getInvitedSpacesWithListAccess
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getInvitedSpacesWithListAccess(String username) - Specified by:
getInvitedSpacesWithListAccessin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getInvitedSpacesByFilter
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getInvitedSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getInvitedSpacesByFilterin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getMemberSpaces
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getMemberSpaces(String username) - Specified by:
getMemberSpacesin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getMemberSpacesByFilter
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getMemberSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getMemberSpacesByFilterin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getManagerSpaces
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getManagerSpaces(String username) - Specified by:
getManagerSpacesin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getManagerSpacesByFilter
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getManagerSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getManagerSpacesByFilterin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getEditableSpacesByFilter
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getEditableSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getEditableSpacesByFilterin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getFavoriteSpacesByFilter
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getFavoriteSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getFavoriteSpacesByFilterin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getPendingSpacesByFilter
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getPendingSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getPendingSpacesByFilterin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getPendingSpaceRequestsToManage
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getPendingSpaceRequestsToManage(String username) - Specified by:
getPendingSpaceRequestsToManagein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getLastAccessedSpace
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getLastAccessedSpace(String username) - Specified by:
getLastAccessedSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getLastAccessedSpaceByFilter
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getLastAccessedSpaceByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getLastAccessedSpaceByFilterin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getCommonSpaces
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getCommonSpaces(String username, String otherUserId) - Specified by:
getCommonSpacesin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getMemberSpacesIds
- Specified by:
getMemberSpacesIdsin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getManagerSpacesIds
- Specified by:
getManagerSpacesIdsin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getLastSpaces
- Specified by:
getLastSpacesin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
createSpace
public org.exoplatform.social.core.space.model.Space createSpace(org.exoplatform.social.core.space.model.Space space, String username) - Specified by:
createSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
createSpace
public org.exoplatform.social.core.space.model.Space createSpace(org.exoplatform.social.core.space.model.Space space, String username, List<org.exoplatform.social.core.identity.model.Identity> identitiesToInvite) throws org.exoplatform.social.core.space.SpaceException - Specified by:
createSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
org.exoplatform.social.core.space.SpaceException
-
inviteIdentities
public void inviteIdentities(org.exoplatform.social.core.space.model.Space space, List<org.exoplatform.social.core.identity.model.Identity> identitiesToInvite) - Specified by:
inviteIdentitiesin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isSpaceContainsExternals
- Specified by:
isSpaceContainsExternalsin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
createSpace
public org.exoplatform.social.core.space.model.Space createSpace(org.exoplatform.social.core.space.model.Space space) - Specified by:
createSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
renameSpace
- Specified by:
renameSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
renameSpace
public void renameSpace(org.exoplatform.social.core.space.model.Space space, String newDisplayName, String username) throws org.exoplatform.social.core.space.SpaceException - Specified by:
renameSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
org.exoplatform.social.core.space.SpaceException
-
deleteSpace
public void deleteSpace(org.exoplatform.social.core.space.model.Space space) throws org.exoplatform.social.core.space.SpaceException - Specified by:
deleteSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
org.exoplatform.social.core.space.SpaceException
-
deleteSpace
public void deleteSpace(org.exoplatform.social.core.space.model.Space space, boolean deleteGroup) throws org.exoplatform.social.core.space.SpaceException - Specified by:
deleteSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
org.exoplatform.social.core.space.SpaceException
-
addMember
- Specified by:
addMemberin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
removeMember
- Specified by:
removeMemberin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isMember
- Specified by:
isMemberin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isIgnored
- Specified by:
isIgnoredin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
setIgnored
- Specified by:
setIgnoredin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
registerSpaceLifeCycleListener
public void registerSpaceLifeCycleListener(org.exoplatform.social.core.space.spi.SpaceLifeCycleListener listener) - Specified by:
registerSpaceLifeCycleListenerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
unregisterSpaceLifeCycleListener
public void unregisterSpaceLifeCycleListener(org.exoplatform.social.core.space.spi.SpaceLifeCycleListener listener) - Specified by:
unregisterSpaceLifeCycleListenerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
addInvitedUser
- Specified by:
addInvitedUserin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
addPendingUser
- Specified by:
addPendingUserin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
hasSettingPermission
public boolean hasSettingPermission(org.exoplatform.social.core.space.model.Space space, String username) - Specified by:
hasSettingPermissionin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
canDeleteSpace
- Specified by:
canDeleteSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
canAccessSpacePublicSite
public boolean canAccessSpacePublicSite(org.exoplatform.social.core.space.model.Space space, String username) - Specified by:
canAccessSpacePublicSitein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
canManageSpace
- Specified by:
canManageSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isInvitedUser
- Specified by:
isInvitedUserin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isManager
- Specified by:
isManagerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isRedactor
- Specified by:
isRedactorin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isPublisher
- Specified by:
isPublisherin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
hasRedactor
public boolean hasRedactor(org.exoplatform.social.core.space.model.Space space) - Specified by:
hasRedactorin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isOnlyManager
- Specified by:
isOnlyManagerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isPendingUser
- Specified by:
isPendingUserin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
registerSpaceListenerPlugin
public void registerSpaceListenerPlugin(org.exoplatform.social.core.space.SpaceListenerPlugin spaceListenerPlugin) - Specified by:
registerSpaceListenerPluginin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
removeInvitedUser
- Specified by:
removeInvitedUserin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
removePendingUser
- Specified by:
removePendingUserin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
addRedactor
- Specified by:
addRedactorin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
removeRedactor
- Specified by:
removeRedactorin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
addPublisher
- Specified by:
addPublisherin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
removePublisher
- Specified by:
removePublisherin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
setManager
public void setManager(org.exoplatform.social.core.space.model.Space space, String username, boolean isManager) - Specified by:
setManagerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
unregisterSpaceListenerPlugin
public void unregisterSpaceListenerPlugin(org.exoplatform.social.core.space.SpaceListenerPlugin spaceListenerPlugin) - Specified by:
unregisterSpaceListenerPluginin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
updateSpace
public org.exoplatform.social.core.space.model.Space updateSpace(org.exoplatform.social.core.space.model.Space existingSpace) - Specified by:
updateSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
updateSpace
public org.exoplatform.social.core.space.model.Space updateSpace(org.exoplatform.social.core.space.model.Space space, List<org.exoplatform.social.core.identity.model.Identity> identitiesToInvite) - Specified by:
updateSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
updateSpaceAvatar
public org.exoplatform.social.core.space.model.Space updateSpaceAvatar(org.exoplatform.social.core.space.model.Space existingSpace, String username) - Specified by:
updateSpaceAvatarin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
updateSpaceBanner
public org.exoplatform.social.core.space.model.Space updateSpaceBanner(org.exoplatform.social.core.space.model.Space existingSpace, String username) - Specified by:
updateSpaceBannerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
updateSpaceAccessed
public void updateSpaceAccessed(String remoteId, org.exoplatform.social.core.space.model.Space space) - Specified by:
updateSpaceAccessedin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
findSpaceExternalInvitationsBySpaceId
public List<org.exoplatform.social.core.model.SpaceExternalInvitation> findSpaceExternalInvitationsBySpaceId(String spaceId) - Specified by:
findSpaceExternalInvitationsBySpaceIdin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
saveSpaceExternalInvitation
- Specified by:
saveSpaceExternalInvitationin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getSpaceExternalInvitationById
public org.exoplatform.social.core.model.SpaceExternalInvitation getSpaceExternalInvitationById(String invitationId) - Specified by:
getSpaceExternalInvitationByIdin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
deleteSpaceExternalInvitation
- Specified by:
deleteSpaceExternalInvitationin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
findExternalInvitationsSpacesByEmail
- Specified by:
findExternalInvitationsSpacesByEmailin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
deleteExternalUserInvitations
- Specified by:
deleteExternalUserInvitationsin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isSuperManager
- Specified by:
isSuperManagerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isSuperManager
- Specified by:
isSuperManagerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
canManageSpacePublicSite
public boolean canManageSpacePublicSite(org.exoplatform.social.core.space.model.Space space, String username) - Specified by:
canManageSpacePublicSitein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
canManageSpaceLayout
public boolean canManageSpaceLayout(org.exoplatform.social.core.space.model.Space space, String username) - Specified by:
canManageSpaceLayoutin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isContentManager
- Specified by:
isContentManagerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isContentPublisher
- Specified by:
isContentPublisherin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
countSpacesByTemplate
- Specified by:
countSpacesByTemplatein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
addSpaceListener
public void addSpaceListener(org.exoplatform.social.core.space.SpaceListenerPlugin plugin) -
setDeletePermissions
public static void setDeletePermissions(org.exoplatform.social.core.space.model.Space space, SpaceTemplate spaceTemplate, String groupId)
-