Package org.fenixedu.academic.domain.candidacyProcess.mobility

Examples of org.fenixedu.academic.domain.candidacyProcess.mobility.MobilityQuota


        MobilityIndividualApplicationProcessBean bean =
                (MobilityIndividualApplicationProcessBean) getIndividualCandidacyProcessBean();
        request.setAttribute(getIndividualCandidacyProcessBeanName(), bean);

        try {
            MobilityQuota quota = bean.determineMobilityQuota();
        } catch (DomainException e) {
            addActionMessage("error", request, e.getMessage());
            request.setAttribute("degreeCourseInformationBean", readDegreeCourseInformationBean(request));
            request.setAttribute("mobilityIndividualApplicationProcessBean", bean);
            RenderUtils.invalidateViewState();
View Full Code Here


            ActionForward actionForwardError = verifySubmissionPreconditions(mapping);
            if (actionForwardError != null) {
                return actionForwardError;
            }

            MobilityQuota quota = bean.determineMobilityQuota();
            executeActivity(bean.getIndividualCandidacyProcess(), "EditPublicDegreeAndCoursesInformation",
                    getIndividualCandidacyProcessBean());
        } catch (final DomainException e) {
            request.setAttribute("mobilityIndividualApplicationProcessBean", bean);
            request.setAttribute("degreeCourseInformationBean", readDegreeCourseInformationBean(request));
View Full Code Here

        return mapping.findForward("insert-university-agreement");
    }

    public ActionForward executeRemoveVacancy(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws FenixServiceException {
        MobilityQuota quota = getDomainObject(request, "vacancyExternalId");

        if (!quota.getApplicationsSet().isEmpty()) {
            addActionMessage(request, "error.erasmus.vacancy.has.associated.candidacies");
            return prepareExecuteViewMobilityQuota(mapping, form, request, response);
        }

        executeActivity(getProcess(request), "RemoveMobilityQuota", new ErasmusVacancyBean(quota));
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.candidacyProcess.mobility.MobilityQuota

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.