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:
info.magnolia.ui.api.action.Action

public class PreviewPreviousVersionAction
extends info.magnolia.ui.api.action.AbstractAction<PreviewPreviousVersionActionDefinition>

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


Constructor Summary
PreviewPreviousVersionAction(PreviewPreviousVersionActionDefinition definition, info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter nodeItemToEdit, info.magnolia.ui.api.location.LocationController locationController, info.magnolia.cms.core.version.VersionManager versionManager)
           
 
Method Summary
 void execute()
           
 
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,
                                           info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter nodeItemToEdit,
                                           info.magnolia.ui.api.location.LocationController locationController,
                                           info.magnolia.cms.core.version.VersionManager versionManager)
Method Detail

execute

public void execute()
             throws info.magnolia.ui.api.action.ActionExecutionException
Throws:
info.magnolia.ui.api.action.ActionExecutionException


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.