Class AbstractCMSItemPopulator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.populators.AbstractCMSItemPopulator
- Direct Known Subclasses:
CMSComponentChildrenModelToDataAttributePopulator,CMSItemCloneableModelToDataAttributePopulator,CmsItemDefaultAttributesPopulator,CMSItemLinkToggleModelToDataAttributePopulator,CMSItemPageModelToDataAttributePopulator,CMSItemUniqueIdentifierAttributePopulator
public abstract class AbstractCMSItemPopulator
extends Object
implements Populator<ItemModel,Map<String,Object>>
Abstract populator that validates whether the attribute is allowed by
CMSItemAttributeFilterEnablerService or not.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisAttributeAllowed(ItemModel source, String attribute) Verifies whether the attribute can be returned.voidsetCmsItemAttributeFilterEnablerService(CMSItemAttributeFilterEnablerService cmsItemAttributeFilterEnablerService)
-
Constructor Details
-
AbstractCMSItemPopulator
public AbstractCMSItemPopulator()
-
-
Method Details
-
isAttributeAllowed
Verifies whether the attribute can be returned.- Parameters:
source- the source objectattribute- the attribute- Returns:
- true if possible, false otherwise.
-
getCmsItemAttributeFilterEnablerService
-
setCmsItemAttributeFilterEnablerService
public void setCmsItemAttributeFilterEnablerService(CMSItemAttributeFilterEnablerService cmsItemAttributeFilterEnablerService)
-