public abstract class AbstractPrintFormAction
extends io.jmix.ui.action.AbstractAction
io.jmix.ui.action.Action.ActionPerformedEvent, io.jmix.ui.action.Action.AdjustWhenScreenReadOnly, io.jmix.ui.action.Action.ExecutableAction, io.jmix.ui.action.Action.HasPrimaryState, io.jmix.ui.action.Action.HasSecurityConstraint, io.jmix.ui.action.Action.HasTarget, io.jmix.ui.action.Action.MainTabSheetAction, io.jmix.ui.action.Action.ScreenOpeningAction, io.jmix.ui.action.Action.SecuredAction, io.jmix.ui.action.Action.Status
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.usersubstitution.CurrentUserSubstitution |
currentUserSubstitution |
protected io.jmix.core.DataManager |
dataManager |
protected io.jmix.core.FetchPlanRepository |
fetchPlanRepository |
protected io.jmix.core.Messages |
messages |
protected io.jmix.core.Metadata |
metadata |
protected PrototypesLoader |
prototypesLoader |
protected ReportsClientProperties |
reportsClientProperties |
protected ReportSecurityManager |
reportSecurityManager |
protected io.jmix.ui.ScreenBuilders |
screenBuilder |
protected io.jmix.ui.Screens |
screens |
protected UiReportRunner |
uiReportRunner |
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrintFormAction(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
convertParameterIfNecessary(ReportInputParameter parameter,
java.lang.Object paramValue,
boolean useForInputParametersForm) |
protected ReportInputParameter |
getParameterAlias(Report report,
io.jmix.core.metamodel.model.MetaClass inputValueMetaClass) |
protected java.lang.Object |
handleCollectionParameter(java.lang.Object paramValue,
boolean convertToSingleItem) |
protected void |
openReportParamsDialog(Report report,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String outputNamePattern,
ReportInputParameter inputParameter,
boolean bulkPrint) |
protected void |
openRunReportScreen(io.jmix.ui.screen.Screen screen,
java.lang.Object selectedValue,
io.jmix.core.metamodel.model.MetaClass inputValueMetaClass) |
protected void |
openRunReportScreen(io.jmix.ui.screen.Screen screen,
java.lang.Object selectedValue,
io.jmix.core.metamodel.model.MetaClass inputValueMetaClass,
java.lang.String outputFileName) |
protected boolean |
parameterMatchesMetaClass(ReportInputParameter parameter,
io.jmix.core.metamodel.model.MetaClass metaClass) |
protected Report |
reloadReport(Report report) |
void |
runAndShow(Report report,
io.jmix.ui.screen.FrameOwner screen,
ReportInputParameter reportInputParameter,
java.lang.Object parameterValue,
java.lang.String outputFileName) |
protected void |
runReport(Report report,
io.jmix.ui.screen.Screen screen,
java.lang.Object selectedValue,
io.jmix.core.metamodel.model.MetaClass inputValueMetaClass,
java.lang.String outputFileName) |
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, setVisible
@Autowired protected ReportSecurityManager reportSecurityManager
@Autowired protected io.jmix.core.DataManager dataManager
@Autowired protected io.jmix.core.Messages messages
@Autowired protected io.jmix.ui.ScreenBuilders screenBuilder
@Autowired protected io.jmix.core.FetchPlanRepository fetchPlanRepository
@Autowired protected io.jmix.core.usersubstitution.CurrentUserSubstitution currentUserSubstitution
@Autowired protected UiReportRunner uiReportRunner
@Autowired protected io.jmix.ui.Screens screens
@Autowired protected PrototypesLoader prototypesLoader
@Autowired protected io.jmix.core.Metadata metadata
@Autowired protected ReportsClientProperties reportsClientProperties
protected void openRunReportScreen(io.jmix.ui.screen.Screen screen, java.lang.Object selectedValue, io.jmix.core.metamodel.model.MetaClass inputValueMetaClass)
protected void openRunReportScreen(io.jmix.ui.screen.Screen screen, java.lang.Object selectedValue, io.jmix.core.metamodel.model.MetaClass inputValueMetaClass, @Nullable java.lang.String outputFileName)
protected void runReport(Report report, io.jmix.ui.screen.Screen screen, java.lang.Object selectedValue, io.jmix.core.metamodel.model.MetaClass inputValueMetaClass, @Nullable java.lang.String outputFileName)
public void runAndShow(Report report, io.jmix.ui.screen.FrameOwner screen, ReportInputParameter reportInputParameter, java.lang.Object parameterValue, @Nullable java.lang.String outputFileName)
protected void openReportParamsDialog(Report report, java.util.Map<java.lang.String,java.lang.Object> params, @Nullable java.lang.String outputNamePattern, ReportInputParameter inputParameter, boolean bulkPrint)
@Nullable protected java.lang.Object convertParameterIfNecessary(ReportInputParameter parameter, java.lang.Object paramValue, boolean useForInputParametersForm)
@Nullable protected java.lang.Object handleCollectionParameter(@Nullable java.lang.Object paramValue, boolean convertToSingleItem)
protected ReportInputParameter getParameterAlias(Report report, io.jmix.core.metamodel.model.MetaClass inputValueMetaClass)
protected boolean parameterMatchesMetaClass(ReportInputParameter parameter, io.jmix.core.metamodel.model.MetaClass metaClass)