Package org.fenixedu.academic.dto.comparators

Examples of org.fenixedu.academic.dto.comparators.ComparatorByNameForInfoExecutionDegree


        }

        List<LabelValueBean> degrees = new ArrayList<LabelValueBean>();
        degrees.add(new LabelValueBean(BundleUtil.getString(Bundle.RENDERER, "renderers.menu.default.title"), ""));

        Collections.sort(executionDegreeList, new ComparatorByNameForInfoExecutionDegree());
        buildExecutionDegreeLabelValueBean(executionDegreeList, degrees);
        request.setAttribute(PresentationConstants.DEGREES, degrees);

        //destination attributes
        String executionCoursesNotLinked = RequestUtils.getAndSetStringToRequest(request, "executionCoursesNotLinked");
View Full Code Here


                // initialize teacherType
                if (teacherType == null) {
                    teacherType = new Integer(0);
                }

                Collections.sort(executionDegrees, new ComparatorByNameForInfoExecutionDegree());
            }

            Iterator iter = executionYears.iterator();
            while (iter.hasNext()) {
                InfoExecutionYear year = (InfoExecutionYear) iter.next();
View Full Code Here

        List<LabelValueBean> licenciaturas = new ArrayList<LabelValueBean>();

        licenciaturas.add(new LabelValueBean("escolher", ""));

        Collections.sort(executionDegreeList, new ComparatorByNameForInfoExecutionDegree());

        Iterator iterator = executionDegreeList.iterator();

        int index = 0;
        while (iterator.hasNext()) {
View Full Code Here

        List infoExecutionDegreeList =
                ReadExecutionDegreesByExecutionYear.run(((InfoExecutionPeriod) request
                        .getAttribute(PresentationConstants.EXECUTION_PERIOD)).getInfoExecutionYear());
        List<LabelValueBean> licenciaturas = new ArrayList<LabelValueBean>();
        licenciaturas.add(new LabelValueBean("escolher", ""));
        Collections.sort(infoExecutionDegreeList, new ComparatorByNameForInfoExecutionDegree());

        InfoExecutionDegree infoExecutionDegree = (InfoExecutionDegree) infoExecutionDegreeList.get(index);

        if (infoExecutionDegree != null) {
            CurricularYearAndSemesterAndInfoExecutionDegree cYSiED =
View Full Code Here

                ExecutionDegree.filterByAcademicInterval(getAcademicIntervalFromParameter(getAcademicInterval()));
        List<InfoExecutionDegree> infoExecutionDegrees = new ArrayList<InfoExecutionDegree>();
        for (ExecutionDegree degree : degrees) {
            infoExecutionDegrees.add(new InfoExecutionDegree(degree));
        }
        Collections.sort(infoExecutionDegrees, new ComparatorByNameForInfoExecutionDegree());

        List<SelectItem> result = new ArrayList<SelectItem>(infoExecutionDegrees.size());
        result.add(new SelectItem(0, this.chooseMessage));
        for (InfoExecutionDegree infoExecutionDegree : infoExecutionDegrees) {
            StringBuilder label = new StringBuilder();
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.comparators.ComparatorByNameForInfoExecutionDegree

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.