Package io.jmix.reportsflowui.action
Class ReportActionSupport
java.lang.Object
io.jmix.reportsflowui.action.ReportActionSupport
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CurrentUserSubstitutionprotected final DialogWindowsprotected final Messagesprotected final Metadataprotected final Notificationsprotected final PrototypesLoaderprotected final ReportRepositoryprotected final ReportsClientPropertiesprotected final UiReportRunnerprotected final Views -
Constructor Summary
ConstructorsConstructorDescriptionReportActionSupport(ReportRepository reportRepository, Messages messages, Notifications notifications, DialogWindows dialogWindows, CurrentUserSubstitution currentUserSubstitution, UiReportRunner uiReportRunner, Views views, PrototypesLoader prototypesLoader, Metadata metadata, ReportsClientProperties reportsClientProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectconvertParameterIfNecessary(ReportInputParameter parameter, Object paramValue, boolean useForInputParametersForm) protected ReportFiltercreateFilter(View<?> view, MetaClass inputValueMetaClass) protected ReportInputParametergetParameterAlias(Report report, MetaClass inputValueMetaClass) protected ObjecthandleCollectionParameter(Object paramValue, boolean convertToSingleItem) voidopenReportParamsDialog(Report report, View view, Map<String, Object> params, String outputNamePattern, ReportInputParameter inputParameter, boolean bulkPrint) voidopenRunReportScreen(View<?> view, Object selectedValue, MetaClass inputValueMetaClass) voidopenRunReportScreen(View<?> view, Object selectedValue, MetaClass inputValueMetaClass, String outputFileName) protected booleanparameterMatchesMetaClass(ReportInputParameter parameter, MetaClass metaClass) voidrunAndShow(Report report, View<?> view, ReportInputParameter reportInputParameter, Object parameterValue, String outputFileName) voidrunReport(Report report, View<?> view, Object selectedValue, MetaClass inputValueMetaClass, String outputFileName)
-
Field Details
-
reportRepository
-
messages
-
notifications
-
dialogWindows
-
currentUserSubstitution
-
uiReportRunner
-
views
-
prototypesLoader
-
metadata
-
reportsClientProperties
-
-
Constructor Details
-
ReportActionSupport
public ReportActionSupport(ReportRepository reportRepository, Messages messages, Notifications notifications, DialogWindows dialogWindows, CurrentUserSubstitution currentUserSubstitution, UiReportRunner uiReportRunner, Views views, PrototypesLoader prototypesLoader, Metadata metadata, ReportsClientProperties reportsClientProperties)
-
-
Method Details
-
openRunReportScreen
-
openRunReportScreen
-
createFilter
-
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
-