Examples of MobilityStudentDataBean


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

        sb.append(reportAppenderAuxString("Phone", personBean.getPhone()));
        sb.append(reportAppenderAuxString("Email", personBean.getEmail()));
        sb.append(reportAppenderAuxString("Email Confirmation", personBean.getEmailConfirmation()));
        sb.append(reportAppenderAuxString("Student Number", mobilityBean.getPersonNumber()));

        MobilityStudentDataBean mobilityStudentDataBean = mobilityBean.getMobilityStudentDataBean();
        sb.append("\nMobility Data Entered:\n");
        sb.append(reportAppenderAuxCountry("Selected Country", mobilityStudentDataBean.getSelectedCountry()));
        sb.append(reportAppenderAuxUnivUnitDegree("Selected Univ", mobilityStudentDataBean.getSelectedUniversity()));
        sb.append(reportAppenderAuxEnum("School Level", mobilityStudentDataBean.getSchoolLevel()));
        sb.append(reportAppenderAuxString("Other School Level", mobilityStudentDataBean.getOtherSchoolLevel()));
        sb.append(reportAppenderAuxString("Exchange Coord Name",
                mobilityStudentDataBean.getHomeInstitutionExchangeCoordinatorName()));

        sb.append(reportAppenderAuxToStringable("Has Diploma/Degree", mobilityStudentDataBean.getHasDiplomaOrDegree()));
        sb.append(reportAppenderAuxString("Diploma Name", mobilityStudentDataBean.getDiplomaName()));
        sb.append(reportAppenderAuxToStringable("Diploma Year", mobilityStudentDataBean.getDiplomaConclusionYear()));
        sb.append(reportAppenderAuxToStringable("Experience Research", mobilityStudentDataBean.getExperienceCarryingOutProject()));

        sb.append(reportAppenderAuxDate("Date of Arrival", mobilityStudentDataBean.getDateOfArrival()));
        sb.append(reportAppenderAuxDate("Date of Departure", mobilityStudentDataBean.getDateOfDeparture()));
        sb.append(reportAppenderAuxToStringable("Types of Programme", mobilityStudentDataBean.getTypeOfProgrammeList()));

        sb.append(reportAppenderAuxString("Thesis Main Subject", mobilityStudentDataBean.getMainSubjectThesis()));
        sb.append(reportAppenderAuxToStringable("Has contacted Staff", mobilityStudentDataBean.getHasContactedOtherStaff()));
        sb.append(reportAppenderAuxString("Staff Name", mobilityStudentDataBean.getNameOfContact()));

        sb.append(reportAppenderAuxEnum("Applying for period", mobilityStudentDataBean.getApplyFor()));
        sb.append(reportAppenderAuxString("Observations", individualCandidacyProcessBean.getObservations()));

        sb.append("\nMobility Program, Degree and Courses:\n");
        sb.append(reportAppenderAuxProgram("Selected Program", mobilityStudentDataBean.getSelectedMobilityProgram()));
        sb.append(reportAppenderAuxUnivUnitDegree("Chosen Degree", mobilityBean.getDegree()));
        sb.append(reportAppenderAuxCourses("Chosen Courses", mobilityBean.getSortedSelectedCurricularCourses()));

        // Exception details
        sb.append("\n");
View Full Code Here

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

        return new DomainObjectKeyConverter();
    }

    @Override
    public Object provide(Object source, Object currentValue) {
        MobilityStudentDataBean bean = (MobilityStudentDataBean) source;
        MobilityApplicationProcess process = (MobilityApplicationProcess) bean.getParentProcess();

        List<Country> countries = process.getCandidacyPeriod().getAssociatedCountries();
        Collections.sort(countries, new BeanComparator("localizedName"));

        return countries;
View Full Code Here

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

        return new DomainObjectKeyConverter();
    }

    @Override
    public Object provide(Object source, Object currentValue) {
        MobilityStudentDataBean bean = (MobilityStudentDataBean) source;
        Country selectedCountry = bean.getSelectedCountry();
        MobilityApplicationPeriod period = (MobilityApplicationPeriod) bean.getParentProcess().getCandidacyPeriod();

        List<UniversityUnit> universityUnitList = period.getUniversityUnitsAssociatedToCountry(selectedCountry);
        Collections.sort(universityUnitList, new BeanComparator("nameI18n"));

        return universityUnitList;
View Full Code Here

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

        return pid;
    }

    private static PrecedentDegreeInformation createForErasmus(final IndividualCandidacyProcessBean processBean) {
        MobilityIndividualApplicationProcessBean erasmusBean = (MobilityIndividualApplicationProcessBean) processBean;
        MobilityStudentDataBean erasmusStudentDataBean = erasmusBean.getMobilityStudentDataBean();

        PrecedentDegreeInformation pdi = new PrecedentDegreeInformation();
        pdi.setCandidacyInternal(false);

        pdi.setPrecedentCountry(erasmusStudentDataBean.getSelectedCountry());
        pdi.setPrecedentInstitution(erasmusStudentDataBean.getSelectedUniversity());
        pdi.setPrecedentSchoolLevel(erasmusStudentDataBean.getCurrentSchoolLevel());
        pdi.setOtherPrecedentSchoolLevel(erasmusStudentDataBean.getCurrentOtherSchoolLevel());
        pdi.setCountryHighSchool(erasmusStudentDataBean.getCountryWhereFinishedHighSchoolLevel());

        if (erasmusStudentDataBean.getHasDiplomaOrDegree()) {
            pdi.setDegreeDesignation(erasmusStudentDataBean.getDiplomaName());
            pdi.setConclusionYear(erasmusStudentDataBean.getDiplomaConclusionYear());
        }

        return pdi;
    }
View Full Code Here

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

        }
    }

    private static void editForErasmus(IndividualCandidacyProcessBean processBean) {
        MobilityIndividualApplicationProcessBean bean = (MobilityIndividualApplicationProcessBean) processBean;
        MobilityStudentDataBean erasmusStudentDataBean = bean.getMobilityStudentDataBean();

        MobilityIndividualApplicationProcess erasmusIndividualCandidacyProcess =
                (MobilityIndividualApplicationProcess) processBean.getIndividualCandidacyProcess();
        MobilityIndividualApplication erasmusCandidacy = erasmusIndividualCandidacyProcess.getCandidacy();

        PrecedentDegreeInformation pid = erasmusCandidacy.getRefactoredPrecedentDegreeInformation();

        pid.setPrecedentCountry(erasmusStudentDataBean.getSelectedCountry());
        pid.setPrecedentInstitution(erasmusStudentDataBean.getSelectedUniversity());
        pid.setPrecedentSchoolLevel(erasmusStudentDataBean.getCurrentSchoolLevel());
        pid.setOtherPrecedentSchoolLevel(erasmusStudentDataBean.getCurrentOtherSchoolLevel());
        pid.setCountryHighSchool(erasmusStudentDataBean.getCountryWhereFinishedHighSchoolLevel());

        if (erasmusStudentDataBean.getHasDiplomaOrDegree()) {
            pid.setDegreeDesignation(erasmusStudentDataBean.getDiplomaName());
            pid.setConclusionYear(erasmusStudentDataBean.getDiplomaConclusionYear());
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.