D
- ConfirmationActionDefinition
.@Deprecated public class ConfirmationAction<D extends ConfirmationActionDefinition> extends AbstractAction<D>
Constructor and Description |
---|
ConfirmationAction(D definition,
com.vaadin.v7.data.Item item,
UiContext uiContext,
ActionExecutor actionExecutor,
info.magnolia.i18nsystem.SimpleTranslator i18n,
ContentConnector contentConnector)
Deprecated.
|
ConfirmationAction(D definition,
List<? extends com.vaadin.v7.data.Item> items,
UiContext uiContext,
ActionExecutor actionExecutor,
info.magnolia.i18nsystem.SimpleTranslator i18n,
ContentConnector contentConnector)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Deprecated.
Executes the action.
|
protected String |
getConfirmationHeader()
Deprecated.
|
protected String |
getConfirmationMessage()
Deprecated.
|
protected com.vaadin.v7.data.Item |
getItem()
Deprecated.
|
protected List<? extends com.vaadin.v7.data.Item> |
getItems()
Deprecated.
|
protected String |
getListOfItemPaths()
Deprecated.
|
protected info.magnolia.i18nsystem.SimpleTranslator |
getSimpleTranslator()
Deprecated.
|
protected void |
onError(Exception e)
Deprecated.
Class that implement CommansActionBase should use
this in order to perform tasks or notification in case of error.
|
getDefinition
public ConfirmationAction(D definition, com.vaadin.v7.data.Item item, UiContext uiContext, ActionExecutor actionExecutor, info.magnolia.i18nsystem.SimpleTranslator i18n, ContentConnector contentConnector)
@Inject public ConfirmationAction(D definition, List<? extends com.vaadin.v7.data.Item> items, UiContext uiContext, ActionExecutor actionExecutor, info.magnolia.i18nsystem.SimpleTranslator i18n, ContentConnector contentConnector)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionprotected String getConfirmationHeader() throws Exception
Exception
protected String getConfirmationMessage() throws Exception
Exception
protected String getListOfItemPaths()
protected void onError(Exception e)
protected com.vaadin.v7.data.Item getItem()
protected List<? extends com.vaadin.v7.data.Item> getItems()
protected info.magnolia.i18nsystem.SimpleTranslator getSimpleTranslator()
Copyright © 2021 Magnolia International Ltd.. All rights reserved.