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, org.jboss.seam.social.core.HasStatus, org.jboss.seam.social.core.OAuthService, org.jboss.seam.social.twitter.Twitter

public class TwitterJackson
extends OAuthServiceJackson
implements org.jboss.seam.social.twitter.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()
           
 org.jboss.seam.social.twitter.model.TwitterProfile getMyProfile()
           
 String getProfileId()
           
 String getScreenName()
           
 String getServiceLogo()
           
 List<org.jboss.seam.social.twitter.model.SuggestionCategory> getSuggestionCategories()
           
 List<org.jboss.seam.social.twitter.model.TwitterProfile> getSuggestions(String slug)
           
 String getType()
           
 org.jboss.seam.social.twitter.model.TwitterProfile getUserProfile(long userId)
           
 org.jboss.seam.social.twitter.model.TwitterProfile getUserProfile(String screenName)
           
 List<org.jboss.seam.social.twitter.model.TwitterProfile> getUsers(Long... userIds)
           
 List<org.jboss.seam.social.twitter.model.TwitterProfile> getUsers(String... screenNames)
           
protected  void initMyProfile()
           
 List<org.jboss.seam.social.twitter.model.TwitterProfile> searchForUsers(String query)
           
 org.jboss.seam.social.twitter.model.Tweet updateStatus()
           
 org.jboss.seam.social.twitter.model.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 org.jboss.seam.social.twitter.model.Tweet updateStatus(String message)
Specified by:
updateStatus in interface org.jboss.seam.social.core.HasStatus

getServiceLogo

public String getServiceLogo()
Specified by:
getServiceLogo in interface org.jboss.seam.social.core.OAuthService

getType

public String getType()
Specified by:
getType in interface org.jboss.seam.social.core.OAuthService

updateStatus

public org.jboss.seam.social.twitter.model.Tweet updateStatus()
Specified by:
updateStatus in interface org.jboss.seam.social.core.HasStatus

getProfileId

public String getProfileId()
Specified by:
getProfileId in interface org.jboss.seam.social.twitter.Twitter

getScreenName

public String getScreenName()
Specified by:
getScreenName in interface org.jboss.seam.social.twitter.Twitter

getMyProfile

public org.jboss.seam.social.twitter.model.TwitterProfile getMyProfile()
Specified by:
getMyProfile in interface org.jboss.seam.social.core.OAuthService
Specified by:
getMyProfile in interface org.jboss.seam.social.twitter.Twitter
Overrides:
getMyProfile in class OAuthServiceBase

getUserProfile

public org.jboss.seam.social.twitter.model.TwitterProfile getUserProfile(String screenName)
Specified by:
getUserProfile in interface org.jboss.seam.social.twitter.Twitter

getUserProfile

public org.jboss.seam.social.twitter.model.TwitterProfile getUserProfile(long userId)
Specified by:
getUserProfile in interface org.jboss.seam.social.twitter.Twitter

getUsers

public List<org.jboss.seam.social.twitter.model.TwitterProfile> getUsers(Long... userIds)
Specified by:
getUsers in interface org.jboss.seam.social.twitter.Twitter

getUsers

public List<org.jboss.seam.social.twitter.model.TwitterProfile> getUsers(String... screenNames)
Specified by:
getUsers in interface org.jboss.seam.social.twitter.Twitter

searchForUsers

public List<org.jboss.seam.social.twitter.model.TwitterProfile> searchForUsers(String query)
Specified by:
searchForUsers in interface org.jboss.seam.social.twitter.Twitter

getSuggestionCategories

public List<org.jboss.seam.social.twitter.model.SuggestionCategory> getSuggestionCategories()
Specified by:
getSuggestionCategories in interface org.jboss.seam.social.twitter.Twitter

getSuggestions

public List<org.jboss.seam.social.twitter.model.TwitterProfile> getSuggestions(String slug)
Specified by:
getSuggestions in interface org.jboss.seam.social.twitter.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.