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 thisBaseConfiguration
instance.java.util.List<DefaultPropertySettings>
getBaseProperties()
Provides default settings for base properties of the type represented by thisBaseConfiguration
instance.DefaultPropertySettings
getDefaultPropertySettings(PropertyDescriptor propertyDescriptor)
Returns default property settings for a property of the type represented by thisBaseConfiguration
instance.InitialPropertyConfiguration
getInitialPropertyConfiguration(ObjectTemplate objectTemplate, TypeService typeService)
ObjectLabelProvider
getObjectLabelProvider()
SearchType
getSearchType()
void
setDeclaredPropertySettings(java.util.List<DefaultPropertySettings> declaredPropertySettings)
void
setInitialPropertyConfigurations(java.util.List<InitialPropertyConfiguration> initialPropertyConfigurations)
void
setObjectLabelProvider(ObjectLabelProvider objectLabelProvider)
void
setSearchType(SearchType searchType)
-
-
-
Method Detail
-
setSearchType
public void setSearchType(SearchType searchType)
-
getSearchType
public SearchType getSearchType()
- Specified by:
getSearchType
in interfaceBaseConfiguration
-
setObjectLabelProvider
public void setObjectLabelProvider(ObjectLabelProvider objectLabelProvider)
-
getObjectLabelProvider
public ObjectLabelProvider getObjectLabelProvider()
- Specified by:
getObjectLabelProvider
in interfaceBaseConfiguration
-
getInitialPropertyConfiguration
public InitialPropertyConfiguration getInitialPropertyConfiguration(ObjectTemplate objectTemplate, TypeService typeService)
- Specified by:
getInitialPropertyConfiguration
in interfaceBaseConfiguration
-
setInitialPropertyConfigurations
public void setInitialPropertyConfigurations(java.util.List<InitialPropertyConfiguration> initialPropertyConfigurations)
-
getBaseProperties
public java.util.List<DefaultPropertySettings> getBaseProperties()
Description copied from interface:BaseConfiguration
Provides default settings for base properties of the type represented by thisBaseConfiguration
instance. The order of elements in the returned list corresponds to the order of configuration entries.- Specified by:
getBaseProperties
in 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:BaseConfiguration
Provides all default settings configured for the type represented by thisBaseConfiguration
instance. The order of elements in the returned list corresponds to the order of configuration entries.- Specified by:
getAllDefaultPropertySettings
in 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:BaseConfiguration
Returns default property settings for a property of the type represented by thisBaseConfiguration
instance.- Specified by:
getDefaultPropertySettings
in 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)
-
-