Class ProfileRestOut

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
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:
  • 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

      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
      Since:
      1.2.2
    • setBannerUrl

      public void setBannerUrl(String bannerUrl)
    • getBannerUrl

      public String getBannerUrl()