org.jboss.seam.social.rest
Interface RestService

All Superinterfaces:
Serializable
All Known Subinterfaces:
OAuthService
All Known Implementing Classes:
OAuthServiceBase, OAuthServiceJackson

public interface RestService
extends Serializable

Author:
antoine

Method Summary
 UserProfile getMyProfile()
           
 String getName()
           
 Annotation getQualifier()
          Returns the Qualifier used for this social network
 String getServiceLogo()
          Returns the logo of the service
 String getType()
          Returns the name/type of the Social Network we're connected to
 boolean isConnected()
          Returns the status of this ServiceHndler
 void resetConnection()
          Close connexion if needed
 

Method Detail

getMyProfile

UserProfile getMyProfile()
Returns:

getServiceLogo

String getServiceLogo()
Returns the logo of the service

Returns:
the URL of the logo for the service

isConnected

boolean isConnected()
Returns the status of this ServiceHndler

Returns:
true if the connection process is over and successful

getType

String getType()
Returns the name/type of the Social Network we're connected to

Returns:
name of the service

getQualifier

Annotation getQualifier()
Returns the Qualifier used for this social network

Returns:
Annotation being a Qualifier

resetConnection

void resetConnection()
Close connexion if needed


getName

String getName()
Returns:
the name of the service with this session


Copyright © 2011 Seam Framework. All Rights Reserved.