Class DefaultAttributePopulatorsProvider
java.lang.Object
de.hybris.platform.cmsfacades.types.service.impl.DefaultAttributePopulatorsProvider
- All Implemented Interfaces:
AttributePopulatorsProvider,org.springframework.beans.factory.InitializingBean
public class DefaultAttributePopulatorsProvider
extends Object
implements AttributePopulatorsProvider, org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmerge the registry overrides into the attributePredicatePopulatorListMapgetAttributePopulators(AttributeDescriptorModel attributeDescriptor) Given an attribute descriptor model, return the list of Populators for this attribute type defined in the configuration map.protected Map<Predicate<AttributeDescriptorModel>,List<Populator<AttributeDescriptorModel, ComponentTypeAttributeData>>> protected ComponentTypeStructureRegistryvoidsetAttributePredicatePopulatorListMap(Map<Predicate<AttributeDescriptorModel>, List<Populator<AttributeDescriptorModel, ComponentTypeAttributeData>>> attributePredicatePopulatorListMap) voidsetComponentTypeStructureRegistry(ComponentTypeStructureRegistry componentTypeStructureRegistry)
-
Constructor Details
-
DefaultAttributePopulatorsProvider
public DefaultAttributePopulatorsProvider()
-
-
Method Details
-
afterPropertiesSet
merge the registry overrides into the attributePredicatePopulatorListMap- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getAttributePopulators
public List<Populator<AttributeDescriptorModel,ComponentTypeAttributeData>> getAttributePopulators(AttributeDescriptorModel attributeDescriptor) Description copied from interface:AttributePopulatorsProviderGiven an attribute descriptor model, return the list of Populators for this attribute type defined in the configuration map.- Specified by:
getAttributePopulatorsin interfaceAttributePopulatorsProvider- Parameters:
attributeDescriptor- the attribute that will be tested to look for populators.- Returns:
- the list of populators.
-
getAttributePredicatePopulatorListMap
protected Map<Predicate<AttributeDescriptorModel>,List<Populator<AttributeDescriptorModel, getAttributePredicatePopulatorListMap()ComponentTypeAttributeData>>> -
setAttributePredicatePopulatorListMap
public void setAttributePredicatePopulatorListMap(Map<Predicate<AttributeDescriptorModel>, List<Populator<AttributeDescriptorModel, ComponentTypeAttributeData>>> attributePredicatePopulatorListMap) -
setComponentTypeStructureRegistry
public void setComponentTypeStructureRegistry(ComponentTypeStructureRegistry componentTypeStructureRegistry) -
getComponentTypeStructureRegistry
-