Class CMSVersionModelItemDataPopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.uniqueidentifier.populator.CMSVersionModelItemDataPopulator
-
- All Implemented Interfaces:
Populator<CMSVersionModel,ItemData>
public class CMSVersionModelItemDataPopulator extends java.lang.Object implements Populator<CMSVersionModel,ItemData>
Populates the ItemData object with the CMSVersion model as the source.
-
-
Constructor Summary
Constructors Constructor Description CMSVersionModelItemDataPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetUniqueIdentifier(CMSVersionModel cmsVersionModel)Returns the unique identifier using the encoded compose key class.voidpopulate(CMSVersionModel source, ItemData target)Populate the target instance with values from the source instance.
-
-
-
Method Detail
-
populate
public void populate(CMSVersionModel source, ItemData target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CMSVersionModel,ItemData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getUniqueIdentifier
protected java.lang.String getUniqueIdentifier(CMSVersionModel cmsVersionModel)
Returns the unique identifier using the encoded compose key class. See more details hereEncodedItemComposedKey.- Parameters:
cmsVersionModel- the cms version model we want to extract the unique identifier.- Returns:
- the encoded unique identifier.
- See Also:
EncodedItemComposedKey
-
-