org.exoplatform.social.service.rest
Class IdentityRestService
java.lang.Object
org.exoplatform.social.service.rest.IdentityRestService
- All Implemented Interfaces:
- org.exoplatform.services.rest.resource.ResourceContainer
public class IdentityRestService
- extends Object
- implements org.exoplatform.services.rest.resource.ResourceContainer
Provides services to work with identities.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityRestService
public IdentityRestService()
- constructor
getId
public IdentityRestService.UserId getId(@Context
javax.ws.rs.core.UriInfo uriInfo,
String username,
String portalName)
throws Exception
- Gets an identity by a user's name and returns in the JSON format.
- Parameters:
uriInfo - The requested URI information.username - The name of the target user.portalName - The name of the current portal.
- Returns:
- UserId The information of provided user.
- Throws:
Exception
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.