|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PersonService
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
@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 request
PersonEntry
@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's
List<Person> enforceArp(String spEntityId,
List<Person> persons)
Beware: this is not an in-place enforcement: the original list will not be touched, nor its elements.
spEntityId - the SP to use the ARP forpersons - the persons to enforce
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||