public interface PersonService
| Modifier and Type | Method and Description |
|---|---|
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.
|
@PreAuthorize(value="#onBehalfOf == null or #userId.equals(#onBehalfOf)") PersonEntry getPerson(String userId, String onBehalfOf, String spEntityId)
userId - the unique identifieronBehalfOf - the unique identifier of the user on behalf of whom the request is made.spEntityId - the entity that performs the requestPersonEntry@PostAuthorize(value="#onBehalf == null or returnObject.isMember(#onBehalfOf)") GroupMembersEntry getGroupMembers(String groupId, String onBehalfOf, String spEntityId, Integer count, Integer startIndex, String sortBy)
groupId - 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'sCopyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.