Class ProductCacheContainerPopulator
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.cps.populator.impl.ProductCacheContainerPopulator
-
- All Implemented Interfaces:
Populator<CPSMasterDataProduct,CPSMasterDataProductContainer>
public class ProductCacheContainerPopulator extends java.lang.Object implements Populator<CPSMasterDataProduct,CPSMasterDataProductContainer>
Populates product master data cache during cache load. See alsoKnowledgeBaseContainerCacheValueLoader.
-
-
Constructor Summary
Constructors Constructor Description ProductCacheContainerPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Converter<CPSMasterDataCharacteristicSpecific,CPSMasterDataCharacteristicSpecificContainer>getCharacteristicSpecificConverter()voidpopulate(CPSMasterDataProduct source, CPSMasterDataProductContainer target)Populate the target instance with values from the source instance.protected voidpopulateCharacteristicGroups(CPSMasterDataProduct source, CPSMasterDataProductContainer target)protected voidpopulateCharacteristicsSpecific(CPSMasterDataProduct source, CPSMasterDataProductContainer target)protected voidpopulateCoreAttributes(CPSMasterDataProduct source, CPSMasterDataProductContainer target)voidsetCharacteristicSpecificConverter(Converter<CPSMasterDataCharacteristicSpecific,CPSMasterDataCharacteristicSpecificContainer> characteristicSpecificConverter)
-
-
-
Method Detail
-
populate
public void populate(CPSMasterDataProduct source, CPSMasterDataProductContainer target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CPSMasterDataProduct,CPSMasterDataProductContainer>- Parameters:
source- the source objecttarget- the target to fill
-
populateCharacteristicGroups
protected void populateCharacteristicGroups(CPSMasterDataProduct source, CPSMasterDataProductContainer target)
-
populateCharacteristicsSpecific
protected void populateCharacteristicsSpecific(CPSMasterDataProduct source, CPSMasterDataProductContainer target)
-
populateCoreAttributes
protected void populateCoreAttributes(CPSMasterDataProduct source, CPSMasterDataProductContainer target)
-
getCharacteristicSpecificConverter
protected Converter<CPSMasterDataCharacteristicSpecific,CPSMasterDataCharacteristicSpecificContainer> getCharacteristicSpecificConverter()
-
setCharacteristicSpecificConverter
public void setCharacteristicSpecificConverter(Converter<CPSMasterDataCharacteristicSpecific,CPSMasterDataCharacteristicSpecificContainer> characteristicSpecificConverter)
- Parameters:
characteristicSpecificConverter- converter for CPS Cstic specific master data
-
-