Class IdentityRestOut

java.lang.Object
java.util.AbstractMap<String,Object>
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.
See Also:
  • Constructor Details

    • 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 Details

    • 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 -