public class PasteContentAction extends AbstractAction<PasteContentActionDefinition>
Constructor and Description |
---|
PasteContentAction(PasteContentActionDefinition definition,
JcrItemAdapter destination,
ContentClipboard contentClipboard,
UiContext uiContext,
info.magnolia.event.EventBus eventBus,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
protected ContentClipboard |
getContentClipboard() |
protected JcrItemAdapter |
getDestination() |
protected info.magnolia.event.EventBus |
getEventBus() |
protected info.magnolia.i18nsystem.SimpleTranslator |
getI18n() |
protected UiContext |
getUiContext() |
getDefinition
@Inject public PasteContentAction(PasteContentActionDefinition definition, JcrItemAdapter destination, ContentClipboard contentClipboard, UiContext uiContext, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, info.magnolia.i18nsystem.SimpleTranslator i18n)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionprotected JcrItemAdapter getDestination()
protected ContentClipboard getContentClipboard()
protected UiContext getUiContext()
protected info.magnolia.event.EventBus getEventBus()
protected info.magnolia.i18nsystem.SimpleTranslator getI18n()
Copyright © 2016 Magnolia International Ltd.. All rights reserved.