Class LexiconConfigService
java.lang.Object
com.eurodyn.qlack.fuse.lexicon.service.LexiconConfigService
A lexicon Service class that is used to configure lexicon data.
- Author:
- European Dynamics SA
-
Constructor Summary
ConstructorDescriptionLexiconConfigService
(GroupService groupService, LanguageService languageService, KeyService keyService, ApplicationRepository applicationRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
void
updateTranslations
(URL yamlUrl, String symbolicName) Processes a yaml file containing the QLACK lexicon configuration and then persists all lexicon components (languages, groups and translations).
-
Constructor Details
-
LexiconConfigService
@Autowired public LexiconConfigService(GroupService groupService, LanguageService languageService, KeyService keyService, ApplicationRepository applicationRepository)
-
-
Method Details
-
init
@PostConstruct public void init() -
updateTranslations
Processes a yaml file containing the QLACK lexicon configuration and then persists all lexicon components (languages, groups and translations).- Parameters:
yamlUrl
- the URL of the yaml filesymbolicName
- the name of the yaml file
-