public class CachingTerminologyEntryDao extends Object implements TerminologyEntryDao
In the past the feature has been called 'Nomenclature'. The new name for the feature is 'Terminology'.
Modifier and Type | Field and Description |
---|---|
static String |
TERMINOLOGY_CACHE_NAME |
Constructor and Description |
---|
CachingTerminologyEntryDao(TerminologyEntryDao delegate,
com.atlassian.cache.CacheManager cacheManager,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
Collection<NomenclatureEntryDTO> |
getAllTerminologyEntries()
Returns a Collection of all terminology entries with the latest timestamps for each OriginalName.
|
Collection<NomenclatureEntryDTO> |
getHistoricalTerminologyEntries()
Returns a collection of all terminology entries stored in a database.
|
NomenclatureEntryDTO |
getTerminologyEntry(String originalName)
Returns the terminology entry with the latest timestamp for the given OriginalName.
|
void |
onClearCache(ClearCacheEvent event) |
void |
setTerminologyEntries(Collection<NomenclatureEntryDTO> terminologyEntryDTOs)
Writes a new name for multiple Jira entities (e.g.
|
public static final String TERMINOLOGY_CACHE_NAME
public CachingTerminologyEntryDao(TerminologyEntryDao delegate, com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventPublisher eventPublisher)
@EventListener public void onClearCache(ClearCacheEvent event)
public NomenclatureEntryDTO getTerminologyEntry(String originalName)
TerminologyEntryDao
getTerminologyEntry
in interface TerminologyEntryDao
originalName
- The original name of a Jira entity (e.g. "Sprint", "Epic").public Collection<NomenclatureEntryDTO> getAllTerminologyEntries()
TerminologyEntryDao
getAllTerminologyEntries
in interface TerminologyEntryDao
public Collection<NomenclatureEntryDTO> getHistoricalTerminologyEntries()
TerminologyEntryDao
getHistoricalTerminologyEntries
in interface TerminologyEntryDao
public void setTerminologyEntries(Collection<NomenclatureEntryDTO> terminologyEntryDTOs)
TerminologyEntryDao
setTerminologyEntries
in interface TerminologyEntryDao
terminologyEntryDTOs
- A collection of new entries to write.Copyright © 2002-2022 Atlassian. All Rights Reserved.