org.springframework.social.linkedin.api
Class LinkedInProfile

java.lang.Object
  extended by org.springframework.social.linkedin.api.LinkedInObject
      extended by org.springframework.social.linkedin.api.LinkedInProfile
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LinkedInProfileFull, UpdateContent

public class LinkedInProfile
extends LinkedInObject
implements Serializable

Model class containing a user's LinkedIn profile information.

See Also:
Serialized Form

Constructor Summary
LinkedInProfile(String id, String firstName, String lastName, String headline, String industry, String publicProfileUrl, UrlResource siteStandardProfileRequest, String profilePictureUrl)
           
 
Method Summary
 ConnectionAuthorization getConnectionAuthorization()
           
 String getEmailAddress()
          The user's email address (if available).
 String getFirstName()
          The user's first name
 String getHeadline()
          The user's headline
 String getId()
          The user's LinkedIn profile ID
 String getIndustry()
          The user's industry
 String getLastName()
          The user's last name
 String getProfilePictureUrl()
          A URL to the user's profile picture.
 String getPublicProfileUrl()
          A URL to the user's public profile.
 UrlResource getSiteStandardProfileRequest()
          A URL to the user's standard profile.
 String getSummary()
          The user's summary.
 
Methods inherited from class org.springframework.social.linkedin.api.LinkedInObject
add, getExtraData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedInProfile

public LinkedInProfile(String id,
                       String firstName,
                       String lastName,
                       String headline,
                       String industry,
                       String publicProfileUrl,
                       UrlResource siteStandardProfileRequest,
                       String profilePictureUrl)
Method Detail

getId

public String getId()
The user's LinkedIn profile ID


getFirstName

public String getFirstName()
The user's first name


getLastName

public String getLastName()
The user's last name


getEmailAddress

public String getEmailAddress()
The user's email address (if available). Requires "r_emailaddress" scope; will be null if "r_emailaddress" scope is not authorized on the connection.


getHeadline

public String getHeadline()
The user's headline


getIndustry

public String getIndustry()
The user's industry


getSiteStandardProfileRequest

public UrlResource getSiteStandardProfileRequest()
A URL to the user's standard profile. The content shown at this profile will depend upon what the requesting user is allowed to see.


getPublicProfileUrl

public String getPublicProfileUrl()
A URL to the user's public profile. The content shown at this profile is intended for public display and is determined by the user's privacy settings. May be null if the user's profile isn't public.


getProfilePictureUrl

public String getProfilePictureUrl()
A URL to the user's profile picture.


getSummary

public String getSummary()
The user's summary.


getConnectionAuthorization

public ConnectionAuthorization getConnectionAuthorization()
Returns:
Authorization information required for connecting to this user.