Java 类ims.ocrr.vo.SpecimenCollectionListConfigVoCollection 实例源码

项目:AvoinApotti    文件:SpecimenCollectionConfigImpl.java   
public SpecimenCollectionListConfigVo getSpecimenCollectionConfig(SpecimenCollectionMethod lookUpId) 
{
    if(lookUpId == null)
        throw new DomainRuntimeException("Id has not been provided for get call. ");

    DomainFactory factory = getDomainFactory();

    List listSpecCollectionList = factory.find("from SpecimenCollectionListConfig sclc where sclc.listType = :ltype",new String[]{"ltype"},new Object[]{getDomLookup(lookUpId)});       
    if(listSpecCollectionList != null && listSpecCollectionList.size() > 0)
    { 
        SpecimenCollectionListConfigVoCollection voCollSpecimen = SpecimenCollectionListConfigVoAssembler.createSpecimenCollectionListConfigVoCollectionFromSpecimenCollectionListConfig(listSpecCollectionList);
        if(voCollSpecimen != null && voCollSpecimen.size() > 0)
            return voCollSpecimen.get(0);
    }
    return null;
}
项目:openMAXIMS    文件:SpecimenCollectionConfigImpl.java   
public SpecimenCollectionListConfigVo getSpecimenCollectionConfig(SpecimenCollectionMethod lookUpId) 
{
    if(lookUpId == null)
        throw new DomainRuntimeException("Id has not been provided for get call. ");

    DomainFactory factory = getDomainFactory();

    List listSpecCollectionList = factory.find("from SpecimenCollectionListConfig sclc where sclc.listType = :ltype",new String[]{"ltype"},new Object[]{getDomLookup(lookUpId)});       
    if(listSpecCollectionList != null && listSpecCollectionList.size() > 0)
    { 
        SpecimenCollectionListConfigVoCollection voCollSpecimen = SpecimenCollectionListConfigVoAssembler.createSpecimenCollectionListConfigVoCollectionFromSpecimenCollectionListConfig(listSpecCollectionList);
        if(voCollSpecimen != null && voCollSpecimen.size() > 0)
            return voCollSpecimen.get(0);
    }
    return null;
}
项目:openMAXIMS    文件:SpecimenCollectionConfigImpl.java   
public SpecimenCollectionListConfigVo getSpecimenCollectionConfig(SpecimenCollectionMethod lookUpId) 
{
    if(lookUpId == null)
        throw new DomainRuntimeException("Id has not been provided for get call. ");

    DomainFactory factory = getDomainFactory();

    List listSpecCollectionList = factory.find("from SpecimenCollectionListConfig sclc where sclc.listType = :ltype",new String[]{"ltype"},new Object[]{getDomLookup(lookUpId)});       
    if(listSpecCollectionList != null && listSpecCollectionList.size() > 0)
    { 
        SpecimenCollectionListConfigVoCollection voCollSpecimen = SpecimenCollectionListConfigVoAssembler.createSpecimenCollectionListConfigVoCollectionFromSpecimenCollectionListConfig(listSpecCollectionList);
        if(voCollSpecimen != null && voCollSpecimen.size() > 0)
            return voCollSpecimen.get(0);
    }
    return null;
}
项目:openmaxims-linux    文件:SpecimenCollectionConfigImpl.java   
public SpecimenCollectionListConfigVo getSpecimenCollectionConfig(SpecimenCollectionMethod lookUpId) 
{
    if(lookUpId == null)
        throw new DomainRuntimeException("Id has not been provided for get call. ");

    DomainFactory factory = getDomainFactory();

    List listSpecCollectionList = factory.find("from SpecimenCollectionListConfig sclc where sclc.listType = :ltype",new String[]{"ltype"},new Object[]{getDomLookup(lookUpId)});       
    if(listSpecCollectionList != null && listSpecCollectionList.size() > 0)
    { 
        SpecimenCollectionListConfigVoCollection voCollSpecimen = SpecimenCollectionListConfigVoAssembler.createSpecimenCollectionListConfigVoCollectionFromSpecimenCollectionListConfig(listSpecCollectionList);
        if(voCollSpecimen != null && voCollSpecimen.size() > 0)
            return voCollSpecimen.get(0);
    }
    return null;
}