Class CmsHistorySettings

java.lang.Object
org.opencms.workplace.tools.history.CmsHistorySettings

public class CmsHistorySettings extends Object
Bean to store the entries made by the user in the History Settings form in the administration view.

Since:
6.9.1
  • Field Details

  • Constructor Details

    • CmsHistorySettings

      Default constructor initializing values.

  • Method Details

    • getMode

      public int getMode()
      Returns the mode how the deleted resource history is kept.

      Returns:
      the mode how the deleted resource history is kept
    • getVersions

      public int getVersions()
      Returns the number of versions to keep.

      Returns:
      the number of versions to keep
    • setMode

      public void setMode(int mode)
      Sets the how the deleted resource history is kept.

      Parameters:
      mode - the mode how the deleted resource history is kept
    • setVersions

      public void setVersions(int versions)
      Sets the number of versions to keep.

      Parameters:
      versions - the number of versions to keep