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