Class IdentityRestOut
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
The Identity model for Social Rest APIs.
- Since:
- 1.2.3
- Author:
- phuonglm
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorIdentityRestOut(String identityId, String portalContainerName) Construct the Identity model from Social's identityId.IdentityRestOut(org.exoplatform.social.core.identity.model.Identity identity) Construct the Identity model from Social's identity. -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets Id of IdentityGets profile of IdentityGets providerId of IdentityGets remoteId of IdentityvoidSets Id of IdentityvoidsetProfile(ProfileRestOut profile) Sets profile of IdentityvoidsetProviderId(String providerId) Sets providerId of IdentityvoidsetRemoteId(String remoteId) Sets remoteId of IdentityMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
IdentityRestOut
public IdentityRestOut()Default constructor -
IdentityRestOut
Construct the Identity model from Social's identityId.- Parameters:
identityId-portalContainerName-
-
IdentityRestOut
public IdentityRestOut(org.exoplatform.social.core.identity.model.Identity identity) Construct the Identity model from Social's identity.- Parameters:
identity-- Since:
- 1.2.2
-
-
Method Details
-
getId
Gets Id of Identity -
setId
Sets Id of Identity- Parameters:
id-
-
getRemoteId
Gets remoteId of Identity- Returns:
-
setRemoteId
Sets remoteId of Identity- Parameters:
remoteId-- Since:
- 1.2.2
-
getProviderId
Gets providerId of Identity -
setProviderId
Sets providerId of Identity- Parameters:
providerId-
-
getProfile
Gets profile of Identity -
setProfile
Sets profile of Identity- Parameters:
profile-
-