com.atlassian.gadgets.refimpl
Class UserManagerPersonService

java.lang.Object
  extended by com.atlassian.gadgets.refimpl.UserManagerPersonService
All Implemented Interfaces:
com.atlassian.gadgets.opensocial.spi.PersonService

public class UserManagerPersonService
extends Object
implements com.atlassian.gadgets.opensocial.spi.PersonService

A PersonService implementation based on SAL's UserManager class


Constructor Summary
UserManagerPersonService(com.atlassian.sal.api.user.UserManager userManager)
           
 
Method Summary
 Set<com.atlassian.gadgets.opensocial.model.Person> getPeople(Set<String> personIds, com.atlassian.gadgets.opensocial.model.Group group, com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
           
 com.atlassian.gadgets.opensocial.model.Person getPerson(String userId, com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserManagerPersonService

public UserManagerPersonService(com.atlassian.sal.api.user.UserManager userManager)
Method Detail

getPerson

public com.atlassian.gadgets.opensocial.model.Person getPerson(String userId,
                                                               com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
                                                        throws com.atlassian.gadgets.opensocial.spi.PersonServiceException
Specified by:
getPerson in interface com.atlassian.gadgets.opensocial.spi.PersonService
Throws:
com.atlassian.gadgets.opensocial.spi.PersonServiceException

getPeople

public Set<com.atlassian.gadgets.opensocial.model.Person> getPeople(Set<String> personIds,
                                                                    com.atlassian.gadgets.opensocial.model.Group group,
                                                                    com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
                                                             throws com.atlassian.gadgets.opensocial.spi.PersonServiceException
Specified by:
getPeople in interface com.atlassian.gadgets.opensocial.spi.PersonService
Throws:
com.atlassian.gadgets.opensocial.spi.PersonServiceException


Copyright © 2013 Atlassian. All Rights Reserved.