org.exoplatform.social.service.rest
Class IdentityRestService

java.lang.Object
  extended by 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

IdentityRestService.java gets identityId by username

Since:
Dec 29, 2009
Author:
hoatle

Nested Class Summary
 class IdentityRestService.UserId
          UserId class to be exposed
 
Constructor Summary
IdentityRestService()
          constructor
 
Method Summary
 IdentityRestService.UserId getId(javax.ws.rs.core.UriInfo uriInfo, String username, String portalName)
          gets identity by username and return by json format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityRestService

public IdentityRestService()
constructor

Method Detail

getId

public IdentityRestService.UserId getId(@Context
                                        javax.ws.rs.core.UriInfo uriInfo,
                                        String username,
                                        String portalName)
                                 throws Exception
gets identity by username and return by json format

Parameters:
username -
Returns:
UserId
Throws:
Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.