@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()
PermissionGrantgetId in interface WithIdgetId in interface PermissionGrantpublic PermissionHolder getHolder()
PermissionGrantgetHolder in interface PermissionGrantpublic ProjectPermissionKey getPermission()
PermissionGrantgetPermission in interface PermissionGrantCopyright © 2002-2017 Atlassian. All Rights Reserved.