com.atlassian.jira.permission
Class LegacyProjectPermissionKeyMapping
java.lang.Object
com.atlassian.jira.permission.LegacyProjectPermissionKeyMapping
public class LegacyProjectPermissionKeyMapping
- extends Object
Provides mappings between legacy project permission ID-s and new project permission keys.
- Since:
- v6.2.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID_TO_KEY
public static final com.google.common.collect.BiMap<Integer,ProjectPermissionKey> ID_TO_KEY
LegacyProjectPermissionKeyMapping
public LegacyProjectPermissionKeyMapping()
getKey
public static ProjectPermissionKey getKey(Long id)
getKey
public static ProjectPermissionKey getKey(Integer id)
getId
public static Integer getId(ProjectPermissionKey key)
getIdAsLong
public static Long getIdAsLong(ProjectPermissionKey key)
Copyright © 2002-2014 Atlassian. All Rights Reserved.