Package io.jmix.reportsui.action
Class AbstractPrintFormAction
java.lang.Object
io.jmix.ui.action.AbstractAction
io.jmix.reportsui.action.AbstractPrintFormAction
- All Implemented Interfaces:
Action,Action.HasPrimaryState
- Direct Known Subclasses:
EditorPrintFormAction,ListPrintFormAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.action.Action
Action.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CurrentUserSubstitutionprotected DataManagerprotected FetchPlanRepositoryprotected Messagesprotected Metadataprotected PrototypesLoaderprotected ReportsClientPropertiesprotected ReportSecurityManagerprotected ScreenBuildersprotected Screensprotected UiReportRunnerFields inherited from class io.jmix.ui.action.AbstractAction
caption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visibleFields inherited from interface io.jmix.ui.action.Action
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectconvertParameterIfNecessary(ReportInputParameter parameter, Object paramValue, boolean useForInputParametersForm) protected ReportInputParametergetParameterAlias(Report report, MetaClass inputValueMetaClass) protected ObjecthandleCollectionParameter(Object paramValue, boolean convertToSingleItem) protected voidopenReportParamsDialog(Report report, Map<String, Object> params, String outputNamePattern, ReportInputParameter inputParameter, boolean bulkPrint) protected voidopenRunReportScreen(Screen screen, Object selectedValue, MetaClass inputValueMetaClass) protected voidopenRunReportScreen(Screen screen, Object selectedValue, MetaClass inputValueMetaClass, String outputFileName) protected booleanparameterMatchesMetaClass(ReportInputParameter parameter, MetaClass metaClass) protected ReportreloadReport(Report report) voidrunAndShow(Report report, FrameOwner screen, ReportInputParameter reportInputParameter, Object parameterValue, String outputFileName) protected voidrunReport(Report report, Screen screen, Object selectedValue, MetaClass inputValueMetaClass, String outputFileName) Methods inherited from class io.jmix.ui.action.AbstractAction
addOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setPrimary, setShortcut, setShortcutCombination, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.action.Action
actionPerform
-
Field Details
-
reportSecurityManager
-
dataManager
-
messages
-
screenBuilder
-
fetchPlanRepository
-
currentUserSubstitution
-
uiReportRunner
-
screens
-
prototypesLoader
-
metadata
-
reportsClientProperties
-
-
Constructor Details
-
AbstractPrintFormAction
-
-
Method Details
-
openRunReportScreen
-
openRunReportScreen
-
runReport
-
runAndShow
public void runAndShow(Report report, FrameOwner screen, ReportInputParameter reportInputParameter, Object parameterValue, @Nullable String outputFileName) -
openReportParamsDialog
-
convertParameterIfNecessary
@Nullable protected Object convertParameterIfNecessary(ReportInputParameter parameter, Object paramValue, boolean useForInputParametersForm) -
handleCollectionParameter
-
getParameterAlias
-
parameterMatchesMetaClass
-
reloadReport
-