Package io.jmix.pivottableflowui.action
Class ShowPivotTableAction
java.lang.Object
io.jmix.flowui.kit.action.AbstractAction
io.jmix.flowui.kit.action.BaseAction
io.jmix.flowui.action.SecuredBaseAction
io.jmix.flowui.action.list.ListDataComponentAction<ShowPivotTableAction,Entity>
 
io.jmix.pivottableflowui.action.ShowPivotTableAction
- All Implemented Interfaces:
- ExecutableAction,- SecuredAction,- TargetAction<ListDataComponent<Entity>>,- Action,- HasShortcutCombination,- org.springframework.beans.factory.Aware,- org.springframework.context.ApplicationContextAware
@ActionType("pvttbl_showPivotTable")
public class ShowPivotTableAction
extends ListDataComponentAction<ShowPivotTableAction,Entity>
implements org.springframework.context.ApplicationContextAware 
Jmix action to show 
PivotTable component.
 When the action executes, the pivot table shows data from the component that implements ListDataComponent.- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class io.jmix.flowui.action.SecuredBaseActionSecuredBaseAction.EnabledRule
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected Dialogsprotected Stringstatic final Stringprotected Stringprotected MessagesFields inherited from class io.jmix.flowui.action.list.ListDataComponentActionselectionListenerRegistration, targetFields inherited from class io.jmix.flowui.action.SecuredBaseActionenabledByUiPermissions, enabledRules, visibleByUiPermissionsFields inherited from class io.jmix.flowui.kit.action.BaseActionenabledExplicitly, visibleExplicitlyFields inherited from class io.jmix.flowui.kit.action.AbstractActiondescription, enabled, eventBus, icon, id, shortcutCombination, text, variant, visibleFields inherited from interface io.jmix.flowui.kit.action.ActionPROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT_COMBINATION, PROP_TEXT, PROP_VARIANT, PROP_VISIBLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute()Executes the action to show the pivot table.protected booleanSpecifies whether to show all rows or prompt the user to select rows.parseProperties(String properties) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetDialogs(Dialogs dialogs) voidsetExcludedProperties(String properties) Set excluded properties separated by a comma.voidsetIncludedProperties(String properties) Sets included properties separated by a comma.voidsetMessages(Messages messages) protected voidMethods inherited from class io.jmix.flowui.action.list.ListDataComponentActionactionPerform, attachSelectionListener, checkTarget, checkTargetItems, getTarget, initAction, onSelectionChange, setTarget, withEnabled, withEnabledByUiPermissions, withHandler, withIcon, withIcon, withShortcutCombination, withTarget, withText, withTitle, withVariant, withVisible, withVisibleByUiPermissionsMethods inherited from class io.jmix.flowui.action.SecuredBaseActionaddEnabledRule, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabledByUiPermissions, setVisibleByUiPermissionsMethods inherited from class io.jmix.flowui.kit.action.BaseActionaddActionPerformedListener, isApplicable, setEnabled, setEnabledInternal, setVisible, setVisibleInternalMethods inherited from class io.jmix.flowui.kit.action.AbstractActionaddPropertyChangeListener, firePropertyChange, getDescription, getEventBus, getIcon, getId, getShortcutCombination, getText, getVariant, hasListener, isEnabled, isVisible, setDescription, setIcon, setShortcutCombination, setText, setVariantMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.kit.action.ActionaddPropertyChangeListener, getDescription, getIcon, getId, getText, getVariant, isEnabled, isVisible, refreshState, setDescription, setEnabled, setIcon, setText, setVariant, setVisibleMethods inherited from interface io.jmix.flowui.kit.component.HasShortcutCombinationgetShortcutCombination, setShortcutCombination
- 
Field Details- 
ID- See Also:
 
- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContext
- 
messages
- 
dialogs
- 
includedProperties
- 
excludedProperties
 
- 
- 
Constructor Details- 
ShowPivotTableActionpublic ShowPivotTableAction()
- 
ShowPivotTableAction
 
- 
- 
Method Details- 
setApplicationContextpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
- setApplicationContextin interface- org.springframework.context.ApplicationContextAware
 
- 
setMessages
- 
setDialogs
- 
executepublic void execute()Executes the action to show the pivot table.- Specified by:
- executein interface- ExecutableAction
 
- 
setExcludedPropertiesSet excluded properties separated by a comma. Excluded properties will not be shown in the PivotTable.- Parameters:
- properties- excluded properties
 
- 
getExcludedProperties
- 
getExcludedPropertiesList- Returns:
- list with parsed excluded properties
 
- 
setIncludedPropertiesSets included properties separated by a comma. Only included properties will be shown in the PivotTable.- Parameters:
- properties- included properties
 
- 
getIncludedProperties
- 
getIncludedPropertiesList- Returns:
- list with parsed included properties
 
- 
needShowAllprotected boolean needShowAll()Specifies whether to show all rows or prompt the user to select rows.- Returns:
- true if all rows should be displayed, false otherwise
 
- 
parseProperties
- 
showPivotTable
 
-