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

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.ProfileRestOut
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class ProfileRestOut
extends HashMap<String,Object>

The Profile model for Social Rest APIs.

Since:
1.2.2
Author:
phuonglm
See Also:
Serialized Form

Nested Class Summary
static class ProfileRestOut.Field
           
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
ProfileRestOut()
          Default Constructor
ProfileRestOut(org.exoplatform.social.core.identity.model.Profile profile)
          Construct the Profile model from Social profile.
 
Method Summary
 String getAvatarUrl()
          Gets avatarURL of profile
 String getFullName()
          Gets fullname of profile
 void setAvatarUrl(String avatarUrl)
          Sets avatarURL of profile
 void setFullName(String fullName)
          Sets fullName of profile
 
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

ProfileRestOut

public ProfileRestOut()
Default Constructor


ProfileRestOut

public ProfileRestOut(org.exoplatform.social.core.identity.model.Profile profile)
Construct the Profile model from Social profile.

Parameters:
profile -
Since:
1.2.2
Method Detail

setFullName

public void setFullName(String fullName)
Sets fullName of profile

Parameters:
fullName -
Since:
1.2.2

getFullName

public String getFullName()
Gets fullname of profile

Returns:
Since:
1.2.2

setAvatarUrl

public void setAvatarUrl(String avatarUrl)
Sets avatarURL of profile

Parameters:
avatarUrl -
Since:
1.2.2

getAvatarUrl

public String getAvatarUrl()
Gets avatarURL of profile

Parameters:
avatarUrl -
Since:
1.2.2


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