Class DefaultBaseConfiguration
java.lang.Object
de.hybris.platform.cockpit.services.config.impl.DefaultBaseConfiguration
- All Implemented Interfaces:
BaseConfiguration,UIComponentConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides all default settings configured for the type represented by thisBaseConfigurationinstance.Provides default settings for base properties of the type represented by thisBaseConfigurationinstance.getDefaultPropertySettings(PropertyDescriptor propertyDescriptor) Returns default property settings for a property of the type represented by thisBaseConfigurationinstance.getInitialPropertyConfiguration(ObjectTemplate objectTemplate, TypeService typeService) voidsetDeclaredPropertySettings(List<DefaultPropertySettings> declaredPropertySettings) voidsetInitialPropertyConfigurations(List<InitialPropertyConfiguration> initialPropertyConfigurations) voidsetObjectLabelProvider(ObjectLabelProvider objectLabelProvider) voidsetSearchType(SearchType searchType)
-
Constructor Details
-
DefaultBaseConfiguration
public DefaultBaseConfiguration()
-
-
Method Details
-
setSearchType
-
getSearchType
- Specified by:
getSearchTypein interfaceBaseConfiguration
-
setObjectLabelProvider
-
getObjectLabelProvider
- Specified by:
getObjectLabelProviderin interfaceBaseConfiguration
-
getInitialPropertyConfiguration
public InitialPropertyConfiguration getInitialPropertyConfiguration(ObjectTemplate objectTemplate, TypeService typeService) - Specified by:
getInitialPropertyConfigurationin interfaceBaseConfiguration
-
setInitialPropertyConfigurations
public void setInitialPropertyConfigurations(List<InitialPropertyConfiguration> initialPropertyConfigurations) -
getBaseProperties
Description copied from interface:BaseConfigurationProvides default settings for base properties of the type represented by thisBaseConfigurationinstance. The order of elements in the returned list corresponds to the order of configuration entries.- Specified by:
getBasePropertiesin interfaceBaseConfiguration- Returns:
- a list of default settings configured with baseProperty=true, or an empty list if no such default settings are configured for the type.
-
getAllDefaultPropertySettings
Description copied from interface:BaseConfigurationProvides all default settings configured for the type represented by thisBaseConfigurationinstance. The order of elements in the returned list corresponds to the order of configuration entries.- Specified by:
getAllDefaultPropertySettingsin interfaceBaseConfiguration- Returns:
- a list of all configured default settings, or an empty list if no default settings are configured for the type.
-
getDefaultPropertySettings
Description copied from interface:BaseConfigurationReturns default property settings for a property of the type represented by thisBaseConfigurationinstance.- Specified by:
getDefaultPropertySettingsin interfaceBaseConfiguration- Parameters:
propertyDescriptor- property descriptor of a property for which the default property settings is returned.- Returns:
- default property settings for the property or null if no configuration entry exists for the property.
-
setDeclaredPropertySettings
-