Class NewItemSection
java.lang.Object
de.hybris.platform.cockpit.components.sectionpanel.DefaultSection
de.hybris.platform.cockpit.session.impl.EditorSection
de.hybris.platform.cockpit.session.impl.CustomEditorSection
de.hybris.platform.cockpit.session.impl.NewItemSection
- All Implemented Interfaces:
EditableSection,Section
- Direct Known Subclasses:
CmsNewItemSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final UIEditorAreaprotected final EditorAreaController -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddMessage(SectionPanel panel, Exception exc) protected voidcreateNewItem(SectionPanel panel) protected UIEditorAreaprotected ModelServiceprotected NewItemServiceprotected ValueServiceprotected voidvalidateForm(SectionPanelModel panelModel, Set<CockpitValidationDescriptor> validationInfo, TypedObject currentObject) Validates form and adds all required messages to the UI.Methods inherited from class de.hybris.platform.cockpit.session.impl.CustomEditorSection
getAttribute, setAttributeMethods inherited from class de.hybris.platform.cockpit.session.impl.EditorSection
getSectionConfiguration, getValidationServiceMethods inherited from class de.hybris.platform.cockpit.components.sectionpanel.DefaultSection
getLabel, getLocalizedLabel, isInEditMode, isInitialOpen, isModified, isOpen, isTabbed, isVisible, setInEditMode, setInitialOpen, setLabel, setLocalizedLabel, setModified, setOpen, setTabbed, setVisible
-
Field Details
-
editorArea
-
editorAreaController
-
-
Constructor Details
-
NewItemSection
-
-
Method Details
-
getCustomRenderer
- Overrides:
getCustomRendererin classCustomEditorSection
-
addMessage
-
createNewItem
-
validateForm
protected void validateForm(SectionPanelModel panelModel, Set<CockpitValidationDescriptor> validationInfo, TypedObject currentObject) Validates form and adds all required messages to the UI.- Parameters:
panelModel- the panel modelvalidationInfo- the validation infocurrentObject- the current object
-
getEditorArea
-
getModelService
-
getValueService
-
getNewItemService
-