Class DefaultItemTypePopulatorProvider
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.impl.DefaultItemTypePopulatorProvider
- All Implemented Interfaces:
ItemTypePopulatorProvider
Default implementation for
ItemTypePopulatorProvider.
This class defines a Map that is used to lookup for a Populator given a typeCode.
If no populator was found for the type code, then it looks for the populator for its super class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItemTypePopulator(String typeCode) Interface method to optionally return aPopulatorgiven the typeCode.protected TypeServicevoidvoidsetTypeService(TypeService typeService)
-
Constructor Details
-
DefaultItemTypePopulatorProvider
public DefaultItemTypePopulatorProvider()
-
-
Method Details
-
getItemTypePopulator
Description copied from interface:ItemTypePopulatorProviderInterface method to optionally return aPopulatorgiven the typeCode.- Specified by:
getItemTypePopulatorin interfaceItemTypePopulatorProvider- Parameters:
typeCode- the ItemModel type code- Returns:
- the Populator registered for the typeCode.
-
getPopulatorsMap
-
setPopulatorsMap
-
getTypeService
-
setTypeService
-