public void prepareDictionaries(ProcessInstance processInstance, Date date, I18NSource i18NSource) {
prepareDictionariesHelper(processInstance, date, i18NSource, getDictEntryProviders(topoSort(expandDependences(usedDictNames))));
}
private void prepareDictionariesHelper(ProcessInstance processInstance, Date date, I18NSource i18NSource, Collection<DictEntryProvider> dictEntryProviders) {
DictEntryProviderParams params = new DictEntryProviderParams();
params.setProcessInstance(processInstance);
params.setDate(date);
params.setI18NSource(i18NSource);
params.setDictMapper(this);
for (DictEntryProvider entryProvider : dictEntryProviders) {
entryProvider.prepareEntries(params);
}
}