public class CopyContentAction extends AbstractAction<CopyContentActionDefinition>
Constructor and Description |
---|
CopyContentAction(CopyContentActionDefinition definition,
List<JcrItemAdapter> source,
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 info.magnolia.event.EventBus |
getEventBus() |
protected info.magnolia.i18nsystem.SimpleTranslator |
getI18n() |
protected List<JcrItemAdapter> |
getSource() |
protected String |
getSuccessMessage() |
protected UiContext |
getUiContext() |
getDefinition
@Inject public CopyContentAction(CopyContentActionDefinition definition, List<JcrItemAdapter> source, 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 String getSuccessMessage()
protected ContentClipboard getContentClipboard()
protected UiContext getUiContext()
protected info.magnolia.event.EventBus getEventBus()
protected info.magnolia.i18nsystem.SimpleTranslator getI18n()
protected List<JcrItemAdapter> getSource()
Copyright © 2017 Magnolia International Ltd.. All rights reserved.