Java 类ims.clinical.vo.SurgicalOperationNotesListVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateResultScreenFromData(SurgicalOperationNotesListVoCollection listResults)
{
    clearResultScreen();
    if (listResults == null || listResults.size() == 0 )
    {
        engine.showMessage("No results were found. Please alter your search criteria", "No results", MessageButtons.OK, MessageIcon.INFORMATION);
        return;
    }
    for (int i = 0 ; i<listResults.size()  ; i++)
    {
        addRowToGrid(listResults.get(i));
    }
    form.lblTotal().setValue(Integer.toString(listResults.size()));
}
项目:openMAXIMS    文件:Logic.java   
private void populateResultScreenFromData(SurgicalOperationNotesListVoCollection listResults)
{
    clearResultScreen();

    if (listResults == null || listResults.size() == 0 )
    {
        return;
    }

    for (int i = 0 ; i<listResults.size()  ; i++)
    {
        addRowToGrid(listResults.get(i));
    }
    form.lblTotal().setValue(Integer.toString(listResults.size()));
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onImbSearchClick() throws ims.framework.exceptions.PresentationLogicException
{

    String[] errors = validateSearchCriteria();

    if (errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return;
    }

    clearResultScreen();
    SurgicalOPNotesFilterVo searchFilter = populateSearchDataFromScreen();
    form.getGlobalContext().Clinical.setSurgicalOpNotesFilter(searchFilter);

    SurgicalOperationNotesListVoCollection listResults = domain.listSurgicalOpNotes(searchFilter);

    if (listResults == null || listResults.size() == 0 )
    {
        engine.showMessage("No results were found. Please alter your search criteria", "No results", MessageButtons.OK, MessageIcon.INFORMATION);
        return;
    }

    populateResultScreenFromData(listResults);

    if (searchFilter != null && searchFilter.getColumnSortOrder() != null)
    {
        setSortOrderForColumn(searchFilter.getColumnSortOrder().getColumnId(), searchFilter.getColumnSortOrder().getSortOrder());
    }

    updateControlState();
}
项目:openMAXIMS    文件:Logic.java   
private void populateResultScreenFromData(SurgicalOperationNotesListVoCollection listResults)
{
    clearResultScreen();
    if (listResults == null || listResults.size() == 0 )
    {
        engine.showMessage("No results were found. Please alter your search criteria", "No results", MessageButtons.OK, MessageIcon.INFORMATION);
        return;
    }
    for (int i = 0 ; i<listResults.size()  ; i++)
    {
        addRowToGrid(listResults.get(i));
    }
    form.lblTotal().setValue(Integer.toString(listResults.size()));
}
项目:openmaxims-linux    文件:Logic.java   
private void populateResultScreenFromData(SurgicalOperationNotesListVoCollection listResults)
{
    clearResultScreen();
    if (listResults == null || listResults.size() == 0 )
    {
        engine.showMessage("No results were found. Please alter your search criteria", "No results", MessageButtons.OK, MessageIcon.INFORMATION);
        return;
    }
    for (int i = 0 ; i<listResults.size()  ; i++)
    {
        addRowToGrid(listResults.get(i));
    }
    form.lblTotal().setValue(Integer.toString(listResults.size()));
}