final List<ExecutionYear> executionYears = (List<ExecutionYear>) ServiceUtils.executeService(userView, "ReadAllDomainObjects", args);
final Collection<ExecutionYear> executionYears = (Collection<ExecutionYear>) ServiceUtils.executeService(userView, "ReadAllDomainObjects", args);
    private List<String> getBCCList() throws FenixFilterException, FenixServiceException {    	final List<String> emails = getEmailList(getBccs());        final Boolean teachers = getTeachers();        if (teachers.booleanValue()) {        	addEmails(emails, RoleType.TEACHER);        }        final Boolean employees = getEmployees();        if (employees.booleanValue()) {        	final Role role = Role.getRoleByRoleType(RoleType.EMPLOYEE);            for (final Person person : role.getAssociatedPersons()) {                if (person.getTeacher() == null) {                    if (person.getEmail() != null && person.getEmail().length() > 0) {                        emails.add(person.getEmail());                    }                }            }        }        final Boolean degreeStudents = getDegreeStudents();        final Boolean masterDegreeStudents = getMasterDegreeStudents();        if (degreeStudents.booleanValue() || masterDegreeStudents.booleanValue()) {        	final Role role = Role.getRoleByRoleType(RoleType.STUDENT);            for (final Person person : role.getAssociatedPersons()) {                Student student = null;                if (degreeStudents.booleanValue()) {                    student = person.getStudentByType(DegreeType.DEGREE);                }                if (student == null && masterDegreeStudents.booleanValue()) {                    student = person.getStudentByType(DegreeType.MASTER_DEGREE);                }                if (student != null && person.getEmail() != null && person.getEmail().length() > 0) {                    emails.add(person.getEmail());                }            }        }        final Boolean executionCourseResponsibles = getExecutionCourseResponsibles();        if (executionCourseResponsibles.booleanValue()) {            final Object[] args = { ExecutionYear.class };            final List<ExecutionYear> executionYears = (List<ExecutionYear>) ServiceUtils.executeService(userView, "ReadAllDomainObjects", args);            for (final ExecutionYear executionYear : executionYears) {                if (executionYear.getState().equals(PeriodState.CURRENT)) {                    for (final ExecutionPeriod executionPeriod : executionYear.getExecutionPeriods()) {                        for (final ExecutionCourse executionCourse : executionPeriod.getAssociatedExecutionCourses()) {                            for (final Professorship professorship : executionCourse.getProfessorships()) {                                if (professorship.getResponsibleFor().booleanValue()) {                                    final Teacher teacher = professorship.getTeacher();                                    final Person person = teacher.getPerson();                                    emails.add(person.getEmail());                                }                            }                        }                    }                    break;                }            }        }        final Boolean degreeCoordinators = getDegreeCoordinators();        if (degreeCoordinators.booleanValue()) {            addEmailsForDegreeType(emails, DegreeType.DEGREE);        }        final Boolean masterDegreeCoordinators = getMasterDegreeCoordinators();        if (masterDegreeCoordinators.booleanValue()) {            addEmailsForDegreeType(emails, DegreeType.MASTER_DEGREE);        }        return emails;    }