final Grouping grouping = FenixFramework.getDomainObject(groupingOID);
final Collection<ExportGrouping> exportGroupings = grouping.getExportGroupingsSet();
final List<InfoExportGrouping> infoExportGroupings = new ArrayList<InfoExportGrouping>(exportGroupings.size());
for (final ExportGrouping exportGrouping : exportGroupings) {
final InfoExportGrouping infoExportGrouping = new InfoExportGrouping();
infoExportGrouping.setExternalId(exportGrouping.getExternalId());
infoExportGrouping.setInfoExecutionCourse(InfoExecutionCourse.newInfoFromDomain(exportGrouping.getExecutionCourse()));
infoExportGroupings.add(infoExportGrouping);
}
return infoExportGroupings;
}