@Named @SessionScoped public class SocialClient extends Object implements Serializable
| Constructor and Description |
|---|
SocialClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectCurrentService() |
org.jboss.seam.social.oauth.OAuthToken |
getAccessToken() |
org.jboss.seam.social.SocialNetworkServicesHub |
getCurrentHub() |
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) |
protected void |
statusUpdateObserver(org.jboss.seam.social.event.StatusUpdated statusUpdate) |
public String getStatus()
public void setStatus(String status)
public org.jboss.seam.social.MultiServicesManager getManager()
public void setManager(org.jboss.seam.social.MultiServicesManager manager)
public org.jboss.seam.social.oauth.OAuthSession getCurrentSession()
public void setCurrentSession(org.jboss.seam.social.oauth.OAuthSession currentSession)
@Produces @Named public org.jboss.seam.social.oauth.OAuthService getCurrentService()
@Produces @Named public org.jboss.seam.social.SocialNetworkServicesHub getCurrentHub()
public List<org.jboss.seam.social.oauth.OAuthSession> getSessions()
public org.jboss.seam.social.oauth.OAuthToken getAccessToken()
public void connectCurrentService()
public String getCurrentSessionName()
public void setCurrentSessionName(String cursrvHdlStr)
public void redirectToAuthorizationURL(String url) throws IOException
IOExceptionpublic String getTimeLineUrl()
public void serviceInit(String servType) throws IOException
IOExceptionprotected void statusUpdateObserver(@Observes@Any
org.jboss.seam.social.event.StatusUpdated statusUpdate)
public void resetConnection()
Copyright © 2011-2013 Seam Framework. All Rights Reserved.