public interface GroupService
| Modifier and Type | Method and Description |
|---|---|
GroupEntry |
getGroup(String userId,
String groupId,
String onBehalfOf)
Get specific Group
|
Group20Entry |
getGroup20(String userId,
String groupId,
String onBehalfOf)
Get specific Group
|
GroupEntry |
getGroups(String userId,
String onBehalfOf,
Integer count,
Integer startIndex,
String sortBy)
Get Persons' Groups
|
Group20Entry |
getGroups20(String userId,
String onBehalfOf,
Integer count,
Integer startIndex,
String sortBy)
Get Persons' Groups
|
Group20Entry |
getGroups20ByIds(String personId,
String[] ids,
Integer count,
Integer startIndex)
Get a list of Group20's by the given list of group ids
|
@PreAuthorize(value="#onBehalfOf == null or #userId.equals(#onBehalfOf)") GroupEntry getGroups(String userId, String onBehalfOf, Integer count, Integer startIndex, String sortBy)
@PreAuthorize(value="#onBehalfOf == null or #userId.equals(#onBehalfOf)") Group20Entry getGroups20(String userId, String onBehalfOf, Integer count, Integer startIndex, String sortBy)
@PreAuthorize(value="#onBehalfOf == null or #userId.equals(#onBehalfOf)") GroupEntry getGroup(String userId, String groupId, String onBehalfOf)
userId - the unique identifiergroupId - the unique identifieronBehalfOf - the unique identifier of the user that is going to make the
request@PreAuthorize(value="#onBehalfOf == null or #userId.equals(#onBehalfOf)") Group20Entry getGroup20(String userId, String groupId, String onBehalfOf)
userId - the unique identifiergroupId - the unique identifieronBehalfOf - the unique identifier of the user that is going to make the
requestGroup20Entry getGroups20ByIds(String personId, String[] ids, Integer count, Integer startIndex)
personId - the personIdids - the array of idscount - nr of records to returnstartIndex - first record of result setCopyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.