grouping.setShiftType(shiftType);
grouping.setAutomaticEnrolment(automaticEnrolment);
grouping.setDifferentiatedCapacity(differentiatedCapacity);
ExportGrouping exportGrouping = new ExportGrouping(grouping, executionCourse);
exportGrouping.setProposalState(new ProposalState(ProposalState.CRIADOR));
addGroupingToAttends(grouping, executionCourse.getAttendsSet());
GroupsAndShiftsManagementLog.createLog(executionCourse, Bundle.MESSAGING,
"log.executionCourse.groupAndShifts.grouping.added", grouping.getName(), executionCourse.getNome(),
executionCourse.getDegreePresentationString());