Package org.fenixedu.academic.dto.student

Examples of org.fenixedu.academic.dto.student.RegistrationSelectExecutionYearBean


public class CourseGroupsProviderForRegistrationAcademicServiceRequest implements DataProvider {

    @Override
    public Object provide(Object source, Object currentValue) {
        final RegistrationSelectExecutionYearBean bean = ((RegistrationSelectExecutionYearBean) source);
        final DegreeCurricularPlan degreeCurricularPlan = bean.getRegistration().getLastDegreeCurricularPlan();
        final Set<CourseGroup> courseGroups = degreeCurricularPlan.getAllCoursesGroups();
        courseGroups.removeAll(degreeCurricularPlan.getRoot().getCycleCourseGroups());
        courseGroups.remove(degreeCurricularPlan.getRoot());
        return courseGroups;
    }
View Full Code Here


public class EquivalencePlanRequestsForRegistrationAcademicServiceRequest implements DataProvider {

    @Override
    public Object provide(Object source, Object currentValue) {
        final RegistrationSelectExecutionYearBean bean = ((RegistrationSelectExecutionYearBean) source);
        return bean.getRegistration().getStudent().getAcademicServiceRequests(EquivalencePlanRequest.class);
    }
View Full Code Here

public class EnrolmentsForRegistrationAcademicServiceRequestsProvider implements DataProvider {

    @Override
    public Object provide(Object source, Object currentValue) {
        final RegistrationSelectExecutionYearBean bean = ((RegistrationSelectExecutionYearBean) source);
        final List<Enrolment> enrolments =
                new ArrayList<Enrolment>(bean.getRegistration().getLastStudentCurricularPlan()
                        .getStudentEnrollmentsWithEnrolledState());
        Collections.sort(enrolments, Enrolment.COMPARATOR_BY_NAME_AND_ID);
        return enrolments;
    }
View Full Code Here

public class CurriculumGroupsProviderForRegistrationAcademicServiceRequest implements DataProvider {

    @Override
    public Object provide(Object source, Object currentValue) {
        final RegistrationSelectExecutionYearBean bean = ((RegistrationSelectExecutionYearBean) source);
        final StudentCurricularPlan studentCurricularPlan = bean.getRegistration().getLastStudentCurricularPlan();
        final List<CurriculumGroup> curriculumGroups =
                new ArrayList<CurriculumGroup>(studentCurricularPlan.getRoot().getAllCurriculumGroups());
        curriculumGroups.removeAll(studentCurricularPlan.getRoot().getCycleCurriculumGroups());
        Collections.sort(curriculumGroups, CurriculumGroup.COMPARATOR_BY_NAME_AND_ID);
        return curriculumGroups;
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.student.RegistrationSelectExecutionYearBean

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.