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

项目:AvoinApotti    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.grdCareContextHistory().getRows().clear();
    CareContextSmallVo tempVo = form.getGlobalContext().Clinical.getCareContextWithHistory();
    if(tempVo != null && tempVo.getCareContextHistoryIsNotNull() && tempVo.getCareContextHistory().size() > 0)
    {
        CareContextHistVoCollection tempColl = tempVo.getCareContextHistory();

        tempColl.sort(new CreationDateComparator(SortOrder.ASCENDING));
        for(int i = 0;i < tempColl.size();i++)
        {
            CareContextHistVo voHist = tempColl.get(i);
            if(voHist != null)
                populateChildGrid(voHist);
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.grdCareContextHistory().getRows().clear();
    CareContextSmallVo tempVo = form.getGlobalContext().Clinical.getCareContextWithHistory();
    if(tempVo != null && tempVo.getCareContextHistoryIsNotNull() && tempVo.getCareContextHistory().size() > 0)
    {
        CareContextHistVoCollection tempColl = tempVo.getCareContextHistory();

        tempColl.sort(new CreationDateComparator(SortOrder.ASCENDING));
        for(int i = 0;i < tempColl.size();i++)
        {
            CareContextHistVo voHist = tempColl.get(i);
            if(voHist != null)
                populateChildGrid(voHist);
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.grdCareContextHistory().getRows().clear();
    CareContextSmallVo tempVo = form.getGlobalContext().Clinical.getCareContextWithHistory();
    if(tempVo != null && tempVo.getCareContextHistoryIsNotNull() && tempVo.getCareContextHistory().size() > 0)
    {
        CareContextHistVoCollection tempColl = tempVo.getCareContextHistory();

        tempColl.sort(new CreationDateComparator(SortOrder.ASCENDING));
        for(int i = 0;i < tempColl.size();i++)
        {
            CareContextHistVo voHist = tempColl.get(i);
            if(voHist != null)
                populateChildGrid(voHist);
        }
    }

}
项目:openmaxims-linux    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.grdCareContextHistory().getRows().clear();
    CareContextSmallVo tempVo = form.getGlobalContext().Clinical.getCareContextWithHistory();
    if(tempVo != null && tempVo.getCareContextHistoryIsNotNull() && tempVo.getCareContextHistory().size() > 0)
    {
        CareContextHistVoCollection tempColl = tempVo.getCareContextHistory();

        tempColl.sort(new CreationDateComparator(SortOrder.ASCENDING));
        for(int i = 0;i < tempColl.size();i++)
        {
            CareContextHistVo voHist = tempColl.get(i);
            if(voHist != null)
                populateChildGrid(voHist);
        }
    }

}