Package io.jmix.reportsflowui.view.run
Class ReportRunView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.router.AfterNavigationObserver,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.BeforeLeaveObserver,com.vaadin.flow.router.HasDynamicTitle,com.vaadin.flow.router.internal.AfterNavigationHandler,com.vaadin.flow.router.internal.BeforeEnterHandler,com.vaadin.flow.router.internal.BeforeLeaveHandler,FragmentOwner,LookupView<Report>,MultiSelectLookupView,Serializable
@Route(value="reports/run",
layout=DefaultMainViewParent.class)
@ViewController("report_ReportRunView")
@ViewDescriptor("report-run-view.xml")
@DialogMode(width="80em",
resizable=true)
public class ReportRunView
extends StandardListView<Report>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEventNested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TypedTextField<String>protected CurrentUserSubstitutionprotected DataManagerprotected com.vaadin.flow.component.formlayout.FormLayoutprotected EntityComboBox<ReportGroup>protected MessageBundleprotected MetaClassprotected MetadataToolsprotected TypedTextField<String>protected ReportsClientPropertiesprotected CollectionContainer<Report>protected ReportSecurityManagerprotected Stringprotected UiReportRunnerprotected TypedDatePicker<Date>Fields inherited from class io.jmix.flowui.view.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected booleanisCandidateReport(String nameFilterValue, String codeFilterValue, ReportGroup groupFilterValue, Date dateFilterValue, Report report) protected voidonBeforeShow(View.BeforeShowEvent event) protected voidonClearFilter(com.vaadin.flow.component.ClickEvent<JmixButton> event) protected voidonFilterReports(com.vaadin.flow.component.ClickEvent<JmixButton> event) protected voidvoidsetMetaClass(MetaClass metaClassParameter) voidsetReports(List<Report> reports) voidMethods inherited from class io.jmix.flowui.view.StandardListView
closeWithDiscard, doSelect, findLookupComponent, getDiscardAction, getLookupActionsLayout, getLookupComponent, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, lookupEnterPress, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItemsMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, onDetachInternal, removeApplicationListeners, removeViewAttributes, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
reportDataGrid
-
reportsDc
-
nameFilter
-
codeFilter
-
groupFilter
-
updatedDateFilter
-
filterPanel
-
reportSecurityManager
-
currentUserSubstitution
-
messageBundle
-
dataManager
-
metadataTools
-
uiReportRunner
-
reportsClientProperties
-
reports
-
metaClassParameter
-
screenParameter
-
-
Constructor Details
-
ReportRunView
public ReportRunView()
-
-
Method Details
-
setReports
-
setMetaClass
-
setScreen
-
onBeforeShow
-
onReportDataGridRunReport
@Subscribe("reportDataGrid.runReport") protected void onReportDataGridRunReport(ActionPerformedEvent event) -
onFilterReports
@Subscribe("searchBtn") protected void onFilterReports(com.vaadin.flow.component.ClickEvent<JmixButton> event) -
onClearFilter
@Subscribe("clearBtn") protected void onClearFilter(com.vaadin.flow.component.ClickEvent<JmixButton> event) -
filterReports
protected void filterReports() -
isCandidateReport
protected boolean isCandidateReport(@Nullable String nameFilterValue, @Nullable String codeFilterValue, @Nullable ReportGroup groupFilterValue, @Nullable Date dateFilterValue, Report report)
-