Class SpaceIdentityProvider
java.lang.Object
org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.social.core.space.model.Space>
org.exoplatform.social.core.identity.provider.SpaceIdentityProvider
public class SpaceIdentityProvider
extends org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.social.core.space.model.Space>
Provides the identity for a space
- Version:
- $Revision$
- Author:
- Patrice Lamarque
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpaceIdentityProvider(org.exoplatform.social.core.space.spi.SpaceService spaceService) Constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.social.core.identity.model.IdentitycreateIdentity(org.exoplatform.social.core.space.model.Space space) org.exoplatform.social.core.space.model.SpacefindByRemoteId(String spacePrettyName) Finds a space by its remote Id (pretty name or space id).getName()voidpopulateProfile(org.exoplatform.social.core.identity.model.Profile profile, org.exoplatform.social.core.space.model.Space space) Methods inherited from class org.exoplatform.social.core.identity.IdentityProvider
getAllUserId, getIdentityByRemoteId, onSaveIdentity, onSaveProfile, onUpdateProfile
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SpaceIdentityProvider
public SpaceIdentityProvider(org.exoplatform.social.core.space.spi.SpaceService spaceService) Constructor- Parameters:
spaceService-
-
-
Method Details
-
findByRemoteId
Finds a space by its remote Id (pretty name or space id).- Specified by:
findByRemoteIdin classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.social.core.space.model.Space>- Parameters:
spacePrettyName- could be spacePrettyName or spaceId- Returns:
-
getName
- Specified by:
getNamein classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.social.core.space.model.Space>
-
createIdentity
public org.exoplatform.social.core.identity.model.Identity createIdentity(org.exoplatform.social.core.space.model.Space space) - Specified by:
createIdentityin classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.social.core.space.model.Space>
-
populateProfile
public void populateProfile(org.exoplatform.social.core.identity.model.Profile profile, org.exoplatform.social.core.space.model.Space space) - Specified by:
populateProfilein classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.social.core.space.model.Space>
-