Class CmsHistoryClear
java.lang.Object
org.opencms.workplace.tools.history.CmsHistoryClear
Bean to store the entries made by the user in the History Clear form in the
administration view.
- Since:
- 6.9.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the clear deleted mode.long
Returns the date versions older than will be cleared.int
Returns the number of versions to keep.void
setClearDeletedMode
(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.
-
Constructor Details
-
CmsHistoryClear
public CmsHistoryClear()Default constructor initializing values.
-
-
Method Details
-
getClearOlderThan
Returns the date versions older than will be cleared.- Returns:
- the date versions older than will be cleared
-
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
Sets the clear deleted mode.- Parameters:
clearDeletedMode
- the clear deleted mode
-
setClearOlderThan
Sets the date versions older than will be cleared.- Parameters:
clearOlderThan
- the date versions older than will be cleared
-
setKeepVersions
Sets the number of versions to keep.- Parameters:
keepVersions
- the number of versions to keep
-