Class NewLinkFromContainerTemplateAction
- java.lang.Object
-
- org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractConnectivityAction
-
- org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractConnectivityVisualAction
-
- org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractLinkConnectivityAction
-
- org.neotropic.kuwaiba.modules.optional.connectivityman.actions.NewLinkFromContainerTemplateAction
-
public class NewLinkFromContainerTemplateAction extends AbstractLinkConnectivityAction
Action to create a new link using a container template.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description NewLinkFromContainerTemplateAction(Connection connection, String header, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute()
com.vaadin.flow.component.Component
getComponent()
String
getName()
List<TemplateObjectLight>
getSelectedObjects()
-
Methods inherited from class org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractLinkConnectivityAction
getSelectedLink, setName, setSelectedLink, setSelectedObjects
-
Methods inherited from class org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractConnectivityAction
getConnection
-
-
-
-
Constructor Detail
-
NewLinkFromContainerTemplateAction
public NewLinkFromContainerTemplateAction(Connection connection, String header, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts)
-
-
Method Detail
-
getSelectedObjects
public List<TemplateObjectLight> getSelectedObjects()
- Overrides:
getSelectedObjects
in classAbstractLinkConnectivityAction
-
getName
public String getName()
- Overrides:
getName
in classAbstractLinkConnectivityAction
-
getComponent
public com.vaadin.flow.component.Component getComponent()
- Specified by:
getComponent
in classAbstractConnectivityVisualAction
- Returns:
- The action UI.
-
execute
public boolean execute()
- Specified by:
execute
in classAbstractConnectivityAction
- Returns:
- True if the action was executed successfully.
-
-