Class EditorConfigurationFactory
- java.lang.Object
-
- de.hybris.platform.cockpit.services.config.impl.JAXBBasedUIComponentConfigurationFactory<EditorConfiguration,Editor>
-
- de.hybris.platform.cockpit.services.config.impl.EditorConfigurationFactory
-
- All Implemented Interfaces:
BaseFallbackEnabledUIConfigurationFactory<EditorConfiguration>,UIComponentConfigurationFactory,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware
public class EditorConfigurationFactory extends JAXBBasedUIComponentConfigurationFactory<EditorConfiguration,Editor> implements BaseFallbackEnabledUIConfigurationFactory<EditorConfiguration>
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cockpit.services.config.impl.JAXBBasedUIComponentConfigurationFactory
beanFactory, COCKPIT_CONFIG_LABEL_PREFIX, searchService, typeService
-
-
Constructor Summary
Constructors Constructor Description EditorConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditorConfigurationcreateDefault(ObjectTemplate objectTemplate)Creates a default ui component configuration for the given templateEditorConfigurationcreateDefault(ObjectTemplate objectTemplate, BaseConfiguration baseConfiguration)protected EditorSectionConfigurationcreateGroupForProperties(java.util.List<PropertyDescriptor> properties, java.lang.String label)protected EditorSectionConfigurationcreateOthersGroup(java.lang.String name)protected EditorConfigurationcreateUIComponent(ObjectTemplate objectTemplate, ObjectTemplate originalObjectTemplate, Editor xmlEditor)java.lang.ClassgetComponentClass()The class of configurations created by this factoriesUIAccessRightServicegetUiAccessRightService()protected voidregisterCustomSection(EditorSectionConfiguration sectionConfig, DefaultEditorConfiguration editorConfig)voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)voidsetSystemService(SystemService systemService)voidsetUiAccessRightService(UIAccessRightService accessService)-
Methods inherited from class de.hybris.platform.cockpit.services.config.impl.JAXBBasedUIComponentConfigurationFactory
create, createLabelForAllLanguages, createLabelMap, createLabelMap, getDefaultPropertyGroups, getOtherProperties, setCockpitTypeService, setCommonI18NService, setJaxbClass, setJaxbContextCache, setPropertyService, setSchemaResource, setSearchService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.services.config.UIComponentConfigurationFactory
create
-
-
-
-
Method Detail
-
getComponentClass
public java.lang.Class getComponentClass()
Description copied from interface:UIComponentConfigurationFactoryThe class of configurations created by this factories- Specified by:
getComponentClassin interfaceUIComponentConfigurationFactory- Returns:
- the class of configurations created by this factories
-
createDefault
public EditorConfiguration createDefault(ObjectTemplate objectTemplate, BaseConfiguration baseConfiguration)
- Specified by:
createDefaultin interfaceBaseFallbackEnabledUIConfigurationFactory<EditorConfiguration>
-
createOthersGroup
protected EditorSectionConfiguration createOthersGroup(java.lang.String name)
-
registerCustomSection
protected void registerCustomSection(EditorSectionConfiguration sectionConfig, DefaultEditorConfiguration editorConfig)
-
createDefault
public EditorConfiguration createDefault(ObjectTemplate objectTemplate)
Description copied from interface:UIComponentConfigurationFactoryCreates a default ui component configuration for the given template- Specified by:
createDefaultin interfaceUIComponentConfigurationFactory- Parameters:
objectTemplate- the object template to create the configuration from- Returns:
- the configuration
-
createGroupForProperties
protected EditorSectionConfiguration createGroupForProperties(java.util.List<PropertyDescriptor> properties, java.lang.String label)
-
createUIComponent
protected EditorConfiguration createUIComponent(ObjectTemplate objectTemplate, ObjectTemplate originalObjectTemplate, Editor xmlEditor)
- Specified by:
createUIComponentin classJAXBBasedUIComponentConfigurationFactory<EditorConfiguration,Editor>
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Overrides:
setBeanFactoryin classJAXBBasedUIComponentConfigurationFactory<EditorConfiguration,Editor>- Throws:
org.springframework.beans.BeansException
-
setSystemService
public void setSystemService(SystemService systemService)
-
setUiAccessRightService
public void setUiAccessRightService(UIAccessRightService accessService)
-
getUiAccessRightService
public UIAccessRightService getUiAccessRightService()
-
-