Class IdentityRestOut
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
public class IdentityRestOut extends HashMap<String,Object>
The Identity model for Social Rest APIs.- Since:
- 1.2.3
- Author:
- phuonglm
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityRestOut.Field-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description IdentityRestOut()Default 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets Id of IdentityProfileRestOutgetProfile()Gets profile of IdentityStringgetProviderId()Gets providerId of IdentityStringgetRemoteId()Gets remoteId of IdentityvoidsetId(String id)Sets Id of IdentityvoidsetProfile(ProfileRestOut profile)Sets profile of IdentityvoidsetProviderId(String providerId)Sets providerId of IdentityvoidsetRemoteId(String remoteId)Sets remoteId of Identity-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
IdentityRestOut
public IdentityRestOut()
Default constructor
-
IdentityRestOut
public IdentityRestOut(String identityId, String portalContainerName)
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 Detail
-
getId
public String getId()
Gets Id of Identity
-
setId
public void setId(String id)
Sets Id of Identity- Parameters:
id-
-
getRemoteId
public String getRemoteId()
Gets remoteId of Identity- Returns:
-
setRemoteId
public void setRemoteId(String remoteId)
Sets remoteId of Identity- Parameters:
remoteId-- Since:
- 1.2.2
-
getProviderId
public String getProviderId()
Gets providerId of Identity
-
setProviderId
public void setProviderId(String providerId)
Sets providerId of Identity- Parameters:
providerId-
-
getProfile
public ProfileRestOut getProfile()
Gets profile of Identity
-
setProfile
public void setProfile(ProfileRestOut profile)
Sets profile of Identity- Parameters:
profile-
-
-