Class DefaultEditorAreaConfigFallbackStrategy
- java.lang.Object
-
- com.hybris.cockpitng.core.config.impl.AbstractCockpitConfigurationFallbackStrategy<EditorArea>
-
- com.hybris.cockpitng.core.config.impl.DefaultEditorAreaConfigFallbackStrategy
-
- All Implemented Interfaces:
CockpitConfigurationFallbackStrategy<EditorArea>
public class DefaultEditorAreaConfigFallbackStrategy extends AbstractCockpitConfigurationFallbackStrategy<EditorArea>
Provides a default configuration if no configuration is provided via cockpit configuration XML.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringHMC_UNBOUNDstatic java.lang.StringUNBOUND_SECTION_RENDERER_BEAN_ID-
Fields inherited from class com.hybris.cockpitng.core.config.impl.AbstractCockpitConfigurationFallbackStrategy
INITIAL, MANDATORY, OTHER, UNIQUE
-
-
Constructor Summary
Constructors Constructor Description DefaultEditorAreaConfigFallbackStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditorArealoadFallbackConfiguration(ConfigContext context, java.lang.Class<EditorArea> configurationType)Generates and loads a fallback configuration for the given context and configuration type.-
Methods inherited from class com.hybris.cockpitng.core.config.impl.AbstractCockpitConfigurationFallbackStrategy
getAttributes, getMandatoryAttributes, getTypeFacade, getUniqueAttributes, loadType, setTypeFacade
-
-
-
-
Field Detail
-
HMC_UNBOUND
public static final java.lang.String HMC_UNBOUND
- See Also:
- Constant Field Values
-
UNBOUND_SECTION_RENDERER_BEAN_ID
public static final java.lang.String UNBOUND_SECTION_RENDERER_BEAN_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadFallbackConfiguration
public EditorArea loadFallbackConfiguration(ConfigContext context, java.lang.Class<EditorArea> configurationType)
Description copied from interface:CockpitConfigurationFallbackStrategyGenerates and loads a fallback configuration for the given context and configuration type.- Parameters:
context- configuration contextconfigurationType- type of configuration to be loaded- Returns:
- created fallback configuration or null if the strategy can not create a fallback configuration for the given context and type
-
-