@ExperimentalApi public class GroupResource extends Object
Constructor and Description |
---|
GroupResource(GroupService groupService,
PersonService personService) |
Modifier and Type | Method and Description |
---|---|
Group |
getGroup(String groupName,
String expand)
Get the user group with the group name
|
PageResponse<Group> |
getGroups(String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Get a paginated collection of user groups
|
PageResponse<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
|
public GroupResource(GroupService groupService, PersonService personService)
public PageResponse<Group> getGroups(String expand, int start, int limit, @Context javax.ws.rs.core.UriInfo uriInfo)
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 limitspublic Group getGroup(String groupName, String expand)
groupName
- public PageResponse<Person> getMembers(Group group, String expand, int start, int limit, @Context javax.ws.rs.core.UriInfo uriInfo)
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 limitsCopyright © 2003–2019 Atlassian. All rights reserved.