@Immutable public final class PermissionGrantImpl extends Object implements PermissionGrant
ID_COMPARATOR
Constructor and Description |
---|
PermissionGrantImpl(Long id,
PermissionHolder holder,
ProjectPermissionKey permission) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
PermissionHolder |
getHolder()
Returns an entity to which the permission is being granted.
|
Long |
getId()
Returns an id of the permission grant as stored in DB.
|
ProjectPermissionKey |
getPermission()
Returns a permission that is being granted.
|
int |
hashCode() |
String |
toString() |
public PermissionGrantImpl(Long id, PermissionHolder holder, ProjectPermissionKey permission)
public Long getId()
PermissionGrant
getId
in interface WithId
getId
in interface PermissionGrant
public PermissionHolder getHolder()
PermissionGrant
getHolder
in interface PermissionGrant
public ProjectPermissionKey getPermission()
PermissionGrant
getPermission
in interface PermissionGrant
Copyright © 2002-2024 Atlassian. All Rights Reserved.