Interface CMSVersionGCDao
-
- All Known Implementing Classes:
DefaultCMSVersionGCDao
public interface CMSVersionGCDaoProvide data for CMS version garbage collection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<CMSVersionModel>findRetainableVersions(java.util.Date maxAgeDate)Returns all cms versions that are either marked as retain TRUE or have a valid non-null label and were created after maxAgeDate
-
-
-
Method Detail
-
findRetainableVersions
java.util.List<CMSVersionModel> findRetainableVersions(java.util.Date maxAgeDate)
Returns all cms versions that are either marked as retain TRUE or have a valid non-null label and were created after maxAgeDate- Parameters:
maxAgeDate- the max age that a cms version should be retained. If maxAgeDate is null then this param is ignored.- Returns:
- The list of retainable cms versions
-
-