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

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

@Named
@SessionScoped
public class SocialClient
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SocialClient()
           
 
Method Summary
 OAuthToken getAccessToken()
           
 String getAuthorizationURL()
           
 List<OAuthServiceHandler> getConnectedServices()
           
 OAuthServiceHandler getCurrentServiceHdl()
           
 String getCurrentServiceName()
           
 List<OAuthServiceHandler> getServiceHandlers()
           
 String getStatus()
           
 String getTimeLineUrl()
           
 List<OAuthServiceHandler> getUnconnectedServices()
           
 UserProfile getUser()
           
 String getVerifier()
           
 void gotoAuthorizationURL(OAuthServiceHandler service)
           
 void init()
           
 void initAccessToken()
           
 boolean isCurrentServiceOk()
           
 void setCurrentServiceHdl(OAuthServiceHandler currentServiceHdl)
           
 void setCurrentServiceName(String cursrvHdlStr)
           
 void setStatus(String status)
           
 void setVerifier(String verifier)
           
 
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

getServiceHandlers

public List<OAuthServiceHandler> getServiceHandlers()

init

@PostConstruct
public void init()

getConnectedServices

public List<OAuthServiceHandler> getConnectedServices()

getUnconnectedServices

public List<OAuthServiceHandler> getUnconnectedServices()

getAccessToken

public OAuthToken getAccessToken()

getVerifier

public String getVerifier()

setVerifier

public void setVerifier(String verifier)

getAuthorizationURL

public String getAuthorizationURL()

initAccessToken

public void initAccessToken()

setStatus

public void setStatus(String status)
Parameters:
status - the status to set

getStatus

public String getStatus()
Returns:
the status

getUser

public UserProfile getUser()

getCurrentServiceHdl

public OAuthServiceHandler getCurrentServiceHdl()

setCurrentServiceHdl

public void setCurrentServiceHdl(OAuthServiceHandler currentServiceHdl)

getCurrentServiceName

public String getCurrentServiceName()

setCurrentServiceName

public void setCurrentServiceName(String cursrvHdlStr)

gotoAuthorizationURL

public void gotoAuthorizationURL(OAuthServiceHandler service)
                          throws IOException
Throws:
IOException

isCurrentServiceOk

public boolean isCurrentServiceOk()

getTimeLineUrl

public String getTimeLineUrl()


Copyright © 2011 Seam Framework. All Rights Reserved.