info.magnolia.pages.app.action
Class PreviewPageAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<PreviewPageActionDefinition>
info.magnolia.pages.app.action.PreviewPageAction
- All Implemented Interfaces:
- Action
public class PreviewPageAction
- extends AbstractAction<PreviewPageActionDefinition>
Opens a preview of the selected page.
Method Summary |
void |
execute()
Executes the action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreviewPageAction
@Inject
public PreviewPageAction(PreviewPageActionDefinition definition,
AbstractJcrNodeAdapter nodeItemToPreview,
LocationController locationController)
- Instantiates a new preview page action.
- Parameters:
definition
- the definitionnodeItemToPreview
- the node to preview
execute
public void execute()
throws ActionExecutionException
- Description copied from interface:
Action
- Executes the action.
- Throws:
ActionExecutionException
- if an error occurs performing the action
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.