T
- definition class.public class ZipUploadDialogAction<T extends ZipUploadActionDefinition> extends AbstractAction<T>
ImportZipCommand
Modifier and Type | Class and Description |
---|---|
static class |
ZipUploadDialogAction.ExtractLocation
Possible extract locations.
|
Modifier and Type | Field and Description |
---|---|
static String |
ENCODING_PROPERTY |
static String |
EXTRACT_LOCATION_PROPERTY |
Constructor and Description |
---|
ZipUploadDialogAction(T definition,
info.magnolia.commands.CommandsManager commandsManager,
EditorValidator validator,
EditorCallback callback,
com.vaadin.data.Item item)
Deprecated.
|
ZipUploadDialogAction(T definition,
info.magnolia.commands.CommandsManager commandsManager,
EditorValidator validator,
EditorCallback callback,
com.vaadin.data.Item item,
info.magnolia.jcr.util.NodeNameHelper nodeNameHelper,
info.magnolia.event.EventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
protected void |
setNodeName(JcrNodeAdapter parent,
JcrNodeAdapter importNode)
Deprecated.
since 5.4.13 - use
getZipFolderName(JcrNodeAdapter) and AbstractJcrNodeAdapter.setNodeName(String) instead. |
getDefinition
public static final String ENCODING_PROPERTY
public static final String EXTRACT_LOCATION_PROPERTY
@Inject public ZipUploadDialogAction(T definition, info.magnolia.commands.CommandsManager commandsManager, EditorValidator validator, EditorCallback callback, com.vaadin.data.Item item, info.magnolia.jcr.util.NodeNameHelper nodeNameHelper, @Named(value="admincentral") info.magnolia.event.EventBus eventBus)
@Deprecated public ZipUploadDialogAction(T definition, info.magnolia.commands.CommandsManager commandsManager, EditorValidator validator, EditorCallback callback, com.vaadin.data.Item item)
ZipUploadDialogAction(ZipUploadActionDefinition, CommandsManager, EditorValidator, EditorCallback, Item, NodeNameHelper, EventBus)
instead.public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the action@Deprecated protected void setNodeName(JcrNodeAdapter parent, JcrNodeAdapter importNode) throws javax.jcr.RepositoryException
getZipFolderName(JcrNodeAdapter)
and AbstractJcrNodeAdapter.setNodeName(String)
instead.javax.jcr.RepositoryException
Copyright © 2017 Magnolia International Ltd.. All rights reserved.