Class NewPoolItemVisualAction
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
-
- org.neotropic.kuwaiba.modules.optional.pools.actions.NewPoolItemVisualAction
-
- All Implemented Interfaces:
Comparable<AbstractVisualAction>
@Component public class NewPoolItemVisualAction extends AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
Visual wrapper of create a new pool item action- Author:
- Orlando Paz <orlando.paz@kuwaiba.org>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
AbstractVisualAction.VisualActionType
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationEntityManager
aem
Reference to the application entity manager.protected BusinessEntityManager
bem
Reference to the business entity manager.protected MetadataEntityManager
mem
Reference to the metadata entity manager.static String
PARAMETER_POOL
Parameter pool.static String
PARAMETER_POOL_ITEM
Parameter pool item.-
Fields inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
childrenActions, formatOptions, icon, listeners, moduleId, type
-
-
Constructor Summary
Constructors Constructor Description NewPoolItemVisualAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractAction
getModuleAction()
The underlying action wrapped by this visual object.com.vaadin.flow.component.dialog.Dialog
getVisualComponent(ModuleActionParameterSet parameters)
The visual component (a XXLayout, for example), to be embedded in a Dialog upon triggering the action.-
Methods inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
clearListeners, compareTo, fireActionCompletedEvent, getChildrenActions, getFormatOptions, getIcon, getModuleId, registerActionCompletedLister, setChildrenActions, setFormatOptions, setIcon, setModuleId, unregisterListener
-
-
-
-
Field Detail
-
mem
@Autowired protected MetadataEntityManager mem
Reference to the metadata entity manager.
-
aem
@Autowired protected ApplicationEntityManager aem
Reference to the application entity manager.
-
bem
@Autowired protected BusinessEntityManager bem
Reference to the business entity manager.
-
PARAMETER_POOL
public static String PARAMETER_POOL
Parameter pool.
-
PARAMETER_POOL_ITEM
public static String PARAMETER_POOL_ITEM
Parameter pool item.
-
-
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 classAbstractVisualAction<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 underlyingAbstractAction
.- Returns:
- The visual component.
-
getModuleAction
public AbstractAction getModuleAction()
Description copied from class:AbstractVisualAction
The underlying action wrapped by this visual object.- Specified by:
getModuleAction
in classAbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
- Returns:
- The action.
-
-