Class GroupResource
- java.lang.Object
 - 
- com.atlassian.confluence.plugins.restapi.resources.GroupResource
 
 
- 
@ExperimentalApi public class GroupResource extends Object
Non-admin operations for user groups 
- 
- 
Constructor Summary
Constructors Constructor Description GroupResource(GroupService groupService, PersonService personService) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupgetGroup(String groupName, String expand)Get the user group with the group namePageResponse<Group>getGroups(String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo)Get a paginated collection of user groupsPageResponse<Person>getMembers(Group group, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo)Get a paginated collection of users in the given group 
 - 
 
- 
- 
Constructor Detail
- 
GroupResource
public GroupResource(GroupService groupService, PersonService personService)
 
 - 
 
- 
Method Detail
- 
getGroups
public PageResponse<Group> getGroups(String expand, int start, int limit, @Context javax.ws.rs.core.UriInfo uriInfo)
Get a paginated collection of user groups- Parameters:
 start- the start point of the collection to returnlimit- the limit of the number of items to return, this may be restricted by fixed system limits- Returns:
 - a paginated collection of user groups
 
 
- 
getGroup
public Group getGroup(String groupName, String expand)
Get the user group with the group name- Parameters:
 groupName-- Returns:
 - the user group with the group name
 
 
- 
getMembers
public PageResponse<Person> getMembers(Group group, String expand, int start, int limit, @Context javax.ws.rs.core.UriInfo uriInfo)
Get a paginated collection of users in the given group- Parameters:
 group- the group to look up the members forstart- the start point of the collection to returnlimit- the limit of the number of items to return, this may be restricted by fixed system limits- Returns:
 - a collection of users in the given group
 
 
 - 
 
 -