org.springframework.social.twitter.connect
Class TwitterAdapter

java.lang.Object
  extended by org.springframework.social.twitter.connect.TwitterAdapter
All Implemented Interfaces:
org.springframework.social.connect.ApiAdapter<Twitter>

public class TwitterAdapter
extends Object
implements org.springframework.social.connect.ApiAdapter<Twitter>

Twitter ApiAdapter implementation.


Constructor Summary
TwitterAdapter()
           
 
Method Summary
 org.springframework.social.connect.UserProfile fetchUserProfile(Twitter twitter)
           
 void setConnectionValues(Twitter twitter, org.springframework.social.connect.ConnectionValues values)
           
 boolean test(Twitter twitter)
           
 void updateStatus(Twitter twitter, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwitterAdapter

public TwitterAdapter()
Method Detail

test

public boolean test(Twitter twitter)
Specified by:
test in interface org.springframework.social.connect.ApiAdapter<Twitter>

setConnectionValues

public void setConnectionValues(Twitter twitter,
                                org.springframework.social.connect.ConnectionValues values)
Specified by:
setConnectionValues in interface org.springframework.social.connect.ApiAdapter<Twitter>

fetchUserProfile

public org.springframework.social.connect.UserProfile fetchUserProfile(Twitter twitter)
Specified by:
fetchUserProfile in interface org.springframework.social.connect.ApiAdapter<Twitter>

updateStatus

public void updateStatus(Twitter twitter,
                         String message)
Specified by:
updateStatus in interface org.springframework.social.connect.ApiAdapter<Twitter>