Interface I_CmsHistoryActionHandler
public interface I_CmsHistoryActionHandler
Interface for classes which implement the actions that can be triggered from the history dialog.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
revert
(org.opencms.gwt.shared.CmsHistoryResourceBean historyRes) Reverts a resource to a given historical state.void
setPostRevertAction
(Runnable action) Sets the action which should be executed after reverting the resource.void
showPreview
(org.opencms.gwt.shared.CmsHistoryResourceBean historyRes) Show the preview for a given historical resource.
-
Method Details
-
setPostRevertAction
Sets the action which should be executed after reverting the resource.- Parameters:
action
- the action