Class DefaultBaseConfiguration
- java.lang.Object
-
- de.hybris.platform.cockpit.services.config.impl.DefaultBaseConfiguration
-
- All Implemented Interfaces:
BaseConfiguration,UIComponentConfiguration
public class DefaultBaseConfiguration extends java.lang.Object implements BaseConfiguration
-
-
Constructor Summary
Constructors Constructor Description DefaultBaseConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<DefaultPropertySettings>getAllDefaultPropertySettings()Provides all default settings configured for the type represented by thisBaseConfigurationinstance.java.util.List<DefaultPropertySettings>getBaseProperties()Provides default settings for base properties of the type represented by thisBaseConfigurationinstance.DefaultPropertySettingsgetDefaultPropertySettings(PropertyDescriptor propertyDescriptor)Returns default property settings for a property of the type represented by thisBaseConfigurationinstance.InitialPropertyConfigurationgetInitialPropertyConfiguration(ObjectTemplate objectTemplate, TypeService typeService)ObjectLabelProvidergetObjectLabelProvider()SearchTypegetSearchType()voidsetDeclaredPropertySettings(java.util.List<DefaultPropertySettings> declaredPropertySettings)voidsetInitialPropertyConfigurations(java.util.List<InitialPropertyConfiguration> initialPropertyConfigurations)voidsetObjectLabelProvider(ObjectLabelProvider objectLabelProvider)voidsetSearchType(SearchType searchType)
-
-
-
Method Detail
-
setSearchType
public void setSearchType(SearchType searchType)
-
getSearchType
public SearchType getSearchType()
- Specified by:
getSearchTypein interfaceBaseConfiguration
-
setObjectLabelProvider
public void setObjectLabelProvider(ObjectLabelProvider objectLabelProvider)
-
getObjectLabelProvider
public ObjectLabelProvider getObjectLabelProvider()
- Specified by:
getObjectLabelProviderin interfaceBaseConfiguration
-
getInitialPropertyConfiguration
public InitialPropertyConfiguration getInitialPropertyConfiguration(ObjectTemplate objectTemplate, TypeService typeService)
- Specified by:
getInitialPropertyConfigurationin interfaceBaseConfiguration
-
setInitialPropertyConfigurations
public void setInitialPropertyConfigurations(java.util.List<InitialPropertyConfiguration> initialPropertyConfigurations)
-
getBaseProperties
public java.util.List<DefaultPropertySettings> 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
public java.util.List<DefaultPropertySettings> 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
public DefaultPropertySettings getDefaultPropertySettings(PropertyDescriptor propertyDescriptor)
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
public void setDeclaredPropertySettings(java.util.List<DefaultPropertySettings> declaredPropertySettings)
-
-