org.exoplatform.social.service.rest.api.models
Class IdentityRestOut

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by 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
static class IdentityRestOut.Field
           
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
IdentityRestOut()
          Default constructor
IdentityRestOut(org.exoplatform.social.core.identity.model.Identity identity)
          Construct the Identity model from Social's identity.
IdentityRestOut(String identityId, String portalContainerName)
          Construct the Identity model from Social's identityId.
 
Method Summary
 String getId()
          Gets Id of Identity
 ProfileRestOut getProfile()
          Gets profile of Identity
 String getProviderId()
          Gets providerId of Identity
 String getRemoteId()
          Gets remoteId of Identity
 void setId(String id)
          Sets Id of Identity
 void setProfile(ProfileRestOut profile)
          Sets profile of Identity
 void setProviderId(String providerId)
          Sets providerId of Identity
 void setRemoteId(String remoteId)
          Sets remoteId of Identity
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

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

Parameters:
remoteId -

setProviderId

public void setProviderId(String providerId)
Sets providerId of Identity

Parameters:
remoteId -

getProfile

public ProfileRestOut getProfile()
Gets profile of Identity

Parameters:
remoteId -

setProfile

public void setProfile(ProfileRestOut profile)
Sets profile of Identity

Parameters:
remoteId -


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.