Interface CMSVersionGCDao

  • All Known Implementing Classes:
    DefaultCMSVersionGCDao

    public interface CMSVersionGCDao
    Provide data for CMS version garbage collection
    • 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