@Component(value="ldapService") public class LdapService extends Object implements PersonService
| Constructor and Description |
|---|
LdapService() |
| Modifier and Type | Method and Description |
|---|---|
GroupMembersEntry |
getGroupMembers(String groupId,
String onBehalfOf,
Integer count,
Integer startIndex,
String sortBy)
Get the group members of the given group.
|
PersonEntry |
getPerson(String userId,
String onBehalfOf)
Get the OpenSocial Person.
|
public PersonEntry getPerson(String userId, String onBehalfOf)
PersonServicegetPerson in interface PersonServiceuserId - the unique identifieronBehalfOf - the unique identifier of the user that is going to make the
requestPersonEntrypublic GroupMembersEntry getGroupMembers(String groupId, String onBehalfOf, Integer count, Integer startIndex, String sortBy)
PersonServicegetGroupMembers in interface PersonServicegroupId - String the unique identifier for the grouponBehalfOf - String the unique identifier of the user that is going to
make the requestcount - nr of records to fetchstartIndex - first record nr.sortBy - field to sort by.ArrayList containing Person'sCopyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.