Package io.jmix.reportsflowui.action
Class ReportActionSupport
java.lang.Object
io.jmix.reportsflowui.action.ReportActionSupport
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CurrentUserSubstitutionprotected final DataManagerprotected final DialogWindowsprotected final FetchPlanRepositoryprotected final Messagesprotected final Metadataprotected final Notificationsprotected final PrototypesLoaderprotected final ReportsClientPropertiesprotected final ReportSecurityManagerprotected final UiReportRunnerprotected final Views -
Constructor Summary
ConstructorsConstructorDescriptionReportActionSupport(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 ObjectconvertParameterIfNecessary(ReportInputParameter parameter, Object paramValue, boolean useForInputParametersForm) 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) protected ReportreloadReport(Report report) voidrunAndShow(Report report, View<?> view, ReportInputParameter reportInputParameter, Object parameterValue, String outputFileName) voidrunReport(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
-