// no precondition to check
}
@Override
protected PhdIndividualProgramProcess executeActivity(PhdIndividualProgramProcess process, User userView, Object object) {
PhdParticipantBean bean = (PhdParticipantBean) object;
PhdParticipant addAssistantGuiding = process.addAssistantGuiding((PhdParticipantBean) object);
if (bean.getGuidingAcceptanceLetter() != null && bean.getGuidingAcceptanceLetter().getFileContent() != null) {
PhdProgramDocumentUploadBean acceptanceLetter = bean.getGuidingAcceptanceLetter();
new PhdGuiderAcceptanceLetter(addAssistantGuiding, acceptanceLetter.getType(), "", bean.getGuidingAcceptanceLetter()
.getFileContent(), bean.getGuidingAcceptanceLetter().getFilename(),
userView != null ? userView.getPerson() : process.getPerson());
}
return process;
}