Class NewSubnetVisualAction
- java.lang.Object
- 
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
- 
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualInventoryAction
- 
- com.neotropic.kuwaiba.modules.commercial.ipam.actions.NewSubnetVisualAction
 
 
 
- 
- All Implemented Interfaces:
- Comparable
 
 @Component public class NewSubnetVisualAction extends AbstractVisualInventoryAction Visual wrapper of a new business object action.- Author:
- Adrian Martinez <adrian.martinez@kuwaiba.org>
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualActionAbstractVisualAction.VisualActionType
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringPARAM_CIDRParameter to create the subnet, parent type if is a folder or a subnetstatic StringPARAM_CLASSNAMEParameter to create the subnet, the parent class namestatic StringPARAM_PARENT_CLASSNAMEParameter to create the subnet, the parent idstatic StringPARAM_PARENT_IDParameter to create the subnet, the parent id- 
Fields inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualInventoryActionSELECTION_ANY_OBJECTS, SELECTION_NO_OBJECTS
 - 
Fields inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualActionchildrenActions, formatOptions, icon, listeners, moduleId, type
 
- 
 - 
Constructor SummaryConstructors Constructor Description NewSubnetVisualAction()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractActiongetModuleAction()The underlying action wrapped by this visual object.intgetRequiredSelectedObjects()How many objects have to be selected so this action is enabled.com.vaadin.flow.component.dialog.DialoggetVisualComponent(ModuleActionParameterSet parameters)Creates the the component for a new subnet- 
Methods inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualInventoryActionappliesTo, getName, toString
 - 
Methods inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualActionclearListeners, compareTo, fireActionCompletedEvent, getChildrenActions, getFormatOptions, getIcon, getModuleId, registerActionCompletedLister, setChildrenActions, setFormatOptions, setIcon, setModuleId, unregisterListener
 
- 
 
- 
- 
- 
Field Detail- 
PARAM_PARENT_IDpublic static final String PARAM_PARENT_ID Parameter to create the subnet, the parent id- See Also:
- Constant Field Values
 
 - 
PARAM_PARENT_CLASSNAMEpublic static final String PARAM_PARENT_CLASSNAME Parameter to create the subnet, the parent id- See Also:
- Constant Field Values
 
 - 
PARAM_CIDRpublic static final String PARAM_CIDR Parameter to create the subnet, parent type if is a folder or a subnet- See Also:
- Constant Field Values
 
 - 
PARAM_CLASSNAMEpublic static final String PARAM_CLASSNAME Parameter to create the subnet, the parent class name- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getVisualComponentpublic com.vaadin.flow.component.dialog.Dialog getVisualComponent(ModuleActionParameterSet parameters) Creates the the component for a new subnet- Specified by:
- getVisualComponentin class- AbstractVisualAction
- Parameters:
- parameters- need it parameters
- Returns:
- a dialog
 
 - 
getModuleActionpublic AbstractAction getModuleAction() Description copied from class:AbstractVisualActionThe underlying action wrapped by this visual object.- Specified by:
- getModuleActionin class- AbstractVisualAction
- Returns:
- The action.
 
 - 
getRequiredSelectedObjectspublic int getRequiredSelectedObjects() Description copied from class:AbstractVisualInventoryActionHow 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:
- getRequiredSelectedObjectsin class- AbstractVisualInventoryAction
- Returns:
- The number of objects that have to be selected so the action is enabled.
 
 
- 
 
-