@Immutable public final class

PermissionGrantImpl

extends Object
implements PermissionGrant
java.lang.Object
   ↳ com.atlassian.jira.permission.data.PermissionGrantImpl

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.entity.WithId
Public Constructors
PermissionGrantImpl(Long id, PermissionHolder holder, ProjectPermissionKey permission)
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.entity.WithId
From interface com.atlassian.jira.permission.PermissionGrant

Public Constructors

public PermissionGrantImpl (Long id, PermissionHolder holder, ProjectPermissionKey permission)

Public Methods

public boolean equals (Object o)

public PermissionHolder getHolder ()

Returns an entity to which the permission is being granted.

public Long getId ()

Returns an id of the permission grant as stored in DB.

public ProjectPermissionKey getPermission ()

Returns a permission that is being granted.

public int hashCode ()

public String toString ()