com.atlassian.jira.project.util
Class ProjectKeyCache

java.lang.Object
  extended by com.atlassian.jira.project.util.ProjectKeyCache

public class ProjectKeyCache
extends Object


Constructor Summary
ProjectKeyCache(ProjectKeyStore delegateProjectKeyStore)
           
 
Method Summary
 Map<String,Long> getAllProjectKeys()
           
 Long getProjectId(String key)
           
 Long getProjectIdByKeyIgnoreCase(String projectKey)
           
 Set<String> getProjectKeys(Long projectId)
           
protected  void init()
           
 void onClearCache(ClearCacheEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectKeyCache

public ProjectKeyCache(ProjectKeyStore delegateProjectKeyStore)
Method Detail

onClearCache

@EventListener
public void onClearCache(ClearCacheEvent event)

getProjectId

@Nullable
public Long getProjectId(String key)

getAllProjectKeys

@Nonnull
public Map<String,Long> getAllProjectKeys()

getProjectIdByKeyIgnoreCase

@Nullable
public Long getProjectIdByKeyIgnoreCase(String projectKey)

getProjectKeys

@Nonnull
public Set<String> getProjectKeys(Long projectId)

init

protected void init()


Copyright © 2002-2014 Atlassian. All Rights Reserved.