Interface CMSVersionGCDao

All Known Implementing Classes:
DefaultCMSVersionGCDao

public interface CMSVersionGCDao
Provide data for CMS version garbage collection
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns all cms versions that are either marked as retain TRUE or have a valid non-null label and were created after maxAgeDate
  • Method Details

    • findRetainableVersions

      List<CMSVersionModel> findRetainableVersions(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