Java 类ims.core.vo.ReferralNoteVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void listReferralNotes() 
{
    ReferralNoteVoCollection voColl = domain.listReferralNote(form.getGlobalContext().Core.getCurrentCareContext());

    form.grdNotes().getRows().clear();

    for(int i = 0 ; voColl != null && i < voColl.size() ; i++)
    {
        //WDEV-8323
        if (voColl.get(i) != null &&
                voColl.get(i).getNoteIsNotNull() && (voColl.get(i).getNoteTypeIsNotNull()
                    && !voColl.get(i).getNoteType().equals(ReferralNoteType.CLINICAL)))
        {
            addNotesRow(voColl.get(i));
        }
    }

    manageNotesMenu();
}
项目:openMAXIMS    文件:Logic.java   
private void listReferralNotes() 
{
    ReferralNoteVoCollection voColl = domain.listReferralNote(form.getGlobalContext().Core.getCurrentCareContext());

    form.grdNotes().getRows().clear();

    for(int i = 0 ; voColl != null && i < voColl.size() ; i++)
    {
        //WDEV-8323
        if (voColl.get(i) != null &&
                voColl.get(i).getNoteIsNotNull() && (voColl.get(i).getNoteTypeIsNotNull()
                    && !voColl.get(i).getNoteType().equals(ReferralNoteType.CLINICAL)))
        {
            addNotesRow(voColl.get(i));
        }
    }

    manageNotesMenu();
}
项目:openMAXIMS    文件:Logic.java   
private void listReferralNotes() 
{
    ReferralNoteVoCollection voColl = domain.listReferralNote(form.getGlobalContext().Core.getCurrentCareContext());

    form.grdNotes().getRows().clear();

    for(int i = 0 ; voColl != null && i < voColl.size() ; i++)
    {
        //WDEV-8323
        if (voColl.get(i) != null &&
                voColl.get(i).getNoteIsNotNull() && (voColl.get(i).getNoteTypeIsNotNull()
                    && !voColl.get(i).getNoteType().equals(ReferralNoteType.CLINICAL)))
        {
            addNotesRow(voColl.get(i));
        }
    }

    manageNotesMenu();
}
项目:openmaxims-linux    文件:Logic.java   
private void listReferralNotes() 
{
    ReferralNoteVoCollection voColl = domain.listReferralNote(form.getGlobalContext().Core.getCurrentCareContext());

    form.grdNotes().getRows().clear();

    for(int i = 0 ; voColl != null && i < voColl.size() ; i++)
    {
        //WDEV-8323
        if (voColl.get(i) != null &&
                voColl.get(i).getNoteIsNotNull() && (voColl.get(i).getNoteTypeIsNotNull()
                    && !voColl.get(i).getNoteType().equals(ReferralNoteType.CLINICAL)))
        {
            addNotesRow(voColl.get(i));
        }
    }

    manageNotesMenu();
}
项目:AvoinApotti    文件:ReferralDetailsNotesImpl.java   
public ReferralNoteVoCollection listReferralNote(CareContextRefVo voCareContextRef)
{
    DomainFactory factory = getDomainFactory();

    if (voCareContextRef != null && voCareContextRef.getID_CareContextIsNotNull())
    {
        java.util.List list = factory.find("select note from CorrespondenceNote note left join note.careContext as cc where cc.id = :idCC", new String[]{"idCC"}, new Object[]{voCareContextRef.getID_CareContext()});
        return ReferralNoteVoAssembler.createReferralNoteVoCollectionFromCorrespondenceNote(list).sort();
    }

    return null;
}
项目:openMAXIMS    文件:ReferralDetailsNotesImpl.java   
public ReferralNoteVoCollection listReferralNote(CareContextRefVo voCareContextRef)
{
    DomainFactory factory = getDomainFactory();

    if (voCareContextRef != null && voCareContextRef.getID_CareContextIsNotNull())
    {
        java.util.List list = factory.find("select note from CorrespondenceNote note left join note.careContext as cc where cc.id = :idCC", new String[]{"idCC"}, new Object[]{voCareContextRef.getID_CareContext()});
        return ReferralNoteVoAssembler.createReferralNoteVoCollectionFromCorrespondenceNote(list).sort();
    }

    return null;
}
项目:openMAXIMS    文件:ReferralDetailsNotesImpl.java   
public ReferralNoteVoCollection listReferralNote(CareContextRefVo voCareContextRef)
{
    DomainFactory factory = getDomainFactory();

    if (voCareContextRef != null && voCareContextRef.getID_CareContextIsNotNull())
    {
        java.util.List list = factory.find("select note from CorrespondenceNote note left join note.careContext as cc where cc.id = :idCC", new String[]{"idCC"}, new Object[]{voCareContextRef.getID_CareContext()});
        return ReferralNoteVoAssembler.createReferralNoteVoCollectionFromCorrespondenceNote(list).sort();
    }

    return null;
}
项目:openmaxims-linux    文件:ReferralDetailsNotesImpl.java   
public ReferralNoteVoCollection listReferralNote(CareContextRefVo voCareContextRef)
{
    DomainFactory factory = getDomainFactory();

    if (voCareContextRef != null && voCareContextRef.getID_CareContextIsNotNull())
    {
        java.util.List list = factory.find("select note from CorrespondenceNote note left join note.careContext as cc where cc.id = :idCC", new String[]{"idCC"}, new Object[]{voCareContextRef.getID_CareContext()});
        return ReferralNoteVoAssembler.createReferralNoteVoCollectionFromCorrespondenceNote(list).sort();
    }

    return null;
}