Package org.fenixedu.academic.dto.student.OptionalCurricularCoursesLocationBean

Examples of org.fenixedu.academic.dto.student.OptionalCurricularCoursesLocationBean.EnrolmentLocationBean


public class CurriculumGroupsProviderForEnrolmentsLocationManagement implements DataProvider {

    @Override
    public Object provide(Object source, Object currentValue) {

        final EnrolmentLocationBean bean = (EnrolmentLocationBean) source;
        final Set<DegreeModule> result = new TreeSet<DegreeModule>(DegreeModule.COMPARATOR_BY_NAME);

        final Set<AcademicProgram> programs =
                AcademicAccessRule.getProgramsAccessibleToFunction(AcademicOperationType.STUDENT_ENROLMENTS,
                        Authenticate.getUser()).collect(Collectors.toSet());

        for (final Registration registration : bean.getStudent().getRegistrationsSet()) {

            if (!registration.isBolonha()) {
                continue;
            }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.student.OptionalCurricularCoursesLocationBean.EnrolmentLocationBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.