Class AbstractCMSItemPopulator

java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.populators.AbstractCMSItemPopulator
All Implemented Interfaces:
Populator<ItemModel,Map<String,Object>>
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 Details

    • AbstractCMSItemPopulator

      public AbstractCMSItemPopulator()
  • Method Details

    • isAttributeAllowed

      protected boolean isAttributeAllowed(ItemModel source, String attribute)
      Verifies whether the attribute can be returned.
      Parameters:
      source - the source object
      attribute - the attribute
      Returns:
      true if possible, false otherwise.
    • getCmsItemAttributeFilterEnablerService

      public CMSItemAttributeFilterEnablerService getCmsItemAttributeFilterEnablerService()
    • setCmsItemAttributeFilterEnablerService

      public void setCmsItemAttributeFilterEnablerService(CMSItemAttributeFilterEnablerService cmsItemAttributeFilterEnablerService)