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

项目:AvoinApotti    文件:GaitReEducationImpl.java   
/**
 *  WDEV-13648
 *  List Gait Re-education records for a certain Care Context
 */
public GaitReEducationVoCollection listGaitReeducation(CareContextRefVo careContext) 
{
    String hql = "from GaitReEducation gr where gr.clinicalContact.careContext.id = :RCC";

    return GaitReEducationVoAssembler.createGaitReEducationVoCollectionFromGaitReEducation(getDomainFactory().find(hql, "RCC", careContext.getID_CareContext()));
}
项目:AvoinApotti    文件:GaitReEducationImpl.java   
public void saveGaitReEducation(GaitReEducationVo voGaitReeducation) throws StaleObjectException, UniqueKeyViolationException
{
    if(!voGaitReeducation.isValidated())
        throw new DomainRuntimeException("This Gait Re-Education has not been validated");

    DomainFactory factory = getDomainFactory();
    GaitReEducation doGait = GaitReEducationVoAssembler.extractGaitReEducation(factory, voGaitReeducation);
    factory.save(doGait);
}
项目:AvoinApotti    文件:GaitReEducationImpl.java   
/**
 *  WDEV-13648
 *  List Gait Re-education records for a certain clinical contact
 */
public GaitReEducationVoCollection listGaitReEducation(ClinicalContactRefVo voClinicalContact)
{
    String query = "from GaitReEducation gr where gr.clinicalContact.id = :RCC";

    return GaitReEducationVoAssembler.createGaitReEducationVoCollectionFromGaitReEducation(getDomainFactory().find(query, "RCC", voClinicalContact.getID_ClinicalContact()));
}
项目:openMAXIMS    文件:GaitReEducationImpl.java   
/**
 *  WDEV-13648
 *  List Gait Re-education records for a certain Care Context
 */
public GaitReEducationVoCollection listGaitReeducation(CareContextRefVo careContext) 
{
    String hql = "from GaitReEducation gr where gr.clinicalContact.careContext.id = :RCC";

    return GaitReEducationVoAssembler.createGaitReEducationVoCollectionFromGaitReEducation(getDomainFactory().find(hql, "RCC", careContext.getID_CareContext()));
}
项目:openMAXIMS    文件:GaitReEducationImpl.java   
public void saveGaitReEducation(GaitReEducationVo voGaitReeducation) throws StaleObjectException, UniqueKeyViolationException
{
    if(!voGaitReeducation.isValidated())
        throw new DomainRuntimeException("This Gait Re-Education has not been validated");

    DomainFactory factory = getDomainFactory();
    GaitReEducation doGait = GaitReEducationVoAssembler.extractGaitReEducation(factory, voGaitReeducation);
    factory.save(doGait);
}
项目:openMAXIMS    文件:GaitReEducationImpl.java   
/**
 *  WDEV-13648
 *  List Gait Re-education records for a certain clinical contact
 */
public GaitReEducationVoCollection listGaitReEducation(ClinicalContactRefVo voClinicalContact)
{
    String query = "from GaitReEducation gr where gr.clinicalContact.id = :RCC";

    return GaitReEducationVoAssembler.createGaitReEducationVoCollectionFromGaitReEducation(getDomainFactory().find(query, "RCC", voClinicalContact.getID_ClinicalContact()));
}
项目:openMAXIMS    文件:GaitReEducationImpl.java   
/**
 *  WDEV-13648
 *  List Gait Re-education records for a certain Care Context
 */
public GaitReEducationVoCollection listGaitReeducation(CareContextRefVo careContext) 
{
    String hql = "from GaitReEducation gr where gr.clinicalContact.careContext.id = :RCC";

    return GaitReEducationVoAssembler.createGaitReEducationVoCollectionFromGaitReEducation(getDomainFactory().find(hql, "RCC", careContext.getID_CareContext()));
}
项目:openMAXIMS    文件:GaitReEducationImpl.java   
public void saveGaitReEducation(GaitReEducationVo voGaitReeducation) throws StaleObjectException, UniqueKeyViolationException
{
    if(!voGaitReeducation.isValidated())
        throw new DomainRuntimeException("This Gait Re-Education has not been validated");

    DomainFactory factory = getDomainFactory();
    GaitReEducation doGait = GaitReEducationVoAssembler.extractGaitReEducation(factory, voGaitReeducation);
    factory.save(doGait);
}
项目:openMAXIMS    文件:GaitReEducationImpl.java   
/**
 *  WDEV-13648
 *  List Gait Re-education records for a certain clinical contact
 */
public GaitReEducationVoCollection listGaitReEducation(ClinicalContactRefVo voClinicalContact)
{
    String query = "from GaitReEducation gr where gr.clinicalContact.id = :RCC";

    return GaitReEducationVoAssembler.createGaitReEducationVoCollectionFromGaitReEducation(getDomainFactory().find(query, "RCC", voClinicalContact.getID_ClinicalContact()));
}
项目:openmaxims-linux    文件:GaitReEducationImpl.java   
/**
 *  WDEV-13648
 *  List Gait Re-education records for a certain Care Context
 */
public GaitReEducationVoCollection listGaitReeducation(CareContextRefVo careContext) 
{
    String hql = "from GaitReEducation gr where gr.clinicalContact.careContext.id = :RCC";

    return GaitReEducationVoAssembler.createGaitReEducationVoCollectionFromGaitReEducation(getDomainFactory().find(hql, "RCC", careContext.getID_CareContext()));
}
项目:openmaxims-linux    文件:GaitReEducationImpl.java   
public void saveGaitReEducation(GaitReEducationVo voGaitReeducation) throws StaleObjectException, UniqueKeyViolationException
{
    if(!voGaitReeducation.isValidated())
        throw new DomainRuntimeException("This Gait Re-Education has not been validated");

    DomainFactory factory = getDomainFactory();
    GaitReEducation doGait = GaitReEducationVoAssembler.extractGaitReEducation(factory, voGaitReeducation);
    factory.save(doGait);
}
项目:openmaxims-linux    文件:GaitReEducationImpl.java   
/**
 *  WDEV-13648
 *  List Gait Re-education records for a certain clinical contact
 */
public GaitReEducationVoCollection listGaitReEducation(ClinicalContactRefVo voClinicalContact)
{
    String query = "from GaitReEducation gr where gr.clinicalContact.id = :RCC";

    return GaitReEducationVoAssembler.createGaitReEducationVoCollectionFromGaitReEducation(getDomainFactory().find(query, "RCC", voClinicalContact.getID_ClinicalContact()));
}