return mapping.findForward("applicationSubmissionGuide");
}
public ActionForward prepareFillPersonalData(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) {
final PhdProgramPublicCandidacyHashCode hashCode =
(PhdProgramPublicCandidacyHashCode) PublicCandidacyHashCode.getPublicCandidacyCodeByHash(request
.getParameter("hash"));
if (hashCode == null) {
return prepareCreateIdentification(mapping, form, request, response);
}
if (hashCode.hasCandidacyProcess()) {
return viewCandidacy(mapping, form, request, response, hashCode);
}
final PhdProgramCandidacyProcessBean bean = new PhdProgramCandidacyProcessBean();
PhdCandidacyPeriod phdCandidacyPeriod = getPhdCandidacyPeriod(hashCode);
bean.setPersonBean(new PersonBean());
bean.getPersonBean().setEmail(hashCode.getEmail());
bean.setCandidacyHashCode(hashCode);
bean.setExecutionYear(phdCandidacyPeriod.getExecutionInterval());
bean.setState(PhdProgramCandidacyProcessState.PRE_CANDIDATE);
bean.setMigratedProcess(Boolean.FALSE);
bean.setPhdCandidacyPeriod(phdCandidacyPeriod);