org.pandora.client.servlet
Class TwitterBean

java.lang.Object
  extended by org.pandora.client.servlet.TwitterBean

public class TwitterBean
extends java.lang.Object


Constructor Summary
TwitterBean()
           
 
Method Summary
 void addFriend(java.lang.String friend)
           
 void authoriseAccount()
           
 void authoriseComplete()
           
 void connect(java.lang.String userName, java.lang.String token, java.lang.String secret)
           
 void disconnect()
           
 java.lang.String getAuthorisationURL()
           
 java.lang.String getFollowers()
           
 java.lang.String getFriends()
           
 Pandora getPandora()
          Return the associated Pandora instance.
 PandoraBean getPandoraBean()
           
 java.lang.String getTimeline()
           
 java.lang.String getToken()
           
 java.lang.String getTokenSecret()
           
 java.lang.String getUserName()
           
 boolean isAuthorising()
           
 boolean isConnected()
           
 void removeFriend(java.lang.String friend)
           
 void setPandoraBean(PandoraBean pandoraBean)
          Set the associated PandoraBean instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwitterBean

public TwitterBean()
Method Detail

getUserName

public java.lang.String getUserName()

getToken

public java.lang.String getToken()

getTokenSecret

public java.lang.String getTokenSecret()

getFriends

public java.lang.String getFriends()

getFollowers

public java.lang.String getFollowers()

getTimeline

public java.lang.String getTimeline()

isConnected

public boolean isConnected()

isAuthorising

public boolean isAuthorising()

getAuthorisationURL

public java.lang.String getAuthorisationURL()

authoriseAccount

public void authoriseAccount()
                      throws twitter4j.TwitterException
Throws:
twitter4j.TwitterException

authoriseComplete

public void authoriseComplete()
                       throws twitter4j.TwitterException
Throws:
twitter4j.TwitterException

connect

public void connect(java.lang.String userName,
                    java.lang.String token,
                    java.lang.String secret)
             throws twitter4j.TwitterException
Throws:
twitter4j.TwitterException

disconnect

public void disconnect()

addFriend

public void addFriend(java.lang.String friend)

removeFriend

public void removeFriend(java.lang.String friend)

getPandora

public Pandora getPandora()
Return the associated Pandora instance.


setPandoraBean

public void setPandoraBean(PandoraBean pandoraBean)
Set the associated PandoraBean instance. Initialize the char instance if a new Pandora instance.


getPandoraBean

public PandoraBean getPandoraBean()