public class PermissionChangeHandlerImpl extends Object implements PermissionChangeHandler
Constructor and Description |
---|
PermissionChangeHandlerImpl(PermissionSchemeManager permissionSchemeManager,
PermissionManager permissionManager,
PermissionTypeManager permissionTypeManager,
I18nHelper.BeanFactory i18n) |
Modifier and Type | Method and Description |
---|---|
protected List<ChangedValue> |
computeChangedValues(AbstractSchemeEntityEvent event) |
protected I18nHelper |
getI18n() |
protected String |
getPermissionName(ProjectPermissionKey permissionKey) |
RecordRequest |
onGlobalPermissionAddedEvent(GlobalPermissionAddedEvent event) |
RecordRequest |
onGlobalPermissionDeletedEvent(GlobalPermissionDeletedEvent event) |
RecordRequest |
onPermissionAddedEvent(PermissionAddedEvent event) |
RecordRequest |
onPermissionDeletedEvent(PermissionDeletedEvent event) |
public PermissionChangeHandlerImpl(PermissionSchemeManager permissionSchemeManager, PermissionManager permissionManager, PermissionTypeManager permissionTypeManager, I18nHelper.BeanFactory i18n)
public RecordRequest onPermissionAddedEvent(PermissionAddedEvent event)
onPermissionAddedEvent
in interface PermissionChangeHandler
public RecordRequest onPermissionDeletedEvent(PermissionDeletedEvent event)
onPermissionDeletedEvent
in interface PermissionChangeHandler
public RecordRequest onGlobalPermissionAddedEvent(GlobalPermissionAddedEvent event)
onGlobalPermissionAddedEvent
in interface PermissionChangeHandler
public RecordRequest onGlobalPermissionDeletedEvent(GlobalPermissionDeletedEvent event)
onGlobalPermissionDeletedEvent
in interface PermissionChangeHandler
protected List<ChangedValue> computeChangedValues(AbstractSchemeEntityEvent event)
protected String getPermissionName(ProjectPermissionKey permissionKey)
protected I18nHelper getI18n()
Copyright © 2002-2017 Atlassian. All Rights Reserved.