return returnVal;
}
private PhdIndividualProgramProcess createCandidacyProcess(final User userView) {
final PhdProgramCandidacyProcessBean candidacyBean = new PhdProgramCandidacyProcessBean();
candidacyBean.setCandidacyDate(getProcessBean().getStartProcessDate());
candidacyBean.setState(PhdProgramCandidacyProcessState.STAND_BY_WITH_COMPLETE_INFORMATION);
candidacyBean.setPersonBean(getPhdMigrationIndividualPersonalData().getPersonBean());
candidacyBean.setMigratedProcess(true);
candidacyBean.setProgram(getProcessBean().getPhdProgram());
candidacyBean.setThesisTitle(getProcessBean().getTitle());
candidacyBean.setPhdStudentNumber(getPhdMigrationIndividualPersonalData().getNumber());
candidacyBean.setCollaborationType(PhdIndividualProgramCollaborationType.NONE);
candidacyBean.setExecutionYear(getExecutionYear());
candidacyBean.setFocusArea((getProcessBean().getPhdProgram().getPhdProgramFocusAreasSet().size() == 1) ? getProcessBean()
.getPhdProgram().getPhdProgramFocusAreasSet().iterator().next() : null);
final PhdIndividualProgramProcess individualProcess =
(PhdIndividualProgramProcess) CreateNewProcess.run(PhdIndividualProgramProcess.class, candidacyBean);