org.jboss.seam.social.example.webclient
Class SocialClient
java.lang.Object
org.jboss.seam.social.example.webclient.SocialClient
- All Implemented Interfaces:
- Serializable
@Named
@SessionScoped
public class SocialClient
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialClient
public SocialClient()
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.