Class CloneContentSlotPopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.cmsitems.populators.CloneContentSlotPopulator
-
-
Constructor Summary
Constructors Constructor Description CloneContentSlotPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CloneActiongetCloneAction(java.util.Map<java.lang.String,java.lang.Object> source)Retrieves the CloneAction object from the source map.protected ContentSlotCloningStrategygetContentSlotCloningStrategy()RelationBetweenComponentsServicegetRelationBetweenComponentsService()protected UniqueItemIdentifierServicegetUniqueItemIdentifierService()voidpopulate(java.util.Map<java.lang.String,java.lang.Object> source, ItemModel itemModel)Populate the target instance with values from the source instance.voidsetContentSlotCloningStrategy(ContentSlotCloningStrategy contentSlotCloningStrategy)voidsetRelationBetweenComponentsService(RelationBetweenComponentsService relationBetweenComponentsService)voidsetUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService)
-
-
-
Method Detail
-
populate
public void populate(java.util.Map<java.lang.String,java.lang.Object> source, ItemModel itemModel) throws ConversionExceptionDescription copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<java.util.Map<java.lang.String,java.lang.Object>,ItemModel>- Parameters:
source- the source objectitemModel- the target to fill- Throws:
ConversionException- if an error occurs
-
getCloneAction
protected CloneAction getCloneAction(java.util.Map<java.lang.String,java.lang.Object> source)
Retrieves the CloneAction object from the source map.- Parameters:
source- the source map of the new slot- Returns:
- the CloneAction that defined what to do with components inside the slot, null if the value can not be retrieved.
-
getContentSlotCloningStrategy
protected ContentSlotCloningStrategy getContentSlotCloningStrategy()
-
setContentSlotCloningStrategy
public void setContentSlotCloningStrategy(ContentSlotCloningStrategy contentSlotCloningStrategy)
-
getUniqueItemIdentifierService
protected UniqueItemIdentifierService getUniqueItemIdentifierService()
-
setUniqueItemIdentifierService
public void setUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService)
-
getRelationBetweenComponentsService
public RelationBetweenComponentsService getRelationBetweenComponentsService()
-
setRelationBetweenComponentsService
public void setRelationBetweenComponentsService(RelationBetweenComponentsService relationBetweenComponentsService)
-
-