public interface

PermissionModificationRequestedEvent

implements CancelableEvent
com.atlassian.bitbucket.event.permission.PermissionModificationRequestedEvent
Known Indirect Subclasses

Class Overview

This event is raised before a user or group's permission is modified. This event is synchronous, allowing listeners to perform operations in the same database transaction where the permission is modified.

This event is cancelable. A listener may prevent the permission from being modified by canceling this event. Throwing an exception will not prevent the permission from being modified; the exception will be logged and ignored.

Summary

Public Methods
@Nonnull Permission getNewValue()
@Nonnull Permission getOldValue()
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.util.CancelState

Public Methods

@Nonnull public Permission getNewValue ()

Returns
  • the new permission replacing the previous value

@Nonnull public Permission getOldValue ()

Returns
  • the old permission being replaced