org.exoplatform.social.client.api.model
Interface RestIdentity

All Superinterfaces:
org.json.simple.JSONAware, org.json.simple.JSONStreamAware, Map, Model
All Known Implementing Classes:
RestIdentityImpl

public interface RestIdentity
extends Model

eXo Social Identity.

Since:
May 19, 2011
Author:
hoatle (hoatlevan at gmail dot com)

Nested Class Summary
static class RestIdentity.Field
          The fields that represent the Identity object in json form.
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 String getId()
          Gets the identity id.
 RestProfile getProfile()
          Gets the profile associated with this identity.
 String getProviderId()
          Gets identity provider id.
 String getRemoteId()
          Gets the remote identity id.
 void setId(String id)
          Sets the identity id.
 void setProfile(RestProfile restProfile)
          Sets the profile associated with this identity.
 void setProviderId(String providerId)
          Sets identity provider id.
 void setRemoteId(String remoteId)
          Sets the remote identity id.
 
Methods inherited from interface org.exoplatform.social.client.api.model.Model
addPropertyChangeListener, addToListField, findPropertyChangeListeners, getField, getFieldAsList, getFieldAsMap, getFieldAsString, getFieldNames, hasField, isFieldMultikeyed, isFieldMultivalued, removePropertyChangeListener, setField
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface org.json.simple.JSONAware
toJSONString
 
Methods inherited from interface org.json.simple.JSONStreamAware
writeJSONString
 

Method Detail

getId

String getId()
Gets the identity id.

Returns:
the identity id

setId

void setId(String id)
Sets the identity id.

Parameters:
id - the identity id

getProviderId

String getProviderId()
Gets identity provider id.

Returns:
the provider id

setProviderId

void setProviderId(String providerId)
Sets identity provider id.

Parameters:
providerId - the provider id

getRemoteId

String getRemoteId()
Gets the remote identity id.

Returns:
the remote id

setRemoteId

void setRemoteId(String remoteId)
Sets the remote identity id.

Parameters:
remoteId - the remote id

getProfile

RestProfile getProfile()
Gets the profile associated with this identity.

Returns:
the associated profile.

setProfile

void setProfile(RestProfile restProfile)
Sets the profile associated with this identity.

Parameters:
restProfile - the associated profile.


Copyright © 2011-2012 eXo Platform. All Rights Reserved.