if (hashCode == null || !hashCode.hasCandidacyProcess()) {
return mapping.findForward("createCandidacyStepOne");
}
PhdIndividualProgramProcess phdProcess = hashCode.getIndividualProgramProcess();
final PhdProgramCandidacyProcessBean bean = new PhdProgramCandidacyProcessBean();
bean.setCandidacyHashCode(hashCode);
request.setAttribute("candidacyBean", bean);
request.setAttribute("individualProgramProcess", phdProcess);
canEditCandidacy(request, bean.getCandidacyHashCode());
canEditPersonalInformation(request, hashCode.getPerson());
PersonBean personBean = new PersonBean(phdProcess.getPerson());
initPersonBean(personBean, phdProcess.getPerson());
request.setAttribute("personBean", personBean);
request.setAttribute("candidacyPeriod", getPhdCandidacyPeriod(hashCode));
validateProcess(request, hashCode.getIndividualProgramProcess());