Class PermissionGrantImpl
java.lang.Object
com.atlassian.jira.permission.data.PermissionGrantImpl
- All Implemented Interfaces:
WithId
,PermissionGrant
-
Field Summary
Fields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionGrantImpl
(Long id, PermissionHolder holder, ProjectPermissionKey permission) -
Method Summary
-
Constructor Details
-
PermissionGrantImpl
-
-
Method Details
-
getId
Description copied from interface:PermissionGrant
Returns an id of the permission grant as stored in DB.- Specified by:
getId
in interfacePermissionGrant
- Specified by:
getId
in interfaceWithId
- Returns:
- the unique id of the entity.
-
getHolder
Description copied from interface:PermissionGrant
Returns an entity to which the permission is being granted.- Specified by:
getHolder
in interfacePermissionGrant
-
getPermission
Description copied from interface:PermissionGrant
Returns a permission that is being granted.- Specified by:
getPermission
in interfacePermissionGrant
-
equals
-
hashCode
public int hashCode() -
toString
-