public interface DictionaryService
Modifier and Type | Method and Description |
---|---|
Boolean |
checkIfUnitIsInteger(String unit) |
List<String> |
getActiveKeys(String dictionary) |
Map<String,String> |
getActiveValues(String dictionary,
Locale locale)
Return active values for given dictionary's name.
|
Set<String> |
getDictionaries()
Return all defined dictionaries.
|
Entity |
getItemEntity(String dictionary,
String item)
Return dictionary item's entity
|
Entity |
getItemEntityByTechnicalCode(String dictionary,
String technicalCode) |
List<String> |
getKeys(String dictionary) |
Map<String,String> |
getKeyValues(String dictionary,
Locale locale) |
String |
getName(String dictionary,
Locale locale)
Translate dictionary name.
|
Map<String,String> |
getValues(String dictionary,
Locale locale) |
Map<String,String> getActiveValues(String dictionary, Locale locale)
dictionary
- dictionary's nameSet<String> getDictionaries()
Entity getItemEntity(String dictionary, String item)
dictionary
- dictionary's nameitem
- dictionary item's nameEntity getItemEntityByTechnicalCode(String dictionary, String technicalCode)
String getName(String dictionary, Locale locale)
dictionary
- dictionarylocale
- localeCopyright © 2010-2025 Qcadoo Limited