Class CMSNavigationEntryItemPopulator
java.lang.Object
de.hybris.platform.cmsfacades.types.populator.CMSItemDropdownComponentTypeAttributePopulator
de.hybris.platform.cmsfacades.cmsitems.populators.CMSNavigationEntryItemPopulator
- All Implemented Interfaces:
Populator<AttributeDescriptorModel,ComponentTypeAttributeData>
Populator that set the CMSNavigationEntry 'params' typeCodes value and the 'subTypes' values from configuration.
The dropdown populate the list by using the attribute "params.typeCodes" value.
The attribute "subTypes" is used when creating a new Component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComponentParams(Class<?> type, ComponentTypeAttributeData target) getComponentSubTypes(Class<?> type) This method retrieves a map of concrete subtypes of the provided type.voidsetTypeCodes(List<String> typeCodes) Methods inherited from class de.hybris.platform.cmsfacades.types.populator.CMSItemDropdownComponentTypeAttributePopulator
getAttributeDescriptorModelHelperService, getComponentTypeDataFactory, getComponentTypeI18nKey, getI18nComponentTypePopulator, getPlaceholder, getSearchParams, getTypeService, populate, setAttributeDescriptorModelHelperService, setComponentTypeDataFactory, setI18nComponentTypePopulator, setPlaceholder, setPlaceholder, setSearchParams, setTypeService
-
Constructor Details
-
CMSNavigationEntryItemPopulator
public CMSNavigationEntryItemPopulator()
-
-
Method Details
-
getComponentParams
- Overrides:
getComponentParamsin classCMSItemDropdownComponentTypeAttributePopulator
-
getComponentSubTypes
Description copied from class:CMSItemDropdownComponentTypeAttributePopulatorThis method retrieves a map of concrete subtypes of the provided type. (If the provided type is concrete it will also be included in the map).- Overrides:
getComponentSubTypesin classCMSItemDropdownComponentTypeAttributePopulator- Parameters:
type- The type for which to retrieve its map of subtypes.- Returns:
- map Map of concrete component subtypes. The key is the code of the sub-type and the value is its i18n key.
-
setTypeCodes
-
getTypeCodes
-