Class DictionaryService
java.lang.Object
org.qubership.atp.ram.services.dictionary.DictionaryService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAllByName(String name) Get dictionary list by specified name.static List<Dictionary> getAllByType(String type) voidsetRepository(DictionaryRepository repository)
-
Constructor Details
-
DictionaryService
public DictionaryService()
-
-
Method Details
-
setRepository
-
getAllByName
Get dictionary list by specified name.- Parameters:
name- input dictionary name- Returns:
- list of founded dictionaries
-
evictDictionaryCacheByName
@CacheEvict(value="dictionaries", key="{#name}") public void evictDictionaryCacheByName(String name) -
getAllByType
-