org.jboss.seam.social.twitter
Class TwitterJackson

java.lang.Object
  extended by org.jboss.seam.social.core.OAuthServiceBase
      extended by org.jboss.seam.social.core.OAuthServiceJackson
          extended by org.jboss.seam.social.twitter.TwitterJackson
All Implemented Interfaces:
Serializable, HasStatus, OAuthService, Twitter

public class TwitterJackson
extends OAuthServiceJackson
implements Twitter

Author:
Antoine Sabot-Durand
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.seam.social.core.OAuthServiceJackson
jsonMapper
 
Fields inherited from class org.jboss.seam.social.core.OAuthServiceBase
ip, myProfile, sessionSettings
 
Fields inherited from interface org.jboss.seam.social.twitter.Twitter
TYPE
 
Constructor Summary
TwitterJackson()
           
 
Method Summary
protected  org.codehaus.jackson.map.Module getJacksonModule()
           
 TwitterProfile getMyProfile()
           
 String getProfileId()
           
 String getScreenName()
           
 String getServiceLogo()
           
 List<SuggestionCategory> getSuggestionCategories()
           
 List<TwitterProfile> getSuggestions(String slug)
           
 String getType()
           
 TwitterProfile getUserProfile(long userId)
           
 TwitterProfile getUserProfile(String screenName)
           
 List<TwitterProfile> getUsers(Long... userIds)
           
 List<TwitterProfile> getUsers(String... screenNames)
           
protected  void initMyProfile()
           
 List<TwitterProfile> searchForUsers(String query)
           
 Tweet updateStatus()
           
 Tweet updateStatus(String message)
           
 
Methods inherited from class org.jboss.seam.social.core.OAuthServiceJackson
init
 
Methods inherited from class org.jboss.seam.social.core.OAuthServiceBase
equals, getAccessToken, getAuthorizationUrl, getName, getRequestToken, getSession, getSettings, getStatus, 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.core.OAuthService
getAccessToken, getAuthorizationUrl, getName, getSession, getSettings, getVerifier, getVerifierParamName, initAccessToken, isConnected, resetConnection, sendSignedRequest, sendSignedRequest, sendSignedRequest, sendSignedXmlRequest, setAccessToken, setAccessToken, setSession, setSettings, setVerifier
 
Methods inherited from interface org.jboss.seam.social.core.HasStatus
getStatus, setStatus
 

Constructor Detail

TwitterJackson

public TwitterJackson()
Method Detail

updateStatus

public Tweet updateStatus(String message)
Specified by:
updateStatus in interface HasStatus

getServiceLogo

public String getServiceLogo()
Specified by:
getServiceLogo in interface OAuthService

getType

public String getType()
Specified by:
getType in interface OAuthService

updateStatus

public Tweet updateStatus()
Specified by:
updateStatus in interface HasStatus

getProfileId

public String getProfileId()
Specified by:
getProfileId in interface Twitter

getScreenName

public String getScreenName()
Specified by:
getScreenName in interface Twitter

getMyProfile

public TwitterProfile getMyProfile()
Specified by:
getMyProfile in interface OAuthService
Specified by:
getMyProfile in interface Twitter
Overrides:
getMyProfile in class OAuthServiceBase

getUserProfile

public TwitterProfile getUserProfile(String screenName)
Specified by:
getUserProfile in interface Twitter

getUserProfile

public TwitterProfile getUserProfile(long userId)
Specified by:
getUserProfile in interface Twitter

getUsers

public List<TwitterProfile> getUsers(Long... userIds)
Specified by:
getUsers in interface Twitter

getUsers

public List<TwitterProfile> getUsers(String... screenNames)
Specified by:
getUsers in interface Twitter

searchForUsers

public List<TwitterProfile> searchForUsers(String query)
Specified by:
searchForUsers in interface Twitter

getSuggestionCategories

public List<SuggestionCategory> getSuggestionCategories()
Specified by:
getSuggestionCategories in interface Twitter

getSuggestions

public List<TwitterProfile> getSuggestions(String slug)
Specified by:
getSuggestions in interface Twitter

initMyProfile

protected void initMyProfile()
Specified by:
initMyProfile in class OAuthServiceBase

getJacksonModule

protected org.codehaus.jackson.map.Module getJacksonModule()
Specified by:
getJacksonModule in class OAuthServiceJackson


Copyright © 2011 Seam Framework. All Rights Reserved.