return transferedStudents;
    private Collection transferAttends(final IPersistentObject persistentObject,            final Integer[] curricularCourseIdsToTransfer, Collection attends,            final IExecutionCourse destinationExecutionCourse) throws ExcepcaoPersistencia {        final Set transferedStudents = new HashSet();        for (IAttends attend : (List<IAttends>) attends) {            if (attend.getEnrolment() != null                    && contains(curricularCourseIdsToTransfer, attend.getEnrolment()                            .getCurricularCourse().getIdInternal())) {                persistentObject.simpleLockWrite(attend);                attend.setDisciplinaExecucao(destinationExecutionCourse);                transferedStudents.add(attend.getAluno().getIdInternal());            }        }        return transferedStudents;    }