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 -
Method Summary
Modifier and TypeMethodDescriptioncreateDefault(ObjectTemplate objectTemplate) Creates a default ui component configuration for the given templatecreateDefault(ObjectTemplate objectTemplate, BaseConfiguration baseConfiguration) protected EditorSectionConfigurationcreateGroupForProperties(List<PropertyDescriptor> properties, String label) protected EditorSectionConfigurationcreateOthersGroup(String name) protected EditorConfigurationcreateUIComponent(ObjectTemplate objectTemplate, ObjectTemplate originalObjectTemplate, Editor xmlEditor) The class of configurations created by this factoriesprotected 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, setSearchServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.services.config.UIComponentConfigurationFactory
create
-
Constructor Details
-
EditorConfigurationFactory
public EditorConfigurationFactory()
-
-
Method Details
-
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
-
registerCustomSection
protected void registerCustomSection(EditorSectionConfiguration sectionConfig, DefaultEditorConfiguration editorConfig) -
createDefault
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(List<PropertyDescriptor> properties, 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
-
setUiAccessRightService
-
getUiAccessRightService
-