Class I18nComponentTypePopulator
java.lang.Object
de.hybris.platform.cmsfacades.types.populator.I18nComponentTypePopulator
- All Implemented Interfaces:
Populator<ComposedTypeModel,ComponentTypeData>
public class I18nComponentTypePopulator
extends Object
implements Populator<ComposedTypeModel,ComponentTypeData>
This populator will populate
ComponentTypeAttributeData.setI18nKey(String)
using the following nomenclature:
[prefix].[item type].[suffix]
The I18N key nomenclature is made up of the following chunks:
- prefix: a string provided via spring injection to help
- suffix: a string provided via spring injection to help
- item type: the platform type code that the given attribute belongs to
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
I18nComponentTypePopulator
public I18nComponentTypePopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<ComposedTypeModel,ComponentTypeData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getPrefix
-
setPrefix
-
getSuffix
-
setSuffix
-