Interface CMSVersionGCDao
-
- All Known Implementing Classes:
DefaultCMSVersionGCDao
public interface CMSVersionGCDao
The interface for dealing with objects pertaining toCMSVersionGCProcessModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResult<CMSVersionModel>
findAllExcludedBy(java.util.Collection<CMSVersionModel> excludedVersions, PageableData pageableData)
Returns all cms versions omitting the excludedVersionsjava.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
-
findAllExcludedBy
SearchResult<CMSVersionModel> findAllExcludedBy(java.util.Collection<CMSVersionModel> excludedVersions, PageableData pageableData)
Returns all cms versions omitting the excludedVersions- Parameters:
excludedVersions
- the cms versions to exclude from the resulting listpageableData
- the pagination object- Returns:
- the search result object containing the resulting list and the pagination object.
-
-