Class AssociateObjectToProxyVisualAction

  • All Implemented Interfaces:
    Comparable

    @Component
    public class AssociateObjectToProxyVisualAction
    extends AbstractVisualInventoryAction
    Visual wrapper of associate object action.
    Author:
    Mauricio Ruiz <mauricio.ruiz@kuwaiba.org>
    • Field Detail

      • PARAM_BUSINESS_OBJECT

        public static String PARAM_BUSINESS_OBJECT
        New business object visual action parameter business object.
    • Constructor Detail

      • AssociateObjectToProxyVisualAction

        public AssociateObjectToProxyVisualAction()
    • 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
        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
      • getRequiredSelectedObjects

        public int getRequiredSelectedObjects()
        Description copied from class: AbstractVisualInventoryAction
        How many objects have to be selected so this action is enabled. Use -1 for any (-1), 0 if no objects have to be selected (0), or a number greater than 0 for a fixed number.
        Specified by:
        getRequiredSelectedObjects in class AbstractVisualInventoryAction
        Returns:
        The number of objects that have to be selected so the action is enabled.