public class

LegacyProjectPermissionKeyMapping

extends Object
java.lang.Object
   ↳ com.atlassian.jira.permission.LegacyProjectPermissionKeyMapping

Class Overview

Provides mappings between legacy project permission ID-s and new project permission keys.

Summary

Fields
public static final BiMap<IntegerProjectPermissionKey> ID_TO_KEY
Public Constructors
LegacyProjectPermissionKeyMapping()
Public Methods
static Integer getId(ProjectPermissionKey key)
static Long getIdAsLong(ProjectPermissionKey key)
static ProjectPermissionKey getKey(Integer id)
static ProjectPermissionKey getKey(Long id)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final BiMap<IntegerProjectPermissionKey> ID_TO_KEY

Public Constructors

public LegacyProjectPermissionKeyMapping ()

Public Methods

public static Integer getId (ProjectPermissionKey key)

public static Long getIdAsLong (ProjectPermissionKey key)

public static ProjectPermissionKey getKey (Integer id)

public static ProjectPermissionKey getKey (Long id)