public class GroupAdminResource extends Object
Constructor and Description |
---|
GroupAdminResource(BambooPermissionManager bambooPermissionManager,
BambooUserManager userManager,
GravatarService gravatarService,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
com.atlassian.struts.TextProvider textProvider,
PaginationService paginationService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addUsersToGroup(String groupName,
List<String> usersToAdd) |
javax.ws.rs.core.Response |
createGroup(RestGroup group) |
javax.ws.rs.core.Response |
deleteGroup(String groupName) |
RestPageModel<RestUserDetails> |
findUsersInGroup(String groupName,
String filter,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
RestPageModel<RestUserDetails> |
findUsersNotInGroup(String groupName,
String filter,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
RestPageModel<RestGroup> |
getGroups(String filter,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
removeUsersFromGroup(String groupName,
List<String> usersToRemove) |
@Inject public GroupAdminResource(BambooPermissionManager bambooPermissionManager, BambooUserManager userManager, GravatarService gravatarService, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.struts.TextProvider textProvider, PaginationService paginationService)
public RestPageModel<RestGroup> getGroups(String filter, @Context PageRequest pageRequest, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public javax.ws.rs.core.Response createGroup(RestGroup group) throws WebValidationException
WebValidationException
public javax.ws.rs.core.Response deleteGroup(String groupName) throws WebValidationException
WebValidationException
public javax.ws.rs.core.Response addUsersToGroup(String groupName, List<String> usersToAdd) throws WebValidationException
WebValidationException
public javax.ws.rs.core.Response removeUsersFromGroup(String groupName, List<String> usersToRemove) throws WebValidationException
WebValidationException
public RestPageModel<RestUserDetails> findUsersInGroup(String groupName, String filter, @Context PageRequest pageRequest, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo)
public RestPageModel<RestUserDetails> findUsersNotInGroup(String groupName, String filter, @Context PageRequest pageRequest, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.