for (ArticleContainerDeliveryDateDTO dto : dtos) {
ArticleContainer ac = getArticleContainer(dto.getArticleContainerID(), fetchGroups, maxFetchDepth, new SubProgressMonitor(monitor, 100 / dtos.size()));
dto.setArticleContainer(ac);
Collection<Article> articles = ArticleDAO.sharedInstance().getArticles(dto.getArticleIDs(), fetchGroups, maxFetchDepth, new SubProgressMonitor(monitor, 300 / dtos.size()));
for (Article article : articles) {
ArticleID articleID = (ArticleID) JDOHelper.getObjectId(article);
dto.addArticle(articleID, article);
}
}
monitor.worked(100);
monitor.done();