@Component(value="opensocialPersonService") public class PersonServiceImpl extends AbstractOpenSocialService implements PersonService
| Constructor and Description |
|---|
PersonServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<org.opensocial.models.Person> |
getPeople(String groupId,
String loggedInUser)
Get the group members of the given group.
|
org.opensocial.models.Person |
getPerson(String userId,
String loggedInUser)
Get the OpenSocial Person
|
getClient, setEnvironmentprotected static final String SELF
public org.opensocial.models.Person getPerson(String userId, String loggedInUser)
getPerson in interface PersonServiceuserId - the unique identifierloggedInUser - the unique identifier of the user that is going to make the requestPersonpublic List<org.opensocial.models.Person> getPeople(String groupId, String loggedInUser)
getPeople in interface PersonServicegroupId - String the unique identifier for the grouploggedInUser - String the unique identifier for the logged in userArrayList containing Person'sCopyright © 2012. All Rights Reserved.