@UiController(value="report_InputParameters.dialog")
@UiDescriptor(value="input-parameters-dialog.xml")
public class InputParametersDialog
extends io.jmix.ui.screen.Screen
io.jmix.ui.screen.Screen.AfterCloseEvent, io.jmix.ui.screen.Screen.AfterDetachEvent, io.jmix.ui.screen.Screen.AfterInitEvent, io.jmix.ui.screen.Screen.AfterShowEvent, io.jmix.ui.screen.Screen.BeforeCloseEvent, io.jmix.ui.screen.Screen.BeforeShowEvent, io.jmix.ui.screen.Screen.InitEvent
Modifier and Type | Field and Description |
---|---|
protected boolean |
bulkPrint |
protected boolean |
inBackground |
static java.lang.String |
INPUT_PARAMETER |
protected ReportInputParameter |
inputParameter |
protected InputParametersFragment |
inputParametersFragment |
protected io.jmix.core.Messages |
messages |
protected io.jmix.ui.Notifications |
notifications |
protected java.lang.String |
outputFileName |
protected java.util.Map<java.lang.String,java.lang.Object> |
parameters |
protected io.jmix.ui.UiProperties |
properties |
protected Report |
report |
static java.lang.String |
REPORT_PARAMETER |
protected ReportParameterValidator |
reportParameterValidator |
protected io.jmix.ui.screen.ScreenValidation |
screenValidation |
protected java.util.Collection |
selectedEntities |
protected java.lang.String |
templateCode |
protected UiReportRunner |
uiReportRunner |
Constructor and Description |
---|
InputParametersDialog() |
Modifier and Type | Method and Description |
---|---|
protected void |
cancel(io.jmix.ui.component.Button.ClickEvent event) |
protected void |
crossValidateParameters(io.jmix.ui.component.ValidationErrors validationErrors) |
protected void |
onBeforeShow(io.jmix.ui.screen.Screen.BeforeShowEvent event) |
void |
onPrintReportButtonClick(io.jmix.ui.component.Button.ClickEvent event) |
void |
setBulkPrint(boolean bulkPrint) |
void |
setInBackground(boolean inBackground) |
void |
setInputParameter(ReportInputParameter inputParameter) |
void |
setOutputFileName(java.lang.String outputFileName) |
void |
setParameters(java.util.Map<java.lang.String,java.lang.Object> parameters) |
void |
setReport(Report report) |
void |
setTemplateCode(java.lang.String templateCode) |
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
public static final java.lang.String INPUT_PARAMETER
public static final java.lang.String REPORT_PARAMETER
protected java.lang.String templateCode
protected java.lang.String outputFileName
protected boolean bulkPrint
protected Report report
protected ReportInputParameter inputParameter
protected java.util.Map<java.lang.String,java.lang.Object> parameters
protected java.util.Collection selectedEntities
@Autowired protected UiReportRunner uiReportRunner
@Autowired protected InputParametersFragment inputParametersFragment
@Autowired protected ReportParameterValidator reportParameterValidator
@Autowired protected io.jmix.ui.Notifications notifications
@Autowired protected io.jmix.core.Messages messages
@Autowired protected io.jmix.ui.screen.ScreenValidation screenValidation
@Autowired protected io.jmix.ui.UiProperties properties
protected boolean inBackground
public void setTemplateCode(@Nullable java.lang.String templateCode)
public void setOutputFileName(@Nullable java.lang.String outputFileName)
public void setBulkPrint(boolean bulkPrint)
public void setReport(Report report)
public void setInputParameter(@Nullable ReportInputParameter inputParameter)
public void setParameters(@Nullable java.util.Map<java.lang.String,java.lang.Object> parameters)
public void setInBackground(boolean inBackground)
@Subscribe(value="printReportButton") public void onPrintReportButtonClick(io.jmix.ui.component.Button.ClickEvent event)
@Subscribe protected void onBeforeShow(io.jmix.ui.screen.Screen.BeforeShowEvent event)
protected void crossValidateParameters(io.jmix.ui.component.ValidationErrors validationErrors)
@Subscribe(value="cancelButton") protected void cancel(io.jmix.ui.component.Button.ClickEvent event)