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>
public class CMSNavigationEntryItemPopulator extends CMSItemDropdownComponentTypeAttributePopulator
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 Constructor Description CMSNavigationEntryItemPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<java.lang.String,java.lang.String>getComponentParams(java.lang.Class<?> type, ComponentTypeAttributeData target)protected java.util.Map<java.lang.String,java.lang.String>getComponentSubTypes(java.lang.Class<?> type)This method retrieves a map of concrete subtypes of the provided type.protected java.util.List<java.lang.String>getTypeCodes()voidsetTypeCodes(java.util.List<java.lang.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
-
-
-
-
Method Detail
-
getComponentParams
protected java.util.Map<java.lang.String,java.lang.String> getComponentParams(java.lang.Class<?> type, ComponentTypeAttributeData target)- Overrides:
getComponentParamsin classCMSItemDropdownComponentTypeAttributePopulator
-
getComponentSubTypes
protected java.util.Map<java.lang.String,java.lang.String> getComponentSubTypes(java.lang.Class<?> type)
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
public void setTypeCodes(java.util.List<java.lang.String> typeCodes)
-
getTypeCodes
protected java.util.List<java.lang.String> getTypeCodes()
-
-