Java 类ims.core.vo.enums.ReportTemplateSearchEvent 实例源码

项目:AvoinApotti    文件:Logic.java   
@Override
protected void onCcReportTemplateSearchValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if (ReportTemplateSearchEvent.BTNSEARCHEVENT.equals(form.ccReportTemplateSearch().getSelectedEvent()))
    {
        clearInstanceControls();
    }
    else if (ReportTemplateSearchEvent.GRIDSELECTIONEVENT.equals(form.ccReportTemplateSearch().getSelectedEvent()))
    {
        form.getLocalContext().setselectedTemplate(form.ccReportTemplateSearch().getSelectedTemplate());
        if (form.getLocalContext().getselectedTemplate()!=null)
        {   
            form.getLocalContext().setcurrentAdviceLeaflet(domain.getAdviceLeafletByTemplate(form.getLocalContext().getselectedTemplate()));
            populateInstanceControls(form.getLocalContext().getcurrentAdviceLeaflet());
        }
    }
    updateControlsState();
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onCcReportTemplateSearchValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if (ReportTemplateSearchEvent.BTNSEARCHEVENT.equals(form.ccReportTemplateSearch().getSelectedEvent()))
    {
        clearInstanceControls();
    }
    else if (ReportTemplateSearchEvent.GRIDSELECTIONEVENT.equals(form.ccReportTemplateSearch().getSelectedEvent()))
    {
        form.grdPrePrintedAdviceLeafletSearch().setValue(null); //WDEV-20437
        form.getLocalContext().setselectedTemplate(form.ccReportTemplateSearch().getSelectedTemplate());
        if (form.getLocalContext().getselectedTemplate()!=null)
        {   
            form.getLocalContext().setcurrentAdviceLeaflet(domain.getAdviceLeafletByTemplate(form.getLocalContext().getselectedTemplate()));
            populateInstanceControls(form.getLocalContext().getcurrentAdviceLeaflet());
        }
    }
    updateControlsState();
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onCcReportTemplateSearchValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if (ReportTemplateSearchEvent.BTNSEARCHEVENT.equals(form.ccReportTemplateSearch().getSelectedEvent()))
    {
        clearInstanceControls();
    }
    else if (ReportTemplateSearchEvent.GRIDSELECTIONEVENT.equals(form.ccReportTemplateSearch().getSelectedEvent()))
    {
        form.getLocalContext().setselectedTemplate(form.ccReportTemplateSearch().getSelectedTemplate());
        if (form.getLocalContext().getselectedTemplate()!=null)
        {   
            form.getLocalContext().setcurrentAdviceLeaflet(domain.getAdviceLeafletByTemplate(form.getLocalContext().getselectedTemplate()));
            populateInstanceControls(form.getLocalContext().getcurrentAdviceLeaflet());
        }
    }
    updateControlsState();
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onCcReportTemplateSearchValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if (ReportTemplateSearchEvent.BTNSEARCHEVENT.equals(form.ccReportTemplateSearch().getSelectedEvent()))
    {
        clearInstanceControls();
    }
    else if (ReportTemplateSearchEvent.GRIDSELECTIONEVENT.equals(form.ccReportTemplateSearch().getSelectedEvent()))
    {
        form.getLocalContext().setselectedTemplate(form.ccReportTemplateSearch().getSelectedTemplate());
        if (form.getLocalContext().getselectedTemplate()!=null)
        {   
            form.getLocalContext().setcurrentAdviceLeaflet(domain.getAdviceLeafletByTemplate(form.getLocalContext().getselectedTemplate()));
            populateInstanceControls(form.getLocalContext().getcurrentAdviceLeaflet());
        }
    }
    updateControlsState();
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onGrdResultSelectionChanged()
{
    form.getLocalContext().setselectedTemplate(form.grdResult().getValue());
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.GRIDSELECTIONEVENT);
    form.fireCustomControlValueChanged();
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onBtnSearchClick() throws ims.framework.exceptions.PresentationLogicException
{
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.BTNSEARCHEVENT);
    form.getLocalContext().setselectedTemplate(null);
    form.fireCustomControlValueChanged();
    doSearch();
}
项目:AvoinApotti    文件:Logic.java   
public void refresh()
{
    if (form.txtReportName().getValue() != null && form.txtTemplateName().getValue() != null)
    {
        doSearch();
    }

    form.grdResult().setValue(form.getLocalContext().getselectedTemplate());
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.GRIDSELECTIONEVENT);
    form.fireCustomControlValueChanged();

}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onGrdResultSelectionChanged()
{
    form.getLocalContext().setselectedTemplate(form.grdResult().getValue());
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.GRIDSELECTIONEVENT);
    form.fireCustomControlValueChanged();
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnSearchClick() throws ims.framework.exceptions.PresentationLogicException
{
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.BTNSEARCHEVENT);
    form.getLocalContext().setselectedTemplate(null);
    form.fireCustomControlValueChanged();
    doSearch();
}
项目:openMAXIMS    文件:Logic.java   
public void refresh()
{
    if (form.txtReportName().getValue() != null && form.txtTemplateName().getValue() != null)
    {
        doSearch();
    }

    form.grdResult().setValue(form.getLocalContext().getselectedTemplate());
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.GRIDSELECTIONEVENT);
    form.fireCustomControlValueChanged();

}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onGrdResultSelectionChanged()
{
    form.getLocalContext().setselectedTemplate(form.grdResult().getValue());
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.GRIDSELECTIONEVENT);
    form.fireCustomControlValueChanged();
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnSearchClick() throws ims.framework.exceptions.PresentationLogicException
{
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.BTNSEARCHEVENT);
    form.getLocalContext().setselectedTemplate(null);
    form.fireCustomControlValueChanged();
    doSearch();
}
项目:openMAXIMS    文件:Logic.java   
public void refresh()
{
    if (form.txtReportName().getValue() != null && form.txtTemplateName().getValue() != null)
    {
        doSearch();
    }

    form.grdResult().setValue(form.getLocalContext().getselectedTemplate());
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.GRIDSELECTIONEVENT);
    form.fireCustomControlValueChanged();

}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onGrdResultSelectionChanged()
{
    form.getLocalContext().setselectedTemplate(form.grdResult().getValue());
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.GRIDSELECTIONEVENT);
    form.fireCustomControlValueChanged();
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onBtnSearchClick() throws ims.framework.exceptions.PresentationLogicException
{
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.BTNSEARCHEVENT);
    form.getLocalContext().setselectedTemplate(null);
    form.fireCustomControlValueChanged();
    doSearch();
}
项目:openmaxims-linux    文件:Logic.java   
public void refresh()
{
    if (form.txtReportName().getValue() != null && form.txtTemplateName().getValue() != null)
    {
        doSearch();
    }

    form.grdResult().setValue(form.getLocalContext().getselectedTemplate());
    form.getLocalContext().setselectedEvent(ReportTemplateSearchEvent.GRIDSELECTIONEVENT);
    form.fireCustomControlValueChanged();

}
项目:AvoinApotti    文件:Logic.java   
public ReportTemplateSearchEvent getSelectedEvent()
{
    return form.getLocalContext().getselectedEvent();
}
项目:openMAXIMS    文件:Logic.java   
public ReportTemplateSearchEvent getSelectedEvent()
{
    return form.getLocalContext().getselectedEvent();
}
项目:openMAXIMS    文件:Logic.java   
public ReportTemplateSearchEvent getSelectedEvent()
{
    return form.getLocalContext().getselectedEvent();
}
项目:openmaxims-linux    文件:Logic.java   
public ReportTemplateSearchEvent getSelectedEvent()
{
    return form.getLocalContext().getselectedEvent();
}