org.exoplatform.social.client.api.service
Interface IdentityService<Identity>

All Superinterfaces:
Service<Identity>
All Known Implementing Classes:
IdentityServiceImplV1Alpha1, IdentityServiceImplV1Alpha2, IdentityServiceImplV1Alpha3

public interface IdentityService<Identity>
extends Service<Identity>

eXo Social Account Service

Since:
May 19, 2011
Author:
hoatle (hoatlevan at gmail dot com)

Method Summary
 Identity getIdentity(String identityProvider, String remoteId)
          Gets an identity by its identity provider and remote id.
 String getIdentityId(String provider, String remoteId)
          Deprecated. Use getIdentity(String, String) then getIdentityId() instead.
 
Methods inherited from interface org.exoplatform.social.client.api.service.Service
create, delete, get, update
 

Method Detail

getIdentity

Identity getIdentity(String identityProvider,
                     String remoteId)
                     throws SocialClientLibException
Gets an identity by its identity provider and remote id.

Parameters:
identityProvider - the identity provider
remoteId - the remote id
Returns:
the identity
Throws:
ServiceException
SocialClientLibException
Since:
1.0.0-alpha2

getIdentityId

@Deprecated
String getIdentityId(String provider,
                                String remoteId)
                     throws SocialClientLibException
Deprecated. Use getIdentity(String, String) then getIdentityId() instead.

Gets the identity id from a remote id.

Parameters:
remoteId - the remote id
Returns:
the uuid
Throws:
SocialClientLibException


Copyright © 2011-2012 eXo Platform. All Rights Reserved.