Java 类ims.core.vo.domain.VitalSignMonitoringVoAssembler 实例源码

项目:AvoinApotti    文件:VitalSignsMonitoringImpl.java   
public VitalSignMonitoringVo saveVitalSignsMonitoringVo(VitalSignMonitoringVo voVitalSignsMonitoring) throws StaleObjectException 
{
    DomainFactory factory = getDomainFactory();
    VitalSignsMonitoring bo = VitalSignMonitoringVoAssembler.extractVitalSignsMonitoring(factory, voVitalSignsMonitoring);

    factory.save(bo);

    return VitalSignMonitoringVoAssembler.create(bo);
}
项目:openMAXIMS    文件:VitalSignsMonitoringImpl.java   
public VitalSignMonitoringVo saveVitalSignsMonitoringVo(VitalSignMonitoringVo voVitalSignsMonitoring) throws StaleObjectException 
{
    DomainFactory factory = getDomainFactory();
    VitalSignsMonitoring bo = VitalSignMonitoringVoAssembler.extractVitalSignsMonitoring(factory, voVitalSignsMonitoring);

    factory.save(bo);

    return VitalSignMonitoringVoAssembler.create(bo);
}
项目:openMAXIMS    文件:VitalSignsMonitoringImpl.java   
public VitalSignMonitoringVo saveVitalSignsMonitoringVo(VitalSignMonitoringVo voVitalSignsMonitoring) throws StaleObjectException 
{
    DomainFactory factory = getDomainFactory();
    VitalSignsMonitoring bo = VitalSignMonitoringVoAssembler.extractVitalSignsMonitoring(factory, voVitalSignsMonitoring);

    factory.save(bo);

    return VitalSignMonitoringVoAssembler.create(bo);
}
项目:openmaxims-linux    文件:VitalSignsMonitoringImpl.java   
public VitalSignMonitoringVo saveVitalSignsMonitoringVo(VitalSignMonitoringVo voVitalSignsMonitoring) throws StaleObjectException 
{
    DomainFactory factory = getDomainFactory();
    VitalSignsMonitoring bo = VitalSignMonitoringVoAssembler.extractVitalSignsMonitoring(factory, voVitalSignsMonitoring);

    factory.save(bo);

    return VitalSignMonitoringVoAssembler.create(bo);
}
项目:AvoinApotti    文件:VitalSignsMonitoringImpl.java   
public VitalSignMonitoringVoCollection listVitalSignsMonitoringVo(CareContextRefVo voCareContextRef) throws DomainInterfaceException
{
    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from VitalSignsMonitoring vsm ");

    if (voCareContextRef == null)
        return null; 

    hql.append(" where vsm.careContext.id = :cc"); 

    hql.append(" order by vsm.startDateTime desc");

    java.util.List vsmList = factory.find(hql.toString(), new String[]{"cc"}, new Object[]{voCareContextRef.getID_CareContext()});

    return  VitalSignMonitoringVoAssembler.createVitalSignMonitoringVoCollectionFromVitalSignsMonitoring(vsmList);
}
项目:openMAXIMS    文件:VitalSignsMonitoringImpl.java   
public VitalSignMonitoringVoCollection listVitalSignsMonitoringVo(CareContextRefVo voCareContextRef) throws DomainInterfaceException
{
    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from VitalSignsMonitoring vsm ");

    if (voCareContextRef == null)
        return null; 

    hql.append(" where vsm.careContext.id = :cc"); 

    hql.append(" order by vsm.startDateTime desc");

    java.util.List vsmList = factory.find(hql.toString(), new String[]{"cc"}, new Object[]{voCareContextRef.getID_CareContext()});

    return  VitalSignMonitoringVoAssembler.createVitalSignMonitoringVoCollectionFromVitalSignsMonitoring(vsmList);
}
项目:openMAXIMS    文件:VitalSignsMonitoringImpl.java   
public VitalSignMonitoringVoCollection listVitalSignsMonitoringVo(CareContextRefVo voCareContextRef) throws DomainInterfaceException
{
    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from VitalSignsMonitoring vsm ");

    if (voCareContextRef == null)
        return null; 

    hql.append(" where vsm.careContext.id = :cc"); 

    hql.append(" order by vsm.startDateTime desc");

    java.util.List vsmList = factory.find(hql.toString(), new String[]{"cc"}, new Object[]{voCareContextRef.getID_CareContext()});

    return  VitalSignMonitoringVoAssembler.createVitalSignMonitoringVoCollectionFromVitalSignsMonitoring(vsmList);
}
项目:openmaxims-linux    文件:VitalSignsMonitoringImpl.java   
public VitalSignMonitoringVoCollection listVitalSignsMonitoringVo(CareContextRefVo voCareContextRef) throws DomainInterfaceException
{
    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from VitalSignsMonitoring vsm ");

    if (voCareContextRef == null)
        return null; 

    hql.append(" where vsm.careContext.id = :cc"); 

    hql.append(" order by vsm.startDateTime desc");

    java.util.List vsmList = factory.find(hql.toString(), new String[]{"cc"}, new Object[]{voCareContextRef.getID_CareContext()});

    return  VitalSignMonitoringVoAssembler.createVitalSignMonitoringVoCollectionFromVitalSignsMonitoring(vsmList);
}