public class UserPermissionAdminResource extends Object
Constructor and Description |
---|
UserPermissionAdminResource(UserPermissionAdminService permissionAdminService,
ApplicationManager applicationManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getDirectoryGroups(String prefix,
int startIndex,
int limit) |
javax.ws.rs.core.Response |
getPermissions(String prefix,
int startIndex,
int limit) |
javax.ws.rs.core.Response |
revokePermissions(RestDirectoryGroup group) |
javax.ws.rs.core.Response |
setPermissions(String permissionName,
List<RestDirectoryGroup> groups) |
public UserPermissionAdminResource(UserPermissionAdminService permissionAdminService, ApplicationManager applicationManager)
public javax.ws.rs.core.Response getDirectoryGroups(String prefix, int startIndex, int limit) throws AnonymousUserPermissionException
AnonymousUserPermissionException
public javax.ws.rs.core.Response getPermissions(String prefix, int startIndex, int limit) throws UserPermissionException, AnonymousUserPermissionException
public javax.ws.rs.core.Response setPermissions(String permissionName, List<RestDirectoryGroup> groups) throws DirectoryNotFoundException, OperationFailedException, ApplicationNotFoundException, UserPermissionException, UserPermissionDowngradeException, AnonymousUserPermissionException
public javax.ws.rs.core.Response revokePermissions(RestDirectoryGroup group) throws DirectoryNotFoundException, OperationFailedException, ApplicationNotFoundException, UserPermissionDowngradeException, AnonymousUserPermissionException
Copyright © 2020 Atlassian. All rights reserved.