|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.twitter.api.TwitterObject org.springframework.social.twitter.api.TwitterProfile
public class TwitterProfile
Model class representing a Twitter user's profile information.
Constructor Summary | |
---|---|
TwitterProfile(long id,
String screenName,
String name,
String url,
String profileImageUrl,
String description,
String location,
Date createdDate)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getBackgroundColor()
The color of the background of the user's Twitter profile page. |
String |
getBackgroundImageUrl()
The URL to a background image shown on the user's Twitter profile page. |
Date |
getCreatedDate()
The date that the Twitter profile was created. |
String |
getDescription()
The user's description |
int |
getFavoritesCount()
The number of tweets that the user has marked as favorites. |
int |
getFollowersCount()
The number of followers the user has. |
int |
getFriendsCount()
The number of friends the user has (the number of users this user follows). |
long |
getId()
The user's Twitter ID |
String |
getLanguage()
The user's preferred language. |
String |
getLinkColor()
The link color on the user's Twitter profile page. |
int |
getListedCount()
The number of lists the user is listed on. |
String |
getLocation()
The user's location |
String |
getName()
The user's full name |
String |
getProfileImageUrl()
The URL of the user's profile image in "normal" size (48x48). |
String |
getProfileUrl()
The URL of the user's profile. |
String |
getScreenName()
The user's Twitter screen name |
static long |
getSerialversionuid()
|
String |
getSidebarBorderColor()
The color of the sidebar border on the user's Twitter profile page. |
String |
getSidebarFillColor()
The color of the sidebar fill on the user's Twitter profile page. |
int |
getStatusesCount()
The number of tweets this user has posted. |
String |
getTextColor()
The text color on the user's Twitter profile page. |
String |
getTimeZone()
The user's time zone. |
String |
getUrl()
The user's URL |
int |
getUtcOffset()
The user's UTC offset in seconds. |
int |
hashCode()
|
boolean |
isBackgroundImageTiled()
Whether or not the background image is tiled. |
boolean |
isContributorsEnabled()
Whether or not this profile is enabled for contributors. |
boolean |
isFollowing()
Whether or not the authenticated user is following this user. |
boolean |
isFollowRequestSent()
Whether or not a request has been sent by the authenticating user to follow this user. |
boolean |
isGeoEnabled()
Whether or not the user has enabled their account with geo location. |
boolean |
isNotificationsEnabled()
Whether or not the user has mobile notifications enabled. |
boolean |
isProtected()
Whether or not the user's tweets are protected. |
boolean |
isTranslator()
Whether or not this user is a translator. |
boolean |
isVerified()
Whether or not the user is verified with Twitter. |
boolean |
showAllInlineMedia()
Whether or not the user has selected to see all inline media from everyone. |
boolean |
useBackgroundImage()
Whether or not the user's Twitter profile page uses a background image. |
Methods inherited from class org.springframework.social.twitter.api.TwitterObject |
---|
add, getExtraData |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TwitterProfile(long id, String screenName, String name, String url, String profileImageUrl, String description, String location, Date createdDate)
Method Detail |
---|
public static long getSerialversionuid()
public long getId()
public String getScreenName()
public String getName()
public String getUrl()
public String getDescription()
public String getLocation()
public String getProfileImageUrl()
The URL of the user's profile image in "normal" size (48x48).
public String getProfileUrl()
The URL of the user's profile.
public Date getCreatedDate()
public boolean isNotificationsEnabled()
public boolean isVerified()
public boolean isGeoEnabled()
public String getLanguage()
public int getStatusesCount()
public int getListedCount()
public int getFriendsCount()
public int getFollowersCount()
public boolean isFollowing()
public boolean isFollowRequestSent()
public int getFavoritesCount()
public boolean isProtected()
public String getTimeZone()
public int getUtcOffset()
public boolean isContributorsEnabled()
public boolean isTranslator()
public String getSidebarBorderColor()
public String getSidebarFillColor()
public String getBackgroundColor()
public boolean useBackgroundImage()
public String getBackgroundImageUrl()
public boolean isBackgroundImageTiled()
public String getTextColor()
public String getLinkColor()
public boolean showAllInlineMedia()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |