@Component(value="oauthGroupService") public class GroupServiceThreeLeggedOAuth10a extends AbstractGroupService implements OauthGroupService
OauthGroupService using 3-legged OAuth| Modifier and Type | Field and Description |
|---|---|
protected OpenConextJsonParser |
parser |
| Constructor and Description |
|---|
GroupServiceThreeLeggedOAuth10a() |
| Modifier and Type | Method and Description |
|---|---|
Group20 |
getGroup20(GroupProviderUserOauth oauth,
GroupProvider groupProvider,
String groupId)
Gets a specific
Group20 for the users oauth configuration |
Group20Entry |
getGroup20Entry(GroupProviderUserOauth oauth,
GroupProvider groupProvider,
int limit,
int offset)
Gets a
Group20Entry for the user's oauth configuration |
List<Group20> |
getGroup20List(GroupProviderUserOauth oauth,
GroupProvider provider)
Gets a List of
Group20's for the user's oauth configuration |
List<Person> |
getGroupMembers(GroupProviderUserOauth oauth,
GroupProvider provider,
String groupId)
Gets a List of for the user's oauth configuration
|
GroupMembersEntry |
getGroupMembersEntry(GroupProviderUserOauth oauth,
GroupProvider provider,
String groupId,
int limit,
int offset)
Gets group members with paginating information for the user's oauth configuration
|
getGroup20EntryFromResponse, getGroupMembersEntryFromResponseprotected OpenConextJsonParser parser
public Group20Entry getGroup20Entry(GroupProviderUserOauth oauth, GroupProvider groupProvider, int limit, int offset)
OauthGroupServiceGroup20Entry for the user's oauth configurationgetGroup20Entry in interface OauthGroupServiceoauth - GroupProviderUserOauth configuration for a usergroupProvider - GroupProvider for the settingslimit - maximum amount of Group20's in the resultsetoffset - start indexGroup20Entrypublic List<Group20> getGroup20List(GroupProviderUserOauth oauth, GroupProvider provider)
OauthGroupServiceGroup20's for the user's oauth configurationgetGroup20List in interface OauthGroupServiceoauth - GroupProviderUserOauth configuration for a userprovider - GroupProvider for the settingspublic Group20 getGroup20(GroupProviderUserOauth oauth, GroupProvider groupProvider, String groupId)
OauthGroupServiceGroup20 for the users oauth configurationgetGroup20 in interface OauthGroupServiceoauth - GroupProviderUserOauth configuration for a usergroupProvider - GroupProvider for the settingsgroupId - identifier of the external groupGroup20, can be nullpublic List<Person> getGroupMembers(GroupProviderUserOauth oauth, GroupProvider provider, String groupId)
OauthGroupServicegetGroupMembers in interface OauthGroupServiceoauth - GroupProviderUserOauth configuration for a userprovider - GroupProvider for the settingsgroupId - the groupId as we know it in SURFconext context (e.g. urn:collab:group:myuniversity.nl:testgroup)public GroupMembersEntry getGroupMembersEntry(GroupProviderUserOauth oauth, GroupProvider provider, String groupId, int limit, int offset)
OauthGroupServicegetGroupMembersEntry in interface OauthGroupServiceoauth - GroupProviderUserOauth configuration for a userprovider - GroupProvider for the settingsgroupId - the groupId as we know it in SURFconext context (e.g. urn:collab:group:myuniversity.nl:testgroup)limit - maximum number of itemsoffset - starting point for pagingGroupMembersEntry, can be nullCopyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.