Class DefaultCMSVersionCollectRetainableStrategy
java.lang.Object
de.hybris.platform.cms2.version.strategies.impl.DefaultCMSVersionCollectRetainableStrategy
- All Implemented Interfaces:
CMSVersionCollectRetainableStrategy
public class DefaultCMSVersionCollectRetainableStrategy
extends Object
implements CMSVersionCollectRetainableStrategy
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCMSVersionCollectRetainableStrategy(ConfigurationService configurationService, CMSVersionGCService cmsVersionGCService, ModelService modelService) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<CMSVersionModel>getRetainableVersions(int maxAgeInDays, int maxNumberVersions)
-
Constructor Details
-
DefaultCMSVersionCollectRetainableStrategy
public DefaultCMSVersionCollectRetainableStrategy(ConfigurationService configurationService, CMSVersionGCService cmsVersionGCService, ModelService modelService)
-
-
Method Details
-
fetchRetainableVersions
- Specified by:
fetchRetainableVersionsin interfaceCMSVersionCollectRetainableStrategy- Throws:
Exception
-
getRetainableVersions
-