Class ComponentForCatalogVersionAttributePresetHandler

java.lang.Object
de.hybris.platform.cms2.cloning.service.preset.impl.ComponentForCatalogVersionAttributePresetHandler
All Implemented Interfaces:
AttributePresetHandler<CatalogVersionModel>, BiPredicate<ItemModel,String>, Supplier<CatalogVersionModel>

public class ComponentForCatalogVersionAttributePresetHandler extends Object implements AttributePresetHandler<CatalogVersionModel>
Predicate to test if the CATALOGVERSION qualifier of the AbstractCMSComponentModel component has a preset value during the deep cloning process.

When the expression evaluates to TRUE, the deep cloning process will detect that a new preset value (e.g. CATALOGVERSION) needs to be generated for the qualifier of the component and the process will call #get() to retrieve the generated preset value.