public class ManagedPermissionSchemeEditingServiceImpl extends Object implements ManagedPermissionSchemeEditingService
Modifier and Type | Class and Description |
---|---|
protected static class |
ManagedPermissionSchemeEditingServiceImpl.ErrorMessages |
Constructor and Description |
---|
ManagedPermissionSchemeEditingServiceImpl(PermissionSchemeManager permissionSchemeManager,
I18nHelper i18nHelper,
PermissionGrantValidator permissionGrantValidator,
PermissionTypeManager permissionTypeManager,
PermissionManager permissionManager,
UserKeyService userKeyService) |
Modifier and Type | Method and Description |
---|---|
boolean |
addNewSecurityTypes(Scheme schemeObject,
PermissionsInputBean inputBean)
Adds a set of security types values to a set of permissions.
|
ErrorCollection |
validateAddPermissions(ApplicationUser applicationUser,
PermissionsInputBean inputBean)
Validates whether the security types can be added to the permissions.
|
public ManagedPermissionSchemeEditingServiceImpl(PermissionSchemeManager permissionSchemeManager, I18nHelper i18nHelper, PermissionGrantValidator permissionGrantValidator, PermissionTypeManager permissionTypeManager, PermissionManager permissionManager, UserKeyService userKeyService)
public ErrorCollection validateAddPermissions(ApplicationUser applicationUser, PermissionsInputBean inputBean)
ManagedPermissionSchemeEditingService
validateAddPermissions
in interface ManagedPermissionSchemeEditingService
applicationUser
- current logged-in userinputBean
- the permission instructions under validationpublic boolean addNewSecurityTypes(Scheme schemeObject, PermissionsInputBean inputBean)
ManagedPermissionSchemeEditingService
ManagedPermissionSchemeEditingService.validateAddPermissions(ApplicationUser, PermissionsInputBean)
addNewSecurityTypes
in interface ManagedPermissionSchemeEditingService
schemeObject
- the scheme to add toinputBean
- the input bean of changesCopyright © 2002-2018 Atlassian. All Rights Reserved.