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

项目:AvoinApotti    文件:NeedsAssessmentImpl.java   
public NeedsAssessmentListVoCollection list(CareContextRefVo careContext) 
{
    if(careContext == null)
        throw new DomainRuntimeException("Invalid care context");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from NeedsAssessment a ");
    hql.append(" where a.careContext.id = " + careContext.getID_CareContext());
    return NeedsAssessmentListVoAssembler.createNeedsAssessmentListVoCollectionFromNeedsAssessment(factory.find(hql.toString()));
}
项目:openMAXIMS    文件:NeedsAssessmentImpl.java   
public NeedsAssessmentListVoCollection list(CareContextRefVo careContext) 
{
    if(careContext == null)
        throw new DomainRuntimeException("Invalid care context");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from NeedsAssessment a ");
    hql.append(" where a.careContext.id = " + careContext.getID_CareContext());
    return NeedsAssessmentListVoAssembler.createNeedsAssessmentListVoCollectionFromNeedsAssessment(factory.find(hql.toString()));
}
项目:openMAXIMS    文件:NeedsAssessmentImpl.java   
public NeedsAssessmentListVoCollection list(CareContextRefVo careContext) 
{
    if(careContext == null)
        throw new DomainRuntimeException("Invalid care context");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from NeedsAssessment a ");
    hql.append(" where a.careContext.id = " + careContext.getID_CareContext());
    return NeedsAssessmentListVoAssembler.createNeedsAssessmentListVoCollectionFromNeedsAssessment(factory.find(hql.toString()));
}
项目:openmaxims-linux    文件:NeedsAssessmentImpl.java   
public NeedsAssessmentListVoCollection list(CareContextRefVo careContext) 
{
    if(careContext == null)
        throw new DomainRuntimeException("Invalid care context");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from NeedsAssessment a ");
    hql.append(" where a.careContext.id = " + careContext.getID_CareContext());
    return NeedsAssessmentListVoAssembler.createNeedsAssessmentListVoCollectionFromNeedsAssessment(factory.find(hql.toString()));
}