|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.social.OAuthServiceBase
org.jboss.seam.social.OAuthServiceJackson
org.jboss.seam.social.twitter.jackson.TwitterServiceJackson
public class TwitterServiceJackson
| Field Summary |
|---|
| Fields inherited from class org.jboss.seam.social.OAuthServiceJackson |
|---|
jsonMapper |
| Fields inherited from class org.jboss.seam.social.OAuthServiceBase |
|---|
ip, myProfile, sessionSettings, socialConfig |
| Constructor Summary | |
|---|---|
TwitterServiceJackson()
|
|
| Method Summary | |
|---|---|
protected org.codehaus.jackson.map.Module |
getJacksonModule()
|
TwitterProfile |
getMyProfile()
Retrieves the authenticated user's Twitter profile details. |
String |
getProfileId()
Retrieves the authenticated user's Twitter ID. |
String |
getScreenName()
Retrieves the authenticated user's Twitter screen name |
String |
getServiceLogo()
|
List<SuggestionCategory> |
getSuggestionCategories()
Retrieves a list of categories from which suggested users to follow may be found. |
List<TwitterProfile> |
getSuggestions(String slug)
Retrieves a list of suggestions of users to follow for a given category. |
TwitterProfile |
getUserProfile(long userId)
Retrieves a specific user's Twitter profile details. |
TwitterProfile |
getUserProfile(String screenName)
Retrieves a specific user's Twitter profile details. |
List<TwitterProfile> |
getUsers(Long... userIds)
Retrieves a list of Twitter profiles for the given list of user IDs. |
List<TwitterProfile> |
getUsers(String... screenNames)
Retrieves a list of Twitter profiles for the given list of screen names. |
protected void |
initMyProfile()
|
List<TwitterProfile> |
searchForUsers(String query)
Searches for users that match a given query. |
Tweet |
updateStatus()
|
Tweet |
updateStatus(String message)
|
| Methods inherited from class org.jboss.seam.social.OAuthServiceJackson |
|---|
init |
| Methods inherited from class org.jboss.seam.social.OAuthServiceBase |
|---|
equals, getAccessToken, getAuthorizationUrl, getName, getQualifier, getRequestToken, getSession, getSettings, getStatus, getType, getVerifier, getVerifierParamName, hashCode, initAccessToken, isConnected, requireAuthorization, resetConnection, sendSignedRequest, sendSignedRequest, sendSignedRequest, sendSignedRequest, sendSignedXmlRequest, setAccessToken, setAccessToken, setSession, setSettings, setStatus, setVerifier, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.seam.social.oauth.OAuthService |
|---|
getAccessToken, getAuthorizationUrl, getSession, getSettings, getVerifier, getVerifierParamName, initAccessToken, sendSignedRequest, sendSignedRequest, sendSignedRequest, sendSignedXmlRequest, setAccessToken, setAccessToken, setSession, setSettings, setVerifier |
| Methods inherited from interface org.jboss.seam.social.rest.RestService |
|---|
getName, getQualifier, getType, isConnected, resetConnection |
| Methods inherited from interface org.jboss.seam.social.HasStatus |
|---|
getStatus, setStatus |
| Constructor Detail |
|---|
public TwitterServiceJackson()
| Method Detail |
|---|
public Tweet updateStatus(String message)
updateStatus in interface org.jboss.seam.social.HasStatuspublic String getServiceLogo()
getServiceLogo in interface org.jboss.seam.social.rest.RestServicepublic Tweet updateStatus()
updateStatus in interface org.jboss.seam.social.HasStatuspublic String getProfileId()
TwitterService
getProfileId in interface TwitterServicepublic String getScreenName()
TwitterService
getScreenName in interface TwitterServicepublic TwitterProfile getMyProfile()
TwitterService
getMyProfile in interface org.jboss.seam.social.rest.RestServicegetMyProfile in interface TwitterServicegetMyProfile in class org.jboss.seam.social.OAuthServiceBaseTwitterProfile object representing the user's profile.public TwitterProfile getUserProfile(String screenName)
TwitterService
getUserProfile in interface TwitterServicescreenName - the screen name for the user whose details are to be retrieved.
TwitterProfile object representing the user's profile.public TwitterProfile getUserProfile(long userId)
TwitterService
getUserProfile in interface TwitterServiceuserId - the user ID for the user whose details are to be retrieved.
TwitterProfile object representing the user's profile.public List<TwitterProfile> getUsers(Long... userIds)
TwitterService
getUsers in interface TwitterServicepublic List<TwitterProfile> getUsers(String... screenNames)
TwitterService
getUsers in interface TwitterServicepublic List<TwitterProfile> searchForUsers(String query)
TwitterService
searchForUsers in interface TwitterServicepublic List<SuggestionCategory> getSuggestionCategories()
TwitterService
getSuggestionCategories in interface TwitterServicepublic List<TwitterProfile> getSuggestions(String slug)
TwitterService
getSuggestions in interface TwitterServiceslug - the category's slugprotected void initMyProfile()
initMyProfile in class org.jboss.seam.social.OAuthServiceBaseprotected org.codehaus.jackson.map.Module getJacksonModule()
getJacksonModule in class org.jboss.seam.social.OAuthServiceJackson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||