Class DefaultCMSVersionGCDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.cms2.servicelayer.daos.impl.AbstractCMSItemDao
de.hybris.platform.cms2.servicelayer.daos.impl.DefaultCMSVersionGCDao
- All Implemented Interfaces:
CMSVersionGCDao,Dao
Default implementation of
CMSVersionGCDao-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindRetainableVersions(Date maxAgeDate) Returns all cms versions that are either marked as retain TRUE or have a valid non-null label and were created after maxAgeDateMethods inherited from class de.hybris.platform.cms2.servicelayer.daos.impl.AbstractCMSItemDao
buildQuery, findSortQuery, getCmsSortQueryDataRegistry, setCmsSortQueryDataRegistryMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultCMSVersionGCDao
public DefaultCMSVersionGCDao()
-
-
Method Details
-
findRetainableVersions
Description copied from interface:CMSVersionGCDaoReturns all cms versions that are either marked as retain TRUE or have a valid non-null label and were created after maxAgeDate- Specified by:
findRetainableVersionsin interfaceCMSVersionGCDao- 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
-