public class RestoreJcrVersionAction extends CloseAction<RestoreJcrVersionActionDefinition>
Constructor and Description |
---|
RestoreJcrVersionAction(RestoreJcrVersionActionDefinition definition,
CloseHandler closeHandler,
FormView<javax.jcr.Node> form,
ValueContext<javax.jcr.Node> valueContext,
info.magnolia.cms.core.version.VersionManager versionManager) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
getDefinition
@Inject public RestoreJcrVersionAction(RestoreJcrVersionActionDefinition definition, CloseHandler closeHandler, FormView<javax.jcr.Node> form, ValueContext<javax.jcr.Node> valueContext, info.magnolia.cms.core.version.VersionManager versionManager)
public void execute() throws ActionExecutionException
Action
execute
in interface Action
execute
in class CloseAction<RestoreJcrVersionActionDefinition>
ActionExecutionException
- if an error occurs performing the actionCopyright © 2020 Magnolia International Ltd.. All rights reserved.