Class LexiconConfigService

java.lang.Object
com.eurodyn.qlack.fuse.lexicon.service.LexiconConfigService

@Service @Validated @Transactional public class LexiconConfigService extends Object
A lexicon Service class that is used to configure lexicon data.
Author:
European Dynamics SA
  • Constructor Details

  • Method Details

    • init

      @PostConstruct public void init()
    • updateTranslations

      public 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).
      Parameters:
      yamlUrl - the URL of the yaml file
      symbolicName - the name of the yaml file