Class SplitSubnetAction
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractAction
-
- com.neotropic.kuwaiba.modules.commercial.ipam.actions.SplitSubnetAction
-
@Component public class SplitSubnetAction extends AbstractAction
Creates a new subnet- Author:
- Adrian Martinez <adrian.martinez@kuwaiba.org>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractAction
AbstractAction.ModuleActionCallback
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAM_NEW_SUBNETS_IDS
Parameter of the created the subnets its idsstatic String
PARAM_SUBNETS
Parameter to create the splited subnets, contains all the new subnets details-
Fields inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractAction
callback, description, displayName, icon, id, order
-
-
Constructor Summary
Constructors Constructor Description SplitSubnetAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRequiredAccessLevel()
Returns the privilege needed to execute the current action.protected void
init()
boolean
requiresConfirmation()
Does this action requires confirmation before executing it? This is typically true for actions that will delete or otherwise dispose of some resources.-
Methods inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractAction
getCallback, getDescription, getDisplayName, getIcon, getId, getOrder, setCallback, setDescription, setDisplayName, setIcon, setId, setOrder
-
-
-
-
Field Detail
-
PARAM_SUBNETS
public static final String PARAM_SUBNETS
Parameter to create the splited subnets, contains all the new subnets details- See Also:
- Constant Field Values
-
PARAM_NEW_SUBNETS_IDS
public static final String PARAM_NEW_SUBNETS_IDS
Parameter of the created the subnets its ids- See Also:
- Constant Field Values
-
-
Method Detail
-
init
@PostConstruct protected void init()
-
getRequiredAccessLevel
public int getRequiredAccessLevel()
Description copied from class:AbstractAction
Returns the privilege needed to execute the current action. This access level should be matched with the permissions granted to the user and the renderer must decide if it will gray-out the action or simply not show it.- Specified by:
getRequiredAccessLevel
in classAbstractAction
- Returns:
- The access level needed to execute this action. See
Privilege
.ACCESS_LEVEL_XXX for possible values.
-
requiresConfirmation
public boolean requiresConfirmation()
Description copied from class:AbstractAction
Does this action requires confirmation before executing it? This is typically true for actions that will delete or otherwise dispose of some resources. The consumer of the action might ignore this flag and simply execute the action.- Specified by:
requiresConfirmation
in classAbstractAction
- Returns:
-
-