@Component(value="openSocialService") public class OpenSocialServiceImpl extends Object implements OpenSocialService
OpenSocialService using the OpenSocial client to retrieve the
data| Constructor and Description |
|---|
OpenSocialServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.opensocial.models.Person |
getPerson(String userId)
Get the OpenSocial Person
|
org.opensocial.models.Person |
getPerson(String userId,
String onBehalfOfUserId)
Get the OpenSocial Person
|
List<org.opensocial.models.Person> |
getTeamMembers(String personId,
String groupId)
Get Team members;
|
List<org.opensocial.models.Person> |
getTeamMembers(String personId,
String onBehalfOfUserId,
String groupId)
Get Team members;
|
List<org.opensocial.models.Group> |
getTeams(String personId)
Get all of the groups for a person
|
List<org.opensocial.models.Group> |
getTeams(String personId,
String onBehalfOfUserId) |
protected static final String SELF
public List<org.opensocial.models.Person> getTeamMembers(String personId, String groupId)
OpenSocialServicegetTeamMembers in interface OpenSocialServicegroupId - the unique identifierPerson collection of the teampublic List<org.opensocial.models.Group> getTeams(String personId)
OpenSocialServicegetTeams in interface OpenSocialServicepersonId - the unique identifier for the personGroup collection for the personpublic List<org.opensocial.models.Group> getTeams(String personId, String onBehalfOfUserId)
getTeams in interface OpenSocialServicepublic org.opensocial.models.Person getPerson(String userId)
OpenSocialServicegetPerson in interface OpenSocialServiceuserId - the unique identifierPersonpublic org.opensocial.models.Person getPerson(String userId, String onBehalfOfUserId)
OpenSocialServicegetPerson in interface OpenSocialServiceuserId - the unique identifierPersonpublic List<org.opensocial.models.Person> getTeamMembers(String personId, String onBehalfOfUserId, String groupId)
OpenSocialServicegetTeamMembers in interface OpenSocialServicegroupId - the unique identifierPerson collection of the teamCopyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.