public void edit(PersonalIngressionData personalIngressionData, Registration registration,
PrecedentDegreeInformationBean precedentDegreeInformationBean, StudentCandidacy studentCandidacy) {
setPersonalIngressionData(personalIngressionData);
setRegistration(registration);
setStudentCandidacy(studentCandidacy);
Unit institution = precedentDegreeInformationBean.getInstitution();
if (institution == null && !StringUtils.isEmpty(precedentDegreeInformationBean.getInstitutionName())) {
institution = UnitUtils.readExternalInstitutionUnitByName(precedentDegreeInformationBean.getInstitutionName());
if (institution == null) {
institution = Unit.createNewNoOfficialExternalInstitution(precedentDegreeInformationBean.getInstitutionName());
}