@Deprecated public class CreateItemAction extends AbstractAction<CreateItemActionDefinition>
DetailSubApp
only gets a location containing nodePath and DetailView.ViewType
.
When creating a new node, we either create it here and pass the new path to the subapp or
we pass all needed parameters to the location. This is less messy, but not optimal.. at all.
See MGNLUI-222.CreateItemActionDefinition
Constructor and Description |
---|
CreateItemAction(CreateItemActionDefinition definition,
LocationController locationController,
com.vaadin.v7.data.Item parentItem,
ContentConnector contentConnector)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Deprecated.
Executes the action.
|
getDefinition
public CreateItemAction(CreateItemActionDefinition definition, LocationController locationController, com.vaadin.v7.data.Item parentItem, ContentConnector contentConnector)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionCopyright © 2019 Magnolia International Ltd.. All rights reserved.