@UiController(value="report_ShowPivotTable.screen")
@UiDescriptor(value="show-pivot-table-screen.xml")
public class ShowPivotTableScreen
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 io.jmix.core.usersubstitution.CurrentUserSubstitution |
currentUserSubstitution |
protected io.jmix.ui.Fragments |
fragments |
protected InputParametersFragment |
inputParametersFragment |
protected io.jmix.core.Messages |
messages |
protected io.jmix.ui.component.BoxLayout |
parametersFragmentHolder |
protected java.util.Map<java.lang.String,java.lang.Object> |
params |
static java.lang.String |
PIVOT_TABLE_SCREEN_ID |
protected byte[] |
pivotTableData |
protected Report |
report |
protected io.jmix.ui.component.GroupBoxLayout |
reportBox |
protected io.jmix.ui.component.EntityComboBox<Report> |
reportEntityComboBox |
protected io.jmix.ui.component.GroupBoxLayout |
reportParamsBox |
protected ReportRunner |
reportRunner |
protected ReportSecurityManager |
reportSecurityManager |
protected io.jmix.ui.component.HBoxLayout |
reportSelectorBox |
protected io.jmix.ui.screen.ScreenValidation |
screenValidation |
protected io.jmix.core.impl.StandardSerialization |
serialization |
protected java.lang.String |
templateCode |
protected io.jmix.ui.theme.ThemeConstants |
themeConstants |
protected io.jmix.ui.UiComponents |
uiComponents |
Constructor and Description |
---|
ShowPivotTableScreen() |
Modifier and Type | Method and Description |
---|---|
protected void |
initFragments(java.lang.String pivotTableJson,
java.util.List<io.jmix.core.entity.KeyValueEntity> values,
java.util.Map<java.lang.String,java.lang.Object> reportParameters) |
protected void |
initReportTemplatesComboBox() |
protected void |
onBeforeShow(io.jmix.ui.screen.Screen.BeforeShowEvent event) |
void |
onReportsDlPostLoad(io.jmix.ui.model.CollectionLoader.PostLoadEvent<Report> event) |
protected void |
openPivotTable(java.lang.String pivotTableJson,
java.util.List<io.jmix.core.entity.KeyValueEntity> values) |
protected void |
openReportParameters(java.util.Map<java.lang.String,java.lang.Object> reportParameters) |
protected void |
printReport(io.jmix.ui.component.Button.ClickEvent event) |
void |
setParams(java.util.Map<java.lang.String,java.lang.Object> params) |
void |
setPivotTableData(byte[] pivotTableData) |
void |
setReport(Report report) |
void |
setTemplateCode(java.lang.String templateCode) |
protected void |
showStubText() |
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 PIVOT_TABLE_SCREEN_ID
@Autowired protected ReportSecurityManager reportSecurityManager
@Autowired protected io.jmix.ui.UiComponents uiComponents
@Autowired protected io.jmix.ui.theme.ThemeConstants themeConstants
@Autowired protected io.jmix.ui.component.GroupBoxLayout reportBox
@Autowired protected io.jmix.ui.component.GroupBoxLayout reportParamsBox
@Autowired protected io.jmix.ui.component.BoxLayout parametersFragmentHolder
@Autowired protected io.jmix.ui.component.EntityComboBox<Report> reportEntityComboBox
@Autowired protected io.jmix.ui.component.HBoxLayout reportSelectorBox
@Autowired protected io.jmix.core.impl.StandardSerialization serialization
@Autowired protected io.jmix.core.Messages messages
@Autowired protected io.jmix.ui.Fragments fragments
@Autowired protected io.jmix.ui.screen.ScreenValidation screenValidation
@Autowired protected io.jmix.core.usersubstitution.CurrentUserSubstitution currentUserSubstitution
protected Report report
protected java.util.Map<java.lang.String,java.lang.Object> params
protected java.lang.String templateCode
protected byte[] pivotTableData
protected InputParametersFragment inputParametersFragment
@Autowired protected ReportRunner reportRunner
public void setReport(Report report)
public void setParams(java.util.Map<java.lang.String,java.lang.Object> params)
public void setTemplateCode(@Nullable java.lang.String templateCode)
public void setPivotTableData(byte[] pivotTableData)
@Subscribe(id="reportsDl", target=DATA_LOADER) public void onReportsDlPostLoad(io.jmix.ui.model.CollectionLoader.PostLoadEvent<Report> event)
@Subscribe protected void onBeforeShow(io.jmix.ui.screen.Screen.BeforeShowEvent event)
protected void initFragments(@Nullable java.lang.String pivotTableJson, @Nullable java.util.List<io.jmix.core.entity.KeyValueEntity> values, @Nullable java.util.Map<java.lang.String,java.lang.Object> reportParameters)
protected void openReportParameters(@Nullable java.util.Map<java.lang.String,java.lang.Object> reportParameters)
@Subscribe(value="printReportBtn") protected void printReport(io.jmix.ui.component.Button.ClickEvent event)
protected void openPivotTable(@Nullable java.lang.String pivotTableJson, @Nullable java.util.List<io.jmix.core.entity.KeyValueEntity> values)
protected void initReportTemplatesComboBox()
protected void showStubText()