Java 类ims.therapies.vo.domain.PatientMotorChartShortVoAssembler 实例源码

项目:AvoinApotti    文件:PatientMotorChartImpl.java   
public PatientMotorChartShortVoCollection listPatientMotorChartShort(CareContextRefVo careContextRefVo)
{
    if(careContextRefVo == null )
           throw new RuntimeException("Cannot get PatientMotorChartShortVoCollection for null CareContextRefVo");

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer("from PatientMotorChart mc where mc.clinicalContact.careContext.id = :id_CareContext");

    java.util.List list = factory.find(hql.toString(), "id_CareContext", careContextRefVo.getID_CareContext());
    return PatientMotorChartShortVoAssembler.createPatientMotorChartShortVoCollectionFromPatientMotorChart(list).sort(SortOrder.DESCENDING);
}
项目:openMAXIMS    文件:PatientMotorChartImpl.java   
public PatientMotorChartShortVoCollection listPatientMotorChartShort(CareContextRefVo careContextRefVo)
{
    if(careContextRefVo == null )
           throw new RuntimeException("Cannot get PatientMotorChartShortVoCollection for null CareContextRefVo");

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer("from PatientMotorChart mc where mc.clinicalContact.careContext.id = :id_CareContext");

    java.util.List list = factory.find(hql.toString(), "id_CareContext", careContextRefVo.getID_CareContext());
    return PatientMotorChartShortVoAssembler.createPatientMotorChartShortVoCollectionFromPatientMotorChart(list).sort(SortOrder.DESCENDING);
}
项目:openMAXIMS    文件:PatientMotorChartImpl.java   
public PatientMotorChartShortVoCollection listPatientMotorChartShort(CareContextRefVo careContextRefVo)
{
    if(careContextRefVo == null )
           throw new RuntimeException("Cannot get PatientMotorChartShortVoCollection for null CareContextRefVo");

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer("from PatientMotorChart mc where mc.clinicalContact.careContext.id = :id_CareContext");

    java.util.List list = factory.find(hql.toString(), "id_CareContext", careContextRefVo.getID_CareContext());
    return PatientMotorChartShortVoAssembler.createPatientMotorChartShortVoCollectionFromPatientMotorChart(list).sort(SortOrder.DESCENDING);
}
项目:openmaxims-linux    文件:PatientMotorChartImpl.java   
public PatientMotorChartShortVoCollection listPatientMotorChartShort(CareContextRefVo careContextRefVo)
{
    if(careContextRefVo == null )
           throw new RuntimeException("Cannot get PatientMotorChartShortVoCollection for null CareContextRefVo");

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer("from PatientMotorChart mc where mc.clinicalContact.careContext.id = :id_CareContext");

    java.util.List list = factory.find(hql.toString(), "id_CareContext", careContextRefVo.getID_CareContext());
    return PatientMotorChartShortVoAssembler.createPatientMotorChartShortVoCollectionFromPatientMotorChart(list).sort(SortOrder.DESCENDING);
}