public class LinkedIn2Profile extends OAuth20Profile
This class is the user profile for LinkedIn with appropriate getters.
It is returned by the LinkedIn2Client
.
Method : | From the JSON profile response : |
---|---|
The attributes of the CommonProfile |
|
String getEmail() | the email-address attribute |
String getFirstName() | the first_name attribute |
String getFamilyName() | the family_name attribute |
String getDisplayName() | the formatted_name attribute |
String getUsername() | null |
Gender getGender() | Gender.UNSPECIFIED |
Locale getLocale() | null |
String getPictureUrl() | the picture-url attribute |
String getProfileUrl() | the public-profile-url attribute |
String getLocation() | the name of the location attribute |
More specific attributes | |
String getHeadline() | the headline attribute |
LinkedIn2Location getCompleteLocation() | the location attribute |
String getMaidenName() | the maiden-name attribute |
String getIndustry() | the industry attribute |
Integer getNumConnections() | the num-connections attribute |
String getSummary() | the summary attribute |
String getSpecialties() | the specialties attribute |
String getSpecialties() | the specialties attribute |
List<LinkedIn2Position> getPositions() | the positions attribute |
String getSpecialties() | the specialties attribute |
String getSiteStandardProfileRequest() | the url of the site-standard-profile-request attribute |
LinkedIn2Client
,
Serialized FormUSERNAME
logger, SEPARATOR
Constructor and Description |
---|
LinkedIn2Profile() |
Modifier and Type | Method and Description |
---|---|
protected AttributesDefinition |
getAttributesDefinition()
Return the attributes definition for this user profile.
|
LinkedIn2Location |
getCompleteLocation() |
String |
getDisplayName()
Return the displayed name of the user.
|
String |
getEmail()
Return the email of the user.
|
String |
getFamilyName()
Return the family name of the user.
|
String |
getFirstName()
Return the first name of the user.
|
String |
getHeadline() |
String |
getIndustry() |
String |
getLocation()
Return the location of the user.
|
String |
getMaidenName() |
Integer |
getNumConnections() |
String |
getOAuth10Id() |
String |
getPictureUrl()
Return the url of the picture of the user.
|
List<LinkedIn2Position> |
getPositions() |
String |
getProfileUrl()
Return the url of the profile of the user.
|
String |
getSiteStandardProfileRequest() |
String |
getSpecialties() |
String |
getSummary() |
clear, getAccessToken, setAccessToken
getGender, getLocale, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
public String getOAuth10Id()
protected AttributesDefinition getAttributesDefinition()
UserProfile
getAttributesDefinition
in class UserProfile
public String getFirstName()
CommonProfile
getFirstName
in class CommonProfile
public String getFamilyName()
CommonProfile
getFamilyName
in class CommonProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public String getLocation()
CommonProfile
getLocation
in class CommonProfile
public String getEmail()
CommonProfile
getEmail
in class CommonProfile
public String getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public String getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public LinkedIn2Location getCompleteLocation()
public String getMaidenName()
public String getHeadline()
public String getIndustry()
public Integer getNumConnections()
public String getSummary()
public String getSpecialties()
public List<LinkedIn2Position> getPositions()
public String getSiteStandardProfileRequest()
Copyright © 2016. All rights reserved.