Package io.jmix.reportsflowui.action
Class ReportActionSupport
java.lang.Object
io.jmix.reportsflowui.action.ReportActionSupport
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CurrentUserSubstitution
protected final DataManager
protected final DialogWindows
protected final FetchPlanRepository
protected final Messages
protected final Metadata
protected final Notifications
protected final PrototypesLoader
protected final ReportsClientProperties
protected final ReportSecurityManager
protected final UiReportRunner
protected final Views
-
Constructor Summary
ConstructorDescriptionReportActionSupport
(ReportSecurityManager reportSecurityManager, DataManager dataManager, Messages messages, Notifications notifications, DialogWindows dialogWindows, FetchPlanRepository fetchPlanRepository, CurrentUserSubstitution currentUserSubstitution, UiReportRunner uiReportRunner, Views views, PrototypesLoader prototypesLoader, Metadata metadata, ReportsClientProperties reportsClientProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
convertParameterIfNecessary
(ReportInputParameter parameter, Object paramValue, boolean useForInputParametersForm) protected ReportInputParameter
getParameterAlias
(Report report, MetaClass inputValueMetaClass) protected Object
handleCollectionParameter
(Object paramValue, boolean convertToSingleItem) void
openReportParamsDialog
(Report report, View view, Map<String, Object> params, String outputNamePattern, ReportInputParameter inputParameter, boolean bulkPrint) void
openRunReportScreen
(View<?> view, Object selectedValue, MetaClass inputValueMetaClass) void
openRunReportScreen
(View<?> view, Object selectedValue, MetaClass inputValueMetaClass, String outputFileName) protected boolean
parameterMatchesMetaClass
(ReportInputParameter parameter, MetaClass metaClass) protected Report
reloadReport
(Report report) void
runAndShow
(Report report, View<?> view, ReportInputParameter reportInputParameter, Object parameterValue, String outputFileName) void
runReport
(Report report, View<?> view, Object selectedValue, MetaClass inputValueMetaClass, String outputFileName)
-
Field Details
-
reportSecurityManager
-
dataManager
-
messages
-
notifications
-
dialogWindows
-
fetchPlanRepository
-
currentUserSubstitution
-
uiReportRunner
-
views
-
prototypesLoader
-
metadata
-
reportsClientProperties
-
-
Constructor Details
-
ReportActionSupport
public ReportActionSupport(ReportSecurityManager reportSecurityManager, DataManager dataManager, Messages messages, Notifications notifications, DialogWindows dialogWindows, FetchPlanRepository fetchPlanRepository, CurrentUserSubstitution currentUserSubstitution, UiReportRunner uiReportRunner, Views views, PrototypesLoader prototypesLoader, Metadata metadata, ReportsClientProperties reportsClientProperties)
-
-
Method Details
-
openRunReportScreen
-
openRunReportScreen
-
runReport
-
runAndShow
public void runAndShow(Report report, View<?> view, ReportInputParameter reportInputParameter, Object parameterValue, @Nullable String outputFileName) -
openReportParamsDialog
-
convertParameterIfNecessary
@Nullable protected Object convertParameterIfNecessary(ReportInputParameter parameter, Object paramValue, boolean useForInputParametersForm) -
handleCollectionParameter
-
getParameterAlias
-
parameterMatchesMetaClass
-
reloadReport
-