Package org.fenixedu.academic.domain

Examples of org.fenixedu.academic.domain.ExternalCurricularCourse


    }

    public ActionForward deleteExternalCurricularCourse(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws FenixServiceException {

        final ExternalCurricularCourse externalCurricularCourse = getExternalCurricularCourse(request);
        final Unit parent = externalCurricularCourse.getUnit();

        try {
            DeleteExternalCurricularCourse.run(externalCurricularCourse);
        } catch (final DomainException e) {
            addActionMessage("error", request, e.getMessage());
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

public class EditExternalCurricularCourse {

    @Atomic
    public static void run(final EditExternalCurricularCourseBean bean) {
        final ExternalCurricularCourse externalCurricularCourse = bean.getExternalCurricularCourse();
        externalCurricularCourse.edit(bean.getName(), bean.getCode());
    }
View Full Code Here

public class CreateExternalCurricularCourse {

    @Atomic
    public static ExternalCurricularCourse run(final CreateExternalCurricularCourseBean bean) throws FenixServiceException {

        final ExternalCurricularCourse externalCurricularCourse =
                new ExternalCurricularCourse(bean.getParentUnit(), bean.getName(), bean.getCode());

        return externalCurricularCourse;
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.ExternalCurricularCourse

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.