info.magnolia.pages.app.action
Class RestorePreviousVersionAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<RestorePreviousVersionActionDefinition>
info.magnolia.pages.app.action.RestorePreviousVersionAction
- All Implemented Interfaces:
- info.magnolia.ui.api.action.Action
public class RestorePreviousVersionAction
- extends info.magnolia.ui.api.action.AbstractAction<RestorePreviousVersionActionDefinition>
Restore the previous version of a page and edit it.
Constructor Summary |
RestorePreviousVersionAction(RestorePreviousVersionActionDefinition definition,
info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter nodeItemToEdit,
info.magnolia.ui.api.location.LocationController locationController,
info.magnolia.cms.core.version.VersionManager versionManager,
info.magnolia.ui.api.app.SubAppContext subAppContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
|
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 |
RestorePreviousVersionAction
@Inject
public RestorePreviousVersionAction(RestorePreviousVersionActionDefinition definition,
info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter nodeItemToEdit,
info.magnolia.ui.api.location.LocationController locationController,
info.magnolia.cms.core.version.VersionManager versionManager,
info.magnolia.ui.api.app.SubAppContext subAppContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
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.