Class NewSyncGroupVisualAction

  • All Implemented Interfaces:
    Comparable

    @Component
    public class NewSyncGroupVisualAction
    extends AbstractVisualAdvancedAction
    This class represents a visual action for creating or editing synchronization groups.
    Author:
    Hardy Ryan Chingal Martinez <ryan.chingal@neotropic.co>
    • Field Detail

      • ICON_SIZE

        public static String ICON_SIZE
        Icon size.
      • PARAM_GROUP

        public static String PARAM_GROUP
        Parameter group.
      • PARAM_EXCEPTION

        public static String PARAM_EXCEPTION
        Parameter exception.
      • PARAM_COMMANDCLOSE

        public static String PARAM_COMMANDCLOSE
        Parameter command close.
    • Constructor Detail

      • NewSyncGroupVisualAction

        public NewSyncGroupVisualAction()
    • Method Detail

      • appliesTo

        public String appliesTo()
        Description copied from class: AbstractVisualInventoryAction
        Tells the system what inventory objects support said action. Superclasses are also allowed. For example, returning GenericCommunicationsElement applies to all devices such as routers, multiplexers or switches, while InventoryObject will apply to any object.
        Overrides:
        appliesTo in class AbstractVisualInventoryAction
        Returns:
        The class or superclass whose instances the action applies to. If null, this indicate that while the action is related to inventory, it doesn't apply to a particular type, for example, when creating a Customer pool in the service manager (or any root pool, for that matter). By default, the action will apply to all instances.
      • 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.
      • getVisualComponent

        public com.vaadin.flow.component.dialog.Dialog getVisualComponent​(ModuleActionParameterSet parameters)
        Get the visual component for creating or editing a synchronization group.
        Specified by:
        getVisualComponent in class AbstractVisualAction
        Parameters:
        parameters - The module action parameter set.
        Returns:
        A dialog for creating or editing synchronization groups.