Class CMSVersionModelItemDataPopulator
java.lang.Object
de.hybris.platform.cmsfacades.uniqueidentifier.populator.CMSVersionModelItemDataPopulator
- All Implemented Interfaces:
Populator<CMSVersionModel,ItemData>
public class CMSVersionModelItemDataPopulator
extends Object
implements Populator<CMSVersionModel,ItemData>
Populates the ItemData object with the CMSVersion model as the source.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.
-
Constructor Details
-
CMSVersionModelItemDataPopulator
public CMSVersionModelItemDataPopulator()
-
-
Method Details
-
populate
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
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:
-