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

项目:AvoinApotti    文件:PatientEarlyWarningSystemImpl.java   
/**
* list the PatientEWSVoCollection
*/
public ims.core.vo.PatientEWSVoCollection listPatientEWS(ims.core.admin.vo.CareContextRefVo voCareContext)
{
    StringBuffer hql = new StringBuffer();
    hql.append(" select p1_1 from PatientEWS as p1_1 ");
    hql.append(" where");
    hql.append(" p1_1.careContext.id = :careContext");

    ArrayList paramValues = new ArrayList();
    ArrayList paramNames  = new ArrayList();

    paramValues.add(voCareContext.getID_CareContext());

    paramNames.add("careContext");

    DomainFactory factory = getDomainFactory();
    List list = factory.find(hql.toString(), paramNames, paramValues);

    return PatientEWSVoAssembler.createPatientEWSVoCollectionFromPatientEWS(list);
}
项目:openMAXIMS    文件:PatientEarlyWarningSystemImpl.java   
/**
* list the PatientEWSVoCollection
*/
public ims.core.vo.PatientEWSVoCollection listPatientEWS(ims.core.admin.vo.CareContextRefVo voCareContext)
{
    StringBuffer hql = new StringBuffer();
    hql.append(" select p1_1 from PatientEWS as p1_1 ");
    hql.append(" where");
    hql.append(" p1_1.careContext.id = :careContext");

    ArrayList paramValues = new ArrayList();
    ArrayList paramNames  = new ArrayList();

    paramValues.add(voCareContext.getID_CareContext());

    paramNames.add("careContext");

    DomainFactory factory = getDomainFactory();
    List list = factory.find(hql.toString(), paramNames, paramValues);

    return PatientEWSVoAssembler.createPatientEWSVoCollectionFromPatientEWS(list);
}
项目:openMAXIMS    文件:PatientEarlyWarningSystemImpl.java   
/**
* list the PatientEWSVoCollection
*/
public ims.core.vo.PatientEWSVoCollection listPatientEWS(ims.core.admin.vo.CareContextRefVo voCareContext)
{
    StringBuffer hql = new StringBuffer();
    hql.append(" select p1_1 from PatientEWS as p1_1 ");
    hql.append(" where");
    hql.append(" p1_1.careContext.id = :careContext");

    ArrayList paramValues = new ArrayList();
    ArrayList paramNames  = new ArrayList();

    paramValues.add(voCareContext.getID_CareContext());

    paramNames.add("careContext");

    DomainFactory factory = getDomainFactory();
    List list = factory.find(hql.toString(), paramNames, paramValues);

    return PatientEWSVoAssembler.createPatientEWSVoCollectionFromPatientEWS(list);
}
项目:openmaxims-linux    文件:PatientEarlyWarningSystemImpl.java   
/**
* list the PatientEWSVoCollection
*/
public ims.core.vo.PatientEWSVoCollection listPatientEWS(ims.core.admin.vo.CareContextRefVo voCareContext)
{
    StringBuffer hql = new StringBuffer();
    hql.append(" select p1_1 from PatientEWS as p1_1 ");
    hql.append(" where");
    hql.append(" p1_1.careContext.id = :careContext");

    ArrayList paramValues = new ArrayList();
    ArrayList paramNames  = new ArrayList();

    paramValues.add(voCareContext.getID_CareContext());

    paramNames.add("careContext");

    DomainFactory factory = getDomainFactory();
    List list = factory.find(hql.toString(), paramNames, paramValues);

    return PatientEWSVoAssembler.createPatientEWSVoCollectionFromPatientEWS(list);
}
项目:AvoinApotti    文件:VitalSignsImpl.java   
public void savePatientEws(PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:AvoinApotti    文件:VitalSignsBaselineAndAllImpl.java   
/**
* savePatientEws
*/
public void savePatientEws(ims.core.vo.PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openMAXIMS    文件:VitalSignsImpl.java   
public void savePatientEws(PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openMAXIMS    文件:VitalSignsBaselineAndAllImpl.java   
/**
* savePatientEws
*/
public void savePatientEws(ims.core.vo.PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openMAXIMS    文件:VitalSignsImpl.java   
public void savePatientEws(PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openMAXIMS    文件:VitalSignsBaselineAndAllImpl.java   
/**
* savePatientEws
*/
public void savePatientEws(ims.core.vo.PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openmaxims-linux    文件:VitalSignsImpl.java   
public void savePatientEws(PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openmaxims-linux    文件:VitalSignsBaselineAndAllImpl.java   
/**
* savePatientEws
*/
public void savePatientEws(ims.core.vo.PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}