Class DeleteTemplateDataSourceVisualAction

  • All Implemented Interfaces:
    Comparable<AbstractVisualAction>

    @Component
    public class DeleteTemplateDataSourceVisualAction
    extends AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
    Visual wrapper of delete a data source template
    Author:
    Hardy Ryan Chingal Martinez <ryan.chingal@neotropic.co>
    • Field Detail

      • PARAM_TEMPLATE_DATA_SOURCE

        public static String PARAM_TEMPLATE_DATA_SOURCE
        Parameter, template data source configuration.
      • PARAM_COMMANDCLOSE

        public static String PARAM_COMMANDCLOSE
        Parameter command close.
      • PARAM_EXCEPTION

        public static String PARAM_EXCEPTION
        Parameter exception.
    • Constructor Detail

      • DeleteTemplateDataSourceVisualAction

        public DeleteTemplateDataSourceVisualAction()
    • Method Detail

      • getVisualComponent

        public com.vaadin.flow.component.dialog.Dialog getVisualComponent​(ModuleActionParameterSet parameters)
        Description copied from class: AbstractVisualAction
        The visual component (a XXLayout, for example), to be embedded in a Dialog upon triggering the action.
        Specified by:
        getVisualComponent in class AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
        Parameters:
        parameters - The initial parameters necessary to build the visual component. Some or all these parameters might be later passed to the underlying AbstractAction.
        Returns:
        The visual component.
      • getCommandClose

        public com.vaadin.flow.server.Command getCommandClose()
        refresh grid
        Returns:
        commandClose;Command; refresh action
      • setCommandClose

        public void setCommandClose​(com.vaadin.flow.server.Command commandClose)
        Parameters:
        commandClose - ;Command; refresh action