Class ExperimentalGroupResource
- java.lang.Object
 - 
- com.atlassian.confluence.plugins.restapi.experimental.resources.ExperimentalGroupResource
 
 
- 
@ExperimentalApi public class ExperimentalGroupResource extends Object
Non-admin operations for user groups Experimental Group Resource, delete this once GroupResource is published 
- 
- 
Constructor Summary
Constructors Constructor Description ExperimentalGroupResource(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
- 
ExperimentalGroupResource
public ExperimentalGroupResource(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
 
 
 - 
 
 -