com.atlassian.jira.project.util
Interface ProjectKeyStore

All Known Implementing Classes:
CachingProjectKeyStore, ProjectKeyStoreImpl

@Internal
public interface ProjectKeyStore

Since:
v6.1

Method Summary
 void addProjectKey(Long projectId, String projectKey)
           
 void deleteProjectKeys(Long projectId)
           
 Map<String,Long> getAllProjectKeys()
           
 Long getProjectId(String key)
           
 Long getProjectIdByKeyIgnoreCase(String projectKey)
           
 Set<String> getProjectKeys(Long projectId)
           
 

Method Detail

getProjectId

@Nullable
Long getProjectId(String key)

addProjectKey

void addProjectKey(Long projectId,
                   String projectKey)

deleteProjectKeys

void deleteProjectKeys(Long projectId)

getAllProjectKeys

@Nonnull
Map<String,Long> getAllProjectKeys()

getProjectIdByKeyIgnoreCase

@Nullable
Long getProjectIdByKeyIgnoreCase(String projectKey)

getProjectKeys

@Nonnull
Set<String> getProjectKeys(Long projectId)


Copyright © 2002-2014 Atlassian. All Rights Reserved.