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

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

public interface RestProfile
extends Model

eXo Social Profile Model: for information for identities.

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

Nested Class Summary
static class RestProfile.Field
          The fields that represent the Profile object in json form.
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 String getAvatarUrl()
          Gets the avatar url of the associated identity.
 String getFullName()
          Gets the full name of the associated identity.
 String getIdentityId()
          Gets the identity id associated with this profile.
 void setAvatarUrl(String avatarUrl)
          Sets the avatar url of the associated identity.
 void setFullName(String fullName)
          Sets the full name of the associated identity.
 void setIdentityId(String identityId)
          Sets the identity id associated with this profile.
 
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

getIdentityId

String getIdentityId()
Gets the identity id associated with this profile.

Returns:
the identity id

setIdentityId

void setIdentityId(String identityId)
Sets the identity id associated with this profile.

Parameters:
identityId - the identity id

getFullName

String getFullName()
Gets the full name of the associated identity.

Returns:
the full name

setFullName

void setFullName(String fullName)
Sets the full name of the associated identity.

Parameters:
fullName - the full name

getAvatarUrl

String getAvatarUrl()
Gets the avatar url of the associated identity.

Returns:
the avatar url

setAvatarUrl

void setAvatarUrl(String avatarUrl)
Sets the avatar url of the associated identity.

Parameters:
avatarUrl - the avatar url


Copyright © 2011 eXo Platform. All Rights Reserved.