Class DefaultAdvancedSearchConfigurationFallbackStrategy
- java.lang.Object
-
- com.hybris.cockpitng.core.config.impl.DefaultAdvancedSearchConfigurationFallbackStrategy
-
- All Implemented Interfaces:
CockpitConfigurationFallbackStrategy<AdvancedSearch>
public class DefaultAdvancedSearchConfigurationFallbackStrategy extends java.lang.Object implements CockpitConfigurationFallbackStrategy<AdvancedSearch>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classDefaultAdvancedSearchConfigurationFallbackStrategy.FieldListNameComparatorProvides fields order by their localized names (ascending).
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDE_HYBRIS_PLATFORM_CORE_PK
-
Constructor Summary
Constructors Constructor Description DefaultAdvancedSearchConfigurationFallbackStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LabelServicegetLabelService()TypeFacadegetTypeFacade()AdvancedSearchloadFallbackConfiguration(ConfigContext context, java.lang.Class<AdvancedSearch> configurationType)Generates and loads a fallback configuration for the given context and configuration type.protected DataTypeloadType(java.lang.String type, ConfigContext context, java.lang.Class<AdvancedSearch> configurationType)voidsetLabelService(LabelService labelService)voidsetTypeFacade(TypeFacade typeFacade)
-
-
-
Field Detail
-
DE_HYBRIS_PLATFORM_CORE_PK
public static final java.lang.String DE_HYBRIS_PLATFORM_CORE_PK
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadFallbackConfiguration
public AdvancedSearch loadFallbackConfiguration(ConfigContext context, java.lang.Class<AdvancedSearch> configurationType)
Description copied from interface:CockpitConfigurationFallbackStrategyGenerates and loads a fallback configuration for the given context and configuration type.- Specified by:
loadFallbackConfigurationin interfaceCockpitConfigurationFallbackStrategy<AdvancedSearch>- 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
-
loadType
protected DataType loadType(java.lang.String type, ConfigContext context, java.lang.Class<AdvancedSearch> configurationType) throws TypeNotFoundException
- Throws:
TypeNotFoundException
-
setTypeFacade
public void setTypeFacade(TypeFacade typeFacade)
-
setLabelService
public void setLabelService(LabelService labelService)
-
getTypeFacade
public TypeFacade getTypeFacade()
-
getLabelService
public LabelService getLabelService()
-
-