org.jboss.seam.social.examples.webclient
Class SocialClient

java.lang.Object
  extended by org.jboss.seam.social.examples.webclient.SocialClient
All Implemented Interfaces:
Serializable

@Named
@SessionScoped
public class SocialClient
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SocialClient()
           
 
Method Summary
 void connectCurrentService()
           
 org.jboss.seam.social.oauth.OAuthToken getAccessToken()
           
 org.jboss.seam.social.oauth.OAuthService getCurrentService()
           
 org.jboss.seam.social.oauth.OAuthSession getCurrentSession()
           
 String getCurrentSessionName()
           
 org.jboss.seam.social.MultiServicesManager getManager()
           
 List<org.jboss.seam.social.oauth.OAuthSession> getSessions()
           
 Map<String,org.jboss.seam.social.oauth.OAuthSession> getSessionsMap()
           
 String getStatus()
           
 String getTimeLineUrl()
           
 void redirectToAuthorizationURL(String url)
           
 void resetConnection()
           
 void serviceInit(String servType)
           
 void setCurrentSession(org.jboss.seam.social.oauth.OAuthSession currentSession)
           
 void setCurrentSessionName(String cursrvHdlStr)
           
 void setManager(org.jboss.seam.social.MultiServicesManager manager)
           
 void setStatus(String status)
           
 void updateStatus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialClient

public SocialClient()
Method Detail

getStatus

public String getStatus()

setStatus

public void setStatus(String status)

getManager

public org.jboss.seam.social.MultiServicesManager getManager()

setManager

public void setManager(org.jboss.seam.social.MultiServicesManager manager)

getCurrentSession

public org.jboss.seam.social.oauth.OAuthSession getCurrentSession()

setCurrentSession

public void setCurrentSession(org.jboss.seam.social.oauth.OAuthSession currentSession)

getSessionsMap

public Map<String,org.jboss.seam.social.oauth.OAuthSession> getSessionsMap()

getCurrentService

@Produces
@Named
public org.jboss.seam.social.oauth.OAuthService getCurrentService()

getSessions

public List<org.jboss.seam.social.oauth.OAuthSession> getSessions()

getAccessToken

public org.jboss.seam.social.oauth.OAuthToken getAccessToken()

connectCurrentService

public void connectCurrentService()

getCurrentSessionName

public String getCurrentSessionName()

setCurrentSessionName

public void setCurrentSessionName(String cursrvHdlStr)

redirectToAuthorizationURL

public void redirectToAuthorizationURL(String url)
                                throws IOException
Throws:
IOException

getTimeLineUrl

public String getTimeLineUrl()

serviceInit

public void serviceInit(String servType)
                 throws IOException
Throws:
IOException

resetConnection

public void resetConnection()

updateStatus

public void updateStatus()


Copyright © 2011-2012 Seam Framework. All Rights Reserved.