Class SpaceServiceImpl
java.lang.Object
org.exoplatform.social.core.space.impl.SpaceServiceImpl
- All Implemented Interfaces:
org.exoplatform.social.core.space.spi.SpaceService
public class SpaceServiceImpl
extends Object
implements org.exoplatform.social.core.space.spi.SpaceService
SpaceService implementation.- Since:
- August 29, 2008
- Author:
- dang.tung
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpaceServiceImpl(org.exoplatform.social.core.storage.api.SpaceStorage spaceStorage, SpaceSearchConnector spaceSearchConnector, org.exoplatform.social.core.storage.api.GroupSpaceBindingStorage groupSpaceBindingStorage, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.portal.config.UserACL userACL, org.exoplatform.services.security.IdentityRegistry identityRegistry, org.exoplatform.services.security.Authenticator authenticator, org.exoplatform.social.core.space.SpacesAdministrationService spacesAdministrationService, org.exoplatform.social.core.space.spi.SpaceTemplateService spaceTemplateService, org.exoplatform.portal.mop.service.LayoutService layoutService) -
Method Summary
Modifier and TypeMethodDescriptionvoidactivateApplication(org.exoplatform.social.core.space.model.Space space, String appId) voidaddInvitedUser(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) voidcreateSpace(org.exoplatform.social.core.space.model.Space space) org.exoplatform.social.core.space.model.SpacecreateSpace(org.exoplatform.social.core.space.model.Space space, String creator) 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) voiddeactivateApplication(org.exoplatform.social.core.space.model.Space space, String appId) 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) 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> 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 remoteId) 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 remoteId) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getPendingSpacesByFilter(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) getPendingSpacesWithListAccess(String username) org.exoplatform.social.core.space.model.SpacegetSpaceByDisplayName(String spaceDisplayName) org.exoplatform.social.core.space.model.SpacegetSpaceByGroupId(String groupId) org.exoplatform.social.core.space.model.SpacegetSpaceById(String id) org.exoplatform.social.core.space.model.SpacegetSpaceByPrettyName(String spacePrettyName) org.exoplatform.social.core.space.model.SpacegetSpaceByUrl(String url) org.exoplatform.social.core.model.SpaceExternalInvitationgetSpaceExternalInvitationById(String invitationId) getSpaceMembershipDate(long spaceId, String username) getSpacePublicSiteName(org.exoplatform.social.core.space.model.Space space) getVisibleSpacesWithListAccess(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getVisitedSpaces(String remoteId) booleanhasRedactor(org.exoplatform.social.core.space.model.Space space) booleanhasSettingPermission(org.exoplatform.social.core.space.model.Space space, String username) voidinstallApplication(org.exoplatform.social.core.space.model.Space space, String appId) 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) voidmoveApplication(String spaceId, String appId, int transition) voidregisterSpaceLifeCycleListener(org.exoplatform.social.core.space.spi.SpaceLifeCycleListener listener) voidregisterSpaceListenerPlugin(org.exoplatform.social.core.space.SpaceListenerPlugin spaceListenerPlugin) voidremoveApplication(org.exoplatform.social.core.space.model.Space space, String appId, String appName) 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) voidrestoreSpacePageLayout(String spaceId, String appId, org.exoplatform.services.security.Identity identity) voidsaveSpaceExternalInvitation(String spaceId, String email, String tokenId) voidsaveSpacePublicSite(String spaceId, String publicSiteVisibility, String authenticatedUser) voidsaveSpacePublicSite(org.exoplatform.social.core.space.model.Space space, String publicSiteVisibility) 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
activateApplication, addMember, canManageSpace, canPublishOnSpace, canRedactOnSpace, canRedactOnSpace, canViewSpace, deactivateApplication, deleteSpace, hasAccessPermission, isMember, removeApplication, removeMember
-
Field Details
-
MEMBER
- See Also:
-
MANAGER
- See Also:
-
-
Constructor Details
-
SpaceServiceImpl
public SpaceServiceImpl(org.exoplatform.social.core.storage.api.SpaceStorage spaceStorage, SpaceSearchConnector spaceSearchConnector, org.exoplatform.social.core.storage.api.GroupSpaceBindingStorage groupSpaceBindingStorage, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.portal.config.UserACL userACL, org.exoplatform.services.security.IdentityRegistry identityRegistry, org.exoplatform.services.security.Authenticator authenticator, org.exoplatform.social.core.space.SpacesAdministrationService spacesAdministrationService, org.exoplatform.social.core.space.spi.SpaceTemplateService spaceTemplateService, org.exoplatform.portal.mop.service.LayoutService layoutService)
-
-
Method Details
-
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
-
getSpaceByDisplayName
- Specified by:
getSpaceByDisplayNamein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
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
- Specified by:
getSpaceByIdin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getSpaceByUrl
- Specified by:
getSpaceByUrlin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getAccessibleSpacesWithListAccess
- Specified by:
getAccessibleSpacesWithListAccessin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getVisibleSpacesWithListAccess
public SpaceListAccess getVisibleSpacesWithListAccess(String username, org.exoplatform.social.core.space.SpaceFilter spaceFilter) - Specified by:
getVisibleSpacesWithListAccessin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getPendingSpacesWithListAccess
- Specified by:
getPendingSpacesWithListAccessin 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 creator) - 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 void 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
-
restoreSpacePageLayout
public void restoreSpacePageLayout(String spaceId, String appId, org.exoplatform.services.security.Identity identity) throws IllegalAccessException, org.exoplatform.social.core.space.SpaceException - Specified by:
restoreSpacePageLayoutin interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
IllegalAccessExceptionorg.exoplatform.social.core.space.SpaceException
-
moveApplication
public void moveApplication(String spaceId, String appId, int transition) throws org.exoplatform.social.core.space.SpaceException - Specified by:
moveApplicationin interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
org.exoplatform.social.core.space.SpaceException
-
installApplication
- Specified by:
installApplicationin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
activateApplication
public void activateApplication(org.exoplatform.social.core.space.model.Space space, String appId) throws org.exoplatform.social.core.space.SpaceException - Specified by:
activateApplicationin interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
org.exoplatform.social.core.space.SpaceException
-
deactivateApplication
public void deactivateApplication(org.exoplatform.social.core.space.model.Space space, String appId) throws org.exoplatform.social.core.space.SpaceException - Specified by:
deactivateApplicationin interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
org.exoplatform.social.core.space.SpaceException
-
removeApplication
public void removeApplication(org.exoplatform.social.core.space.model.Space space, String appId, String appName) throws org.exoplatform.social.core.space.SpaceException - Specified by:
removeApplicationin interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
org.exoplatform.social.core.space.SpaceException
-
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
-
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
-
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
-
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
-
getMemberSpacesIds
- Specified by:
getMemberSpacesIdsin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getManagerSpacesIds
- Specified by:
getManagerSpacesIdsin 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
-
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
-
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
-
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
-
hasSettingPermission
public boolean hasSettingPermission(org.exoplatform.social.core.space.model.Space space, String username) - Specified by:
hasSettingPermissionin 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
-
getSpacePublicSiteName
- Specified by:
getSpacePublicSiteNamein 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 space, List<org.exoplatform.social.core.identity.model.Identity> identitiesToInvite) - 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 existingSpace) - 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
-
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
-
updateSpaceAccessed
public void updateSpaceAccessed(String remoteId, org.exoplatform.social.core.space.model.Space space) - Specified by:
updateSpaceAccessedin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getLastSpaces
- Specified by:
getLastSpacesin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getLastAccessedSpace
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getLastAccessedSpace(String remoteId) - Specified by:
getLastAccessedSpacein interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getVisitedSpaces
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getVisitedSpaces(String remoteId) - Specified by:
getVisitedSpacesin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
getPendingSpaceRequestsToManage
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getPendingSpaceRequestsToManage(String remoteId) - Specified by:
getPendingSpaceRequestsToManagein 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
-
saveSpacePublicSite
public void saveSpacePublicSite(String spaceId, String publicSiteVisibility, String authenticatedUser) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Specified by:
saveSpacePublicSitein interfaceorg.exoplatform.social.core.space.spi.SpaceService- Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
saveSpacePublicSite
public void saveSpacePublicSite(org.exoplatform.social.core.space.model.Space space, String publicSiteVisibility) - Specified by:
saveSpacePublicSitein 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
-
isContentManager
- Specified by:
isContentManagerin interfaceorg.exoplatform.social.core.space.spi.SpaceService
-
isContentPublisher
- Specified by:
isContentPublisherin 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
-
addSpaceListener
public void addSpaceListener(org.exoplatform.social.core.space.SpaceListenerPlugin plugin)
-