コード例 #1
0
  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);
  }
コード例 #2
0
  public VitalSignMonitoringGroupVoCollection listVitalSignMonitoringGroups()
      throws DomainInterfaceException {
    DomainFactory factory = getDomainFactory();
    List vsMonitoringGroupsList = factory.find(" from VitalSignMonitoringGroup");

    return VitalSignMonitoringGroupVoAssembler
        .createVitalSignMonitoringGroupVoCollectionFromVitalSignMonitoringGroup(
            vsMonitoringGroupsList);
  }
コード例 #3
0
  /** 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;
  }