nl.surfnet.coin.teams.service
Interface BasicAuthGroupService

All Known Implementing Classes:
GroupServiceBasicAuthentication

public interface BasicAuthGroupService

Interface to get Group's


Method Summary
 Group20 getGroup20(GroupProvider groupProvider, String userId, String groupId)
          Gets a specific Group20 for the users oauth configuration
 Group20Entry getGroup20Entry(GroupProvider groupProvider, String userId, int limit, int offset)
          Gets a Group20Entry for the user's
 GroupMembersEntry getGroupMembersEntry(GroupProvider groupProvider, String userId, String groupId, int limit, int offset)
          Gets group members with paginating information for the user
 

Method Detail

getGroup20Entry

Group20Entry getGroup20Entry(GroupProvider groupProvider,
                             String userId,
                             int limit,
                             int offset)
Gets a Group20Entry for the user's

Parameters:
groupProvider - GroupProvider for the settings
limit - maximum amount of Group20's in the resultset
offset - start index
Returns:
Group20Entry

getGroup20

Group20 getGroup20(GroupProvider groupProvider,
                   String userId,
                   String groupId)
Gets a specific Group20 for the users oauth configuration

Parameters:
groupProvider - GroupProvider for the settings
groupId - identifier of the external group
Returns:
Group20, can be null

getGroupMembersEntry

GroupMembersEntry getGroupMembersEntry(GroupProvider groupProvider,
                                       String userId,
                                       String groupId,
                                       int limit,
                                       int offset)
Gets group members with paginating information for the user

Parameters:
groupProvider - GroupProvider for the settings
groupId - the groupId as we know it in SURFconext context (e.g. urn:collab:group:myuniversity.nl:testgroup)
limit - maximum number of items
offset - starting point for paging
Returns:
GroupMembersEntry, can be null


Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.