public SurgicalAuditProcedureDetailsVo saveProcedureDetails(SurgicalAuditProcedureDetailsVo surgAuditProcDetailsToSave) throws StaleObjectException { if (surgAuditProcDetailsToSave == null ) { throw new CodingRuntimeException("Cannot get SurgicalAuditProcedureDetailsVo on null Id "); } DomainFactory factory = getDomainFactory(); SurgicalAuditProcedureDetails domainSurgicalAuditProcDet = SurgicalAuditProcedureDetailsVoAssembler.extractSurgicalAuditProcedureDetails(factory, surgAuditProcDetailsToSave); factory.save(domainSurgicalAuditProcDet); return SurgicalAuditProcedureDetailsVoAssembler.create(domainSurgicalAuditProcDet); }