public class MockGroupServiceImpl extends Object implements GroupService
| Constructor and Description |
|---|
MockGroupServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected static Group20 |
createGroup() |
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
|
public GroupEntry getGroups(String userId, String onBehalfOf, Integer count, Integer startIndex, String sortBy)
GroupServicegetGroups in interface GroupServiceuserId - the unique identifieronBehalfOf - the unique identifier of the user that is going to make the
requestcount - nr of records to returnstartIndex - first record of result setsortBy - field to sort byList containing the Groupspublic Group20Entry getGroups20(String userId, String onBehalfOf, Integer count, Integer startIndex, String sortBy)
GroupServicegetGroups20 in interface GroupServiceuserId - the unique identifieronBehalfOf - the unique identifier of the user that is going to make the
requestcount - nr of records to returnstartIndex - first record of result setsortBy - field to sort byList containing the Groupspublic GroupEntry getGroup(String userId, String groupId, String onBehalfOf)
GroupServicegetGroup in interface GroupServiceuserId - the unique identifiergroupId - the unique identifieronBehalfOf - the unique identifier of the user that is going to make the
requestpublic Group20Entry getGroup20(String userId, String groupId, String onBehalfOf)
GroupServicegetGroup20 in interface GroupServiceuserId - the unique identifiergroupId - the unique identifieronBehalfOf - the unique identifier of the user that is going to make the
requestpublic Group20Entry getGroups20ByIds(String personId, String[] ids, Integer count, Integer startIndex)
GroupServicegetGroups20ByIds in interface GroupServicepersonId - the personIdids - the array of idscount - nr of records to returnstartIndex - first record of result setprotected static Group20 createGroup()
Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.