Class ComponentForParentsAttributePresetHandler

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

public class ComponentForParentsAttributePresetHandler extends Object implements AttributePresetHandler<AbstractCMSComponentModel>
Predicate to test if the PARENTS 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 NULL preset value (e.g. PARENTS) needs to be generated for the qualifier of the component and the process will call #get() to retrieve the generated preset value.