Interface I_CmsHistoryActionHandler


  • public interface I_CmsHistoryActionHandler
    Interface for classes which implement the actions that can be triggered from the history dialog.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void revert​(org.opencms.gwt.shared.CmsHistoryResourceBean historyRes)
      Reverts a resource to a given historical state.
      void setPostRevertAction​(java.lang.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 Detail

      • revert

        void revert​(org.opencms.gwt.shared.CmsHistoryResourceBean historyRes)
        Reverts a resource to a given historical state.

        Parameters:
        historyRes - the historical resource to which the resource should be reverted
      • setPostRevertAction

        void setPostRevertAction​(java.lang.Runnable action)
        Sets the action which should be executed after reverting the resource.

        Parameters:
        action - the action
      • showPreview

        void showPreview​(org.opencms.gwt.shared.CmsHistoryResourceBean historyRes)
        Show the preview for a given historical resource.

        Parameters:
        historyRes - the history resource