response.setAttribute("modality", mod);
return;
}
SessionContainer permSess = getRequestContainer().getSessionContainer().getPermanentContainer();
IEngUserProfile profile = (IEngUserProfile)permSess.getAttribute(IEngUserProfile.ENG_USER_PROFILE);
ICheckDAO dao=DAOFactory.getChecksDAO();
dao.setUserProfile(profile);
if (mod.equalsIgnoreCase(AdmintoolsConstants.DETAIL_INS)) {
dao.insertCheck(aCheck);
} else {
dao.modifyCheck(aCheck);
}
} catch (Exception ex) {
SpagoBITracer.major(AdmintoolsConstants.NAME_MODULE, "DetailEngineModule","modDetailEngine","Cannot fill response container", ex );
throw new EMFUserError(EMFErrorSeverity.ERROR, 100);