Class CmsHistoryClear


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

    Since:
    6.9.1
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsHistoryClear()
      Default constructor initializing values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClearDeletedMode()
      Returns the clear deleted mode.
      long getClearOlderThan()
      Returns the date versions older than will be cleared.
      int getKeepVersions()
      Returns the number of versions to keep.
      void setClearDeletedMode​(java.lang.String clearDeletedMode)
      Sets the clear deleted mode.
      void setClearOlderThan​(long clearOlderThan)
      Sets the date versions older than will be cleared.
      void setKeepVersions​(int keepVersions)
      Sets the number of versions to keep.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsHistoryClear

        public CmsHistoryClear()
        Default constructor initializing values.

    • Method Detail

      • 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

        public java.lang.String getClearDeletedMode()
        Returns the clear deleted mode.

        Returns:
        the clear deleted mode
      • setClearDeletedMode

        public void setClearDeletedMode​(java.lang.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