List<HTextFlow> hTextFlows = textFlowDAO.findByIdList(idList);
for (HTextFlow htf : hTextFlows) {
LocaleId localeId = htf.getDocument().getLocale().getLocaleId();
EditorTextFlow tf = new EditorTextFlow(htf.getResId(), localeId);
transUnitUtils.transferToTextFlow(htf, tf);
transUnits.put(htf.getId().toString(), new TransUnit(tf));
}
return Response.ok(transUnits).build();
}