Java 类ims.ocrr.vo.domain.InvestigationIndexVoAssembler 实例源码

项目:AvoinApotti    文件:TestListImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    if(recordId == null)
        return null;

    DomainFactory factory = getDomainFactory();
    InvestigationIndexVo voInvestigationIndex = InvestigationIndexVoAssembler.create((InvestigationIndex) factory.getDomainObject(InvestigationIndex.class,recordId));

    //WDEV-16994
    if (voInvestigationIndex == null)
        return null;

    if(voInvestigationIndex.getSynonymsIsNotNull() && voInvestigationIndex.getSynonyms().size() > 0)
    {
        InvSynonymVoCollection coll = new InvSynonymVoCollection();
        for(int i = 0; i < voInvestigationIndex.getSynonyms().size(); i++)
        {
            InvSynonymVo syn = voInvestigationIndex.getSynonyms().get(i);
            if(syn.getActiveStatusIsNotNull() && syn.getActiveStatus().equals(Boolean.TRUE))
                coll.add(syn);
        }
        voInvestigationIndex.setSynonyms(coll);
    }
    return voInvestigationIndex;    
}
项目:openMAXIMS    文件:TestListImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    if(recordId == null)
        return null;

    DomainFactory factory = getDomainFactory();
    InvestigationIndexVo voInvestigationIndex = InvestigationIndexVoAssembler.create((InvestigationIndex) factory.getDomainObject(InvestigationIndex.class,recordId));

    //WDEV-16994
    if (voInvestigationIndex == null)
        return null;

    if(voInvestigationIndex.getSynonymsIsNotNull() && voInvestigationIndex.getSynonyms().size() > 0)
    {
        InvSynonymVoCollection coll = new InvSynonymVoCollection();
        for(int i = 0; i < voInvestigationIndex.getSynonyms().size(); i++)
        {
            InvSynonymVo syn = voInvestigationIndex.getSynonyms().get(i);
            if(syn.getActiveStatusIsNotNull() && syn.getActiveStatus().equals(Boolean.TRUE))
                coll.add(syn);
        }
        voInvestigationIndex.setSynonyms(coll);
    }
    return voInvestigationIndex;    
}
项目:openMAXIMS    文件:TestListImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    if(recordId == null)
        return null;

    DomainFactory factory = getDomainFactory();
    InvestigationIndexVo voInvestigationIndex = InvestigationIndexVoAssembler.create((InvestigationIndex) factory.getDomainObject(InvestigationIndex.class,recordId));

    //WDEV-16994
    if (voInvestigationIndex == null)
        return null;

    if(voInvestigationIndex.getSynonymsIsNotNull() && voInvestigationIndex.getSynonyms().size() > 0)
    {
        InvSynonymVoCollection coll = new InvSynonymVoCollection();
        for(int i = 0; i < voInvestigationIndex.getSynonyms().size(); i++)
        {
            InvSynonymVo syn = voInvestigationIndex.getSynonyms().get(i);
            if(syn.getActiveStatusIsNotNull() && syn.getActiveStatus().equals(Boolean.TRUE))
                coll.add(syn);
        }
        voInvestigationIndex.setSynonyms(coll);
    }
    return voInvestigationIndex;    
}
项目:openmaxims-linux    文件:TestListImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    if(recordId == null)
        return null;

    DomainFactory factory = getDomainFactory();
    InvestigationIndexVo voInvestigationIndex = InvestigationIndexVoAssembler.create((InvestigationIndex) factory.getDomainObject(InvestigationIndex.class,recordId));

    //WDEV-16994
    if (voInvestigationIndex == null)
        return null;

    if(voInvestigationIndex.getSynonymsIsNotNull() && voInvestigationIndex.getSynonyms().size() > 0)
    {
        InvSynonymVoCollection coll = new InvSynonymVoCollection();
        for(int i = 0; i < voInvestigationIndex.getSynonyms().size(); i++)
        {
            InvSynonymVo syn = voInvestigationIndex.getSynonyms().get(i);
            if(syn.getActiveStatusIsNotNull() && syn.getActiveStatus().equals(Boolean.TRUE))
                coll.add(syn);
        }
        voInvestigationIndex.setSynonyms(coll);
    }
    return voInvestigationIndex;    
}
项目:openMAXIMS    文件:ViewPatientCodingRecordsImpl.java   
public InvestigationIndexVo getInvestigationWithTaxonomyMappings(InvestigationIndexRefVo investigationRef)
{
    DomainFactory factory = getDomainFactory();
    InvestigationIndex inv = (InvestigationIndex) factory.getDomainObject(InvestigationIndex.class, investigationRef.getID_InvestigationIndex());
    return InvestigationIndexVoAssembler.create(inv);
}
项目:openMAXIMS    文件:ReferralCodingImpl.java   
public InvestigationIndexVo getInvestigationWithTaxonomyMappings(InvestigationIndexRefVo investigationRef)
{
    DomainFactory factory = getDomainFactory();
    InvestigationIndex inv = (InvestigationIndex) factory.getDomainObject(InvestigationIndex.class, investigationRef.getID_InvestigationIndex());
    return InvestigationIndexVoAssembler.create(inv);
}