Class CloneContentSlotPopulator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.populators.CloneContentSlotPopulator
public class CloneContentSlotPopulator
extends Object
implements Populator<Map<String,Object>,ItemModel>
CloneContentSlot populator for cmsfacades used to clone a ContentSlot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CloneActiongetCloneAction(Map<String, Object> source) Retrieves the CloneAction object from the source map.protected ContentSlotCloningStrategyprotected UniqueItemIdentifierServicevoidPopulate the target instance with values from the source instance.voidsetContentSlotCloningStrategy(ContentSlotCloningStrategy contentSlotCloningStrategy) voidsetRelationBetweenComponentsService(RelationBetweenComponentsService relationBetweenComponentsService) voidsetUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService)
-
Constructor Details
-
CloneContentSlotPopulator
public CloneContentSlotPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance. -
getCloneAction
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
-
setContentSlotCloningStrategy
-
getUniqueItemIdentifierService
-
setUniqueItemIdentifierService
-
getRelationBetweenComponentsService
-
setRelationBetweenComponentsService
public void setRelationBetweenComponentsService(RelationBetweenComponentsService relationBetweenComponentsService)
-