this.setDunningTexts(this.txDunningText.getLangStrings());
}
}
protected JbsLangStrings getDunningTexts() {
JbsLangStrings langStrings = new JbsLangStrings();
try {
JbsLanguagesRemote langRemote = (JbsLanguagesRemote)ClientTools.getRemoteBean(JbsLanguagesRemote.class.getName());
List<JbsLanguage> languages = langRemote.getAllLanguages();
Iterator<JbsLanguage> it = languages.iterator();
while (it.hasNext()) {
JbsLanguage language = it.next();
JbsLangString langString = new JbsLangString(language);
langString.setText(this.getDunning().getDunningText(language));
langStrings.add(langString);
}
} catch (Exception e) {
logger.error("Error retrieving article-texts.", e);
}