info.magnolia.pages.app.action
Class PreviewPreviousVersionAction

java.lang.Object
  extended by info.magnolia.ui.api.action.AbstractAction<PreviewPreviousVersionActionDefinition>
      extended by info.magnolia.pages.app.action.PreviewPreviousVersionAction
All Implemented Interfaces:
Action

public class PreviewPreviousVersionAction
extends AbstractAction<PreviewPreviousVersionActionDefinition>

Opens a preview of the previous version of the selected page.


Constructor Summary
PreviewPreviousVersionAction(PreviewPreviousVersionActionDefinition definition, AbstractJcrNodeAdapter nodeItemToEdit, LocationController locationController, info.magnolia.cms.core.version.VersionManager versionManager)
           
 
Method Summary
 void execute()
          Executes the action.
 
Methods inherited from class info.magnolia.ui.api.action.AbstractAction
getDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewPreviousVersionAction

@Inject
public PreviewPreviousVersionAction(PreviewPreviousVersionActionDefinition definition,
                                           AbstractJcrNodeAdapter nodeItemToEdit,
                                           LocationController locationController,
                                           info.magnolia.cms.core.version.VersionManager versionManager)
Method Detail

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.