Package org.fenixedu.academic.domain.executionCourse

Examples of org.fenixedu.academic.domain.executionCourse.ExecutionCourseSearchBean


public class ExecutionDegreeProviderForExecutionCourseSearchBean implements DataProvider {

    @Override
    public Object provide(Object source, Object currentValue) {
        final ExecutionCourseSearchBean executionCourseSearchBean = (ExecutionCourseSearchBean) source;
        final ExecutionSemester executionSemester = executionCourseSearchBean.getExecutionPeriod();
        final ExecutionYear executionYear = executionSemester.getExecutionYear();
        final List<ExecutionDegree> executionDegrees = new ArrayList<ExecutionDegree>(executionYear.getExecutionDegreesSet());
        Collections.sort(executionDegrees, ExecutionDegree.EXECUTION_DEGREE_COMPARATORY_BY_DEGREE_TYPE_AND_NAME);
        return executionDegrees;
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.executionCourse.ExecutionCourseSearchBean

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.