@Component(value="ldapService") public class PersonServiceImpl extends Object implements PersonService
| Constructor and Description |
|---|
PersonServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Person> |
enforceArp(String spEntityId,
List<Person> persons)
Enforce the ARP on the given list of Persons.
|
GroupMembersEntry |
getGroupMembers(String groupId,
String onBehalfOf,
String spEntityId,
Integer count,
Integer startIndex,
String sortBy)
Get the group members of the given group.
|
PersonEntry |
getPerson(String userId,
String onBehalfOf,
String spEntityId)
Get the OpenSocial Person.
|
public PersonEntry getPerson(String userId, String onBehalfOf, String spEntityId)
PersonServicegetPerson in interface PersonServiceuserId - the unique identifieronBehalfOf - the unique identifier of the user on behalf of whom the request is made.spEntityId - the entity that performs the requestPersonEntrypublic GroupMembersEntry getGroupMembers(String groupId, String onBehalfOf, String spEntityId, Integer count, Integer startIndex, String sortBy)
PersonServicegetGroupMembers in interface PersonServicegroupId - String the unique identifier for the grouponBehalfOf - the unique identifier of the user on behalf of whom the request is made.spEntityId - the entity that performs the requestcount - nr of records to fetchstartIndex - first record nr.sortBy - field to sort by.ArrayList containing Person'spublic List<Person> enforceArp(String spEntityId, List<Person> persons)
PersonServiceBeware: this is not an in-place enforcement: the original list will not be touched, nor its elements.
enforceArp in interface PersonServicespEntityId - the SP to use the ARP forpersons - the persons to enforceCopyright © 2009–2013 SURFnet bv, The Netherlands. All rights reserved.