Package io.tesler.api.data.dictionary
Interface DictionaryCache
-
- All Known Implementing Classes:
DictionaryCacheImpl
public interface DictionaryCache
-
-
Field Summary
Fields Modifier and Type Field Description static AtomicReference<DictionaryCache>
instance
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
containsKey(LOV key, IDictionaryType type)
boolean
containsKey(String key, IDictionaryType type)
boolean
containsValue(String value, IDictionaryType type)
static DictionaryCache
dictionary()
SimpleDictionary
get(IDictionaryType type, String key)
SimpleDictionary
get(String type, String key)
Collection<SimpleDictionary>
getAll(IDictionaryType dictionaryType)
Collection<SimpleDictionary>
getAll(String dictionaryType)
String
getDescription(String key, IDictionaryType type)
LOV
lookupName(String val, IDictionaryType type)
LOV
lookupName(String val, String type)
String
lookupValue(LOV key, IDictionaryType type)
String
lookupValue(LOV key, String type)
String
lookupValueNullable(LOV key, IDictionaryType type)
void
reload()
Set<String>
types()
-
-
-
Field Detail
-
instance
static final AtomicReference<DictionaryCache> instance
-
-
Method Detail
-
dictionary
static DictionaryCache dictionary()
-
reload
void reload()
-
get
SimpleDictionary get(IDictionaryType type, String key)
-
get
SimpleDictionary get(String type, String key)
-
getAll
Collection<SimpleDictionary> getAll(IDictionaryType dictionaryType)
-
getAll
Collection<SimpleDictionary> getAll(String dictionaryType)
-
lookupValue
String lookupValue(LOV key, IDictionaryType type)
-
lookupValueNullable
String lookupValueNullable(LOV key, IDictionaryType type)
-
lookupName
LOV lookupName(String val, IDictionaryType type)
-
containsKey
boolean containsKey(String key, IDictionaryType type)
-
containsKey
boolean containsKey(LOV key, IDictionaryType type)
-
containsValue
boolean containsValue(String value, IDictionaryType type)
-
getDescription
String getDescription(String key, IDictionaryType type)
-
-