Class CmsHistorySettings


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

    Since:
    6.9.1
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMode()
      Returns the mode how the deleted resource history is kept.
      int getVersions()
      Returns the number of versions to keep.
      void setMode​(int mode)
      Sets the how the deleted resource history is kept.
      void setVersions​(int versions)
      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

      • CmsHistorySettings

        public CmsHistorySettings()
        Default constructor initializing values.

    • Method Detail

      • 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