Class ProfileRestOut
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
The Profile model for Social Rest APIs.
- Since:
- 1.2.2
- Author:
- phuonglm
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorProfileRestOut(org.exoplatform.social.core.identity.model.Profile profile) Construct the Profile model from Social profile. -
Method Summary
Modifier and TypeMethodDescriptionGets avatarURL of profileGets fullname of profilevoidsetAvatarUrl(String avatarUrl) Sets avatarURL of profilevoidsetBannerUrl(String bannerUrl) voidsetFullName(String fullName) Sets fullName of profileMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
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 Details
-
setFullName
Sets fullName of profile- Parameters:
fullName-- Since:
- 1.2.2
-
getFullName
Gets fullname of profile- Returns:
- Since:
- 1.2.2
-
setAvatarUrl
Sets avatarURL of profile- Parameters:
avatarUrl-- Since:
- 1.2.2
-
getAvatarUrl
Gets avatarURL of profile- Since:
- 1.2.2
-
setBannerUrl
-
getBannerUrl
-