public class RestorePreviousVersionAction extends AbstractAction<RestorePreviousVersionActionDefinition>
Constructor and Description |
---|
RestorePreviousVersionAction(RestorePreviousVersionActionDefinition definition,
AbstractJcrNodeAdapter nodeItemToEdit,
LocationController locationController,
info.magnolia.cms.core.version.VersionManager versionManager,
SubAppContext subAppContext,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
getDefinition
@Inject public RestorePreviousVersionAction(RestorePreviousVersionActionDefinition definition, AbstractJcrNodeAdapter nodeItemToEdit, LocationController locationController, info.magnolia.cms.core.version.VersionManager versionManager, SubAppContext subAppContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionCopyright © 2015 Magnolia International Ltd.. All rights reserved.