Package org.fenixedu.academic.ui.struts.action.academicAdministration.executionCourseManagement.MergeExecutionCourseDA

Examples of org.fenixedu.academic.ui.struts.action.academicAdministration.executionCourseManagement.MergeExecutionCourseDA.DegreesMergeBean


public class DestinationExecutionCoursesProvider implements DataProvider {

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

        final DegreesMergeBean degreeBean = (DegreesMergeBean) source;

        Degree destinationDegree = degreeBean.getDestinationDegree();

        List<ExecutionCourse> destinationExecutionCourses =
                destinationDegree.getExecutionCourses(degreeBean.getAcademicInterval());

        Collections.sort(destinationExecutionCourses, DomainObjectUtil.COMPARATOR_BY_ID);

        removeDuplicates(destinationExecutionCourses);
View Full Code Here


public class SourceExecutionCoursesProvider implements DataProvider {

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

        final DegreesMergeBean degreeBean = (DegreesMergeBean) source;

        Degree sourceDegree = degreeBean.getSourceDegree();

        List<ExecutionCourse> sourceExecutionCourses = sourceDegree.getExecutionCourses(degreeBean.getAcademicInterval());

        Collections.sort(sourceExecutionCourses, DomainObjectUtil.COMPARATOR_BY_ID);

        removeDuplicates(sourceExecutionCourses);
View Full Code Here

public class DegreeProvider implements DataProvider {

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

        final DegreesMergeBean degreesMergeBean = (DegreesMergeBean) source;

        List<Degree> result = Degree.readAllByDegreeCode(Degree.DEFAULT_MINISTRY_CODE);
        Collections.sort(result, Degree.COMPARATOR_BY_DEGREE_TYPE_AND_NAME_AND_ID);

        return result;
View Full Code Here

public class DegreesProvider implements DataProvider {

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

        final DegreesMergeBean degreesMergeBean = (DegreesMergeBean) source;

        final List<Degree> degrees = new ArrayList<Degree>(Degree.readNotEmptyDegrees());

        Collections.sort(degrees, Degree.COMPARATOR_BY_DEGREE_TYPE_AND_NAME_AND_ID);
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.ui.struts.action.academicAdministration.executionCourseManagement.MergeExecutionCourseDA.DegreesMergeBean

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.