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); }
public VitalSignMonitoringGroupVoCollection listVitalSignMonitoringGroups() throws DomainInterfaceException { DomainFactory factory = getDomainFactory(); List vsMonitoringGroupsList = factory.find(" from VitalSignMonitoringGroup"); return VitalSignMonitoringGroupVoAssembler .createVitalSignMonitoringGroupVoCollectionFromVitalSignMonitoringGroup( vsMonitoringGroupsList); }
/** 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; }