Class CmsHistoryClear

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

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

Since:
6.9.1
  • Constructor Details

    • CmsHistoryClear

      public CmsHistoryClear()
      Default constructor initializing values.

  • Method Details

    • getClearOlderThan

      public long getClearOlderThan()
      Returns the date versions older than will be cleared.

      Returns:
      the date versions older than will be cleared
    • getKeepVersions

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

      Returns:
      the number of versions to keep
    • getClearDeletedMode

      Returns the clear deleted mode.

      Returns:
      the clear deleted mode
    • setClearDeletedMode

      public void setClearDeletedMode(String clearDeletedMode)
      Sets the clear deleted mode.

      Parameters:
      clearDeletedMode - the clear deleted mode
    • setClearOlderThan

      public void setClearOlderThan(long clearOlderThan)
      Sets the date versions older than will be cleared.

      Parameters:
      clearOlderThan - the date versions older than will be cleared
    • setKeepVersions

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

      Parameters:
      keepVersions - the number of versions to keep