Class AbstractCMSComponentContentPopulator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.populators.AbstractCMSComponentContentPopulator
public class AbstractCMSComponentContentPopulator
extends Object
implements Populator<Map<String,Object>,ItemModel>
Default implementation to populate an Abstract CMS Component Model.
This populator is specifically defining assigning the AbstractCMSComponent into a ContentSlot in its position.
This is valid for any case where the
slotId and the position attributes are present in the source Map.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CMSAdminContentSlotServiceprotected UniqueItemIdentifierServiceprotected ValidationDtoFactoryvoidPopulate the target instance with values from the source instance.voidsetComponentTypeAllowedForContentSlotPredicate(Predicate<ComponentTypeAndContentSlotValidationDto> componentTypeAllowedForContentSlotPredicate) voidsetContentSlotAdminService(CMSAdminContentSlotService contentSlotAdminService) voidsetRelationBetweenComponentsService(RelationBetweenComponentsService relationBetweenComponentsService) voidsetUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService) voidsetValidationDtoFactory(ValidationDtoFactory validationDtoFactory)
-
Field Details
-
POSITION
- See Also:
-
SLOT_ID
- See Also:
-
PAGE_ID
- See Also:
-
-
Constructor Details
-
AbstractCMSComponentContentPopulator
public AbstractCMSComponentContentPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance. -
getContentSlotAdminService
-
setContentSlotAdminService
-
getUniqueItemIdentifierService
-
setUniqueItemIdentifierService
-
getValidationDtoFactory
-
setValidationDtoFactory
-
getComponentTypeAllowedForContentSlotPredicate
protected Predicate<ComponentTypeAndContentSlotValidationDto> getComponentTypeAllowedForContentSlotPredicate() -
setComponentTypeAllowedForContentSlotPredicate
public void setComponentTypeAllowedForContentSlotPredicate(Predicate<ComponentTypeAndContentSlotValidationDto> componentTypeAllowedForContentSlotPredicate) -
getRelationBetweenComponentsService
-
setRelationBetweenComponentsService
public void setRelationBetweenComponentsService(RelationBetweenComponentsService relationBetweenComponentsService)
-