Package org.fenixedu.academic.dto.administrativeOffice.externalUnits

Examples of org.fenixedu.academic.dto.administrativeOffice.externalUnits.ExternalCurricularCourseResultBean


    private Set<ExternalCurricularCourseResultBean> buildExternalCurricularCourseResultBeans(final Unit unit) {
        final Set<ExternalCurricularCourseResultBean> result =
                new TreeSet<ExternalCurricularCourseResultBean>(new BeanComparator("fullName"));
        for (final ExternalCurricularCourse externalCurricularCourse : unit.getAllExternalCurricularCourses()) {
            result.add(new ExternalCurricularCourseResultBean(externalCurricularCourse));
        }
        return result;
    }
View Full Code Here


    }

    private void searchExternalCurricularCourses(final ExternalUnitsSearchBean searchBean) {
        for (final ExternalCurricularCourse externalCurricularCourse : ExternalCurricularCourse
                .readByName(buildNameToSearch(searchBean.getUnitName()))) {
            searchBean.add(new ExternalCurricularCourseResultBean(externalCurricularCourse));
        }
    }
View Full Code Here

    public ActionForward viewExternalCurricularCourse(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) {

        final ExternalCurricularCourse externalCurricularCourse = getExternalCurricularCourse(request);
        request.setAttribute("externalCurricularCourseBean", new ExternalCurricularCourseResultBean(externalCurricularCourse));
        request.setAttribute("externalEnrolments", externalCurricularCourse.getExternalEnrolmentsSet());
        return mapping.findForward("viewExternalCurricularCourse");
    }
View Full Code Here

    private YearMonthDay evaluationDate;
    private Grade grade;
    private Double ectsCredits;

    public ExternalCurricularCourseEnrolmentBean(final ExternalCurricularCourse externalCurricularCourse) {
        setExternalCurricularCourseResultBean(new ExternalCurricularCourseResultBean(externalCurricularCourse));
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.administrativeOffice.externalUnits.ExternalCurricularCourseResultBean

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.