|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.facebook.api.FacebookObject org.springframework.social.facebook.api.FacebookProfile
public class FacebookProfile
Model class containing a Facebook user's profile information.
Constructor Summary | |
---|---|
FacebookProfile(String id,
String username,
String name,
String firstName,
String lastName,
String gender,
Locale locale)
|
Method Summary | |
---|---|
String |
getAbout()
The user's brief about blurb. |
AgeRange |
getAgeRange()
The user's age range. |
String |
getBio()
The user's bio. |
String |
getBirthday()
The user's birthday. |
List<EducationEntry> |
getEducation()
The user's education history. |
String |
getEmail()
The user's email address. |
List<Reference> |
getFavoriteAtheletes()
A list of references to the user's favorite athletes. |
List<Reference> |
getFavoriteTeams()
A list of references to the user's favorite sports teams. |
String |
getFirstName()
The user's first name |
String |
getGender()
The user's gender |
Reference |
getHometown()
The user's hometown. |
String |
getId()
The user's Facebook ID |
List<Reference> |
getInspirationalPeople()
A list of references to people the user is inspired by. |
List<String> |
getInterestedIn()
A list of the genders the user is interested in. |
List<Reference> |
getLanguages()
A list of references to languages the user claims to know. |
String |
getLastName()
The user's last name |
String |
getLink()
A link to the user's profile on Facebook. |
Locale |
getLocale()
The user's locale |
Reference |
getLocation()
The user's location. |
String |
getMiddleName()
The user's middle name |
String |
getName()
The user's full name |
String |
getPolitical()
The user's political affiliation. |
String |
getQuotes()
The user's quotations. |
String |
getRelationshipStatus()
The user's relationship status. |
String |
getReligion()
The user's religion. |
Reference |
getSignificantOther()
The user's significant other. |
List<Reference> |
getSports()
A list of references to sports the user plays |
String |
getThirdPartyId()
An anonymous, but unique identifier for the user. |
Float |
getTimezone()
The user's timezone offset from UTC. |
Date |
getUpdatedTime()
The last time the user's profile was updated. |
String |
getUsername()
The user's Facebook username |
String |
getWebsite()
A link to the user's personal website. |
List<WorkEntry> |
getWork()
The user's work history. |
Boolean |
isVerified()
The user's account verification status. |
Methods inherited from class org.springframework.social.facebook.api.FacebookObject |
---|
add, getExtraData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FacebookProfile(String id, String username, String name, String firstName, String lastName, String gender, Locale locale)
Method Detail |
---|
public String getId()
public String getUsername()
public String getName()
public String getFirstName()
public String getMiddleName()
public String getLastName()
public String getGender()
public Locale getLocale()
public String getEmail()
public String getLink()
public String getWebsite()
public String getThirdPartyId()
public Float getTimezone()
public Date getUpdatedTime()
public Boolean isVerified()
public String getAbout()
public String getBio()
public String getBirthday()
public Reference getLocation()
Reference
to the user's location, if availablepublic Reference getHometown()
Reference
to the user's hometown, if availablepublic List<String> getInterestedIn()
public List<Reference> getInspirationalPeople()
Reference
to people the user is inspired by, if available.public List<Reference> getLanguages()
Reference
to languages the user knows, if available.public List<Reference> getSports()
Reference
s to sports the user plays, if available.public List<Reference> getFavoriteTeams()
Reference
s to sports teams the user is a fan of, if available.public List<Reference> getFavoriteAtheletes()
Reference
s to athletes the user is a fan of, if available.public String getReligion()
public String getPolitical()
public String getQuotes()
public String getRelationshipStatus()
public Reference getSignificantOther()
Reference
to the user's significant other, if available.public List<WorkEntry> getWork()
WorkEntry
items, one for each entry in the user's work history.public List<EducationEntry> getEducation()
EducationEntry
items, one for each entry in the user's education history.public AgeRange getAgeRange()
AgeRange
for the user. Will be AgeRange.UNKNOWN
if the age_range isn't available or if the range given does match the known ranges.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |