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 Type
    Method
    Description
    void
    revert(org.opencms.gwt.shared.CmsHistoryResourceBean historyRes)
    Reverts a resource to a given historical state.
    void
    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

    • 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

      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