Package io.jmix.reportsui.action.list
Class EditFetchPlanAction
java.lang.Object
io.jmix.ui.action.AbstractAction
io.jmix.ui.action.BaseAction
io.jmix.ui.action.ListAction
io.jmix.reportsui.action.list.EditFetchPlanAction
- All Implemented Interfaces:
Action
,Action.HasPrimaryState
,Action.HasTarget
,Action.SecuredAction
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.action.BaseAction
BaseAction.EnabledRule
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.OperationResultAction, Action.ScreenAction<S extends Screen>, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status
-
Field Summary
Modifier and TypeFieldDescriptionprotected CollectionContainer<BandDefinition>
protected DataManager
protected FetchPlans
static final String
protected Messages
protected Metadata
protected Notifications
protected PolicyStore
protected ReportsWizard
protected ScreenBuilders
protected SecureOperations
Fields inherited from class io.jmix.ui.action.ListAction
target
Fields inherited from class io.jmix.ui.action.AbstractAction
caption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visible
Fields inherited from interface io.jmix.ui.action.Action
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerform
(Component component) Invoked by owning component to execute the action.protected ReportRegion
dataSetToReportRegion
(DataSet dataSet, EntityTree entityTree) protected MetaClass
findMetaClassByAlias
(DataSet dataSet) findMetaClassByDataSetEntityAlias
(String alias, DataSetType dataSetType, List<ReportInputParameter> reportInputParameters) findSubFetchPlanByCollectionPropertyName
(FetchPlan fetchPlan, String propertyName) protected String
getNameForEntityParameter
(DataSet dataSet) protected FetchPlan
reportRegionToFetchPlan
(EntityTree entityTree, ReportRegion reportRegion) void
setBandsDc
(CollectionContainer<BandDefinition> bandsDc) void
setDataSetsTable
(Table<DataSet> dataSetsTable) protected boolean
suitableByDataSetType
(DataSetType dataSetType, boolean isCollectionAlias, ParameterType type) Methods inherited from class io.jmix.ui.action.ListAction
getTarget, setTarget, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcut
Methods inherited from class io.jmix.ui.action.BaseAction
addActionPerformedListener, addEnabledRule, isApplicable, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternal
Methods inherited from class io.jmix.ui.action.AbstractAction
addOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setPrimary, setShortcut, setShortcutCombination
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.ui.action.Action
addOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setShortcut, setShortcutCombination, setVisible
-
Field Details
-
ID
- See Also:
-
screenBuilders
-
notifications
-
fetchPlans
-
messages
-
reportsWizard
-
metadata
-
secureOperations
-
policyStore
-
dataManager
-
dataSetsTable
-
bandsDc
-
-
Constructor Details
-
EditFetchPlanAction
public EditFetchPlanAction() -
EditFetchPlanAction
-
-
Method Details
-
setDataSetsTable
-
setBandsDc
-
actionPerform
Description copied from interface:Action
Invoked by owning component to execute the action.- Specified by:
actionPerform
in interfaceAction
- Overrides:
actionPerform
in classBaseAction
- Parameters:
component
- invoking component
-
findMetaClassByAlias
-
findMetaClassByDataSetEntityAlias
@Nullable public MetaClass findMetaClassByDataSetEntityAlias(String alias, DataSetType dataSetType, List<ReportInputParameter> reportInputParameters) -
suitableByDataSetType
protected boolean suitableByDataSetType(DataSetType dataSetType, boolean isCollectionAlias, ParameterType type) -
dataSetToReportRegion
-
reportRegionToFetchPlan
-
findSubFetchPlanByCollectionPropertyName
-
getNameForEntityParameter
-