@ParametersAreNonnullByDefault public class NomenclatureEntryReaderImpl extends Object implements NomenclatureEntryReader
Constructor and Description |
---|
NomenclatureEntryReaderImpl(NomenclatureEntryDao nomenclatureEntryDao) |
Modifier and Type | Method and Description |
---|---|
Collection<NomenclatureEntry> |
getAllNomenclatureEntries()
Collection of
NomenclatureEntry that were already renamed by NomenclatureEntryWriter.changeNomenclature(com.atlassian.jira.i18n.nomenclature.entryservice.NomenclatureEntryWriter.NomenclatureValidationResult) . |
Optional<NomenclatureEntry> |
getNomenclatureEntry(String originalName) |
public NomenclatureEntryReaderImpl(NomenclatureEntryDao nomenclatureEntryDao)
public Optional<NomenclatureEntry> getNomenclatureEntry(String originalName)
getNomenclatureEntry
in interface NomenclatureEntryReader
originalName
- of the renamed field. Names that are allowed to be renamed are part of NomenclatureEntry.AllowedOriginalName
.NomenclatureEntry
if new name has been set for given originalName
, otherwise Optional.empty()
public Collection<NomenclatureEntry> getAllNomenclatureEntries()
NomenclatureEntryReader
NomenclatureEntry
that were already renamed by NomenclatureEntryWriter.changeNomenclature(com.atlassian.jira.i18n.nomenclature.entryservice.NomenclatureEntryWriter.NomenclatureValidationResult)
.getAllNomenclatureEntries
in interface NomenclatureEntryReader
Copyright © 2002-2021 Atlassian. All Rights Reserved.