public class ProjectKeyStoreImpl extends Object implements ProjectKeyStore
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_NAME |
static String |
PROJECT_ID |
static String |
PROJECT_KEY |
| Constructor and Description |
|---|
ProjectKeyStoreImpl(OfBizDelegator ofBizDelegator) |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
refresh() |
public static final String PROJECT_KEY
public static final String PROJECT_ID
public static String ENTITY_NAME
public ProjectKeyStoreImpl(OfBizDelegator ofBizDelegator)
public Long getProjectId(String key)
getProjectId in interface ProjectKeyStorepublic void addProjectKey(Long projectId, String projectKey)
addProjectKey in interface ProjectKeyStorepublic void deleteProjectKeys(Long projectId)
deleteProjectKeys in interface ProjectKeyStore@Nonnull public Map<String,Long> getAllProjectKeys()
getAllProjectKeys in interface ProjectKeyStore@Nullable public Long getProjectIdByKeyIgnoreCase(String projectKey)
getProjectIdByKeyIgnoreCase in interface ProjectKeyStore@Nonnull public Set<String> getProjectKeys(Long projectId)
getProjectKeys in interface ProjectKeyStorepublic void refresh()
refresh in interface ProjectKeyStoreCopyright © 2002-2017 Atlassian. All Rights Reserved.