public ims.core.vo.VitalSignMonitoringGroupVo saveVitalSignMonitoringGroupVo( ims.core.vo.VitalSignMonitoringGroupVo vitalSignMonitoringGroupVo) throws ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.UniqueKeyViolationException { DomainFactory factory = getDomainFactory(); VitalSignMonitoringGroup bo = VitalSignMonitoringGroupVoAssembler.extractVitalSignMonitoringGroup( factory, vitalSignMonitoringGroupVo); factory.save(bo); return VitalSignMonitoringGroupVoAssembler.create(bo); }
/** Get the vitalSignMonitoringGroupVo */ public ims.core.vo.VitalSignMonitoringGroupVo getVitalSignMonitoringGroupVo( VitalSignMonitoringGroupRefVo vitalSignMonitoringGroupRefVo) { if (vitalSignMonitoringGroupRefVo == null) return null; DomainFactory factory = getDomainFactory(); VitalSignMonitoringGroup domVitalSignMonitoringGroup = (VitalSignMonitoringGroup) factory.getDomainObject( VitalSignMonitoringGroup.class, vitalSignMonitoringGroupRefVo.getID_VitalSignMonitoringGroup()); VitalSignMonitoringGroupVo vitalSignMonitoringGroupVo = VitalSignMonitoringGroupVoAssembler.create(domVitalSignMonitoringGroup); return vitalSignMonitoringGroupVo; }