Class ClassificationBulkEditRenderer
- java.lang.Object
-
- com.hybris.backoffice.bulkedit.renderer.BulkEditRenderer
-
- de.hybris.platform.platformbackoffice.bulkedit.ClassificationBulkEditRenderer
-
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.validation.LocalizedValidationAwareCustomViewRenderer,com.hybris.cockpitng.widgets.configurableflow.validation.ValidationAwareCustomViewRenderer
public class ClassificationBulkEditRenderer extends BulkEditRenderer
EnhancedBulkEditRenderer, capable of rendering editors for Product's classification
-
-
Field Summary
-
Fields inherited from class com.hybris.backoffice.bulkedit.renderer.BulkEditRenderer
LABEL_CLEAR_VALUE, LABEL_GREY_AREA_TITLE, LABEL_MERGE_EXISTING, LABEL_MISSING_ATTRIBUTES, LABEL_MISSING_FORM, LABEL_VALIDATE_ALL_ATTRIBUTES, LABEL_VALIDATE_ALL_ATTRIBUTES_POPUP, PARAM_BULK_EDIT_FORM_MODEL_KEY, PARAM_BULK_EDIT_REQUIRES_SELECTED_ATTRIBUTE, PARAM_EDITOR_PREFIX, PARAM_NAME_SEPARATOR, PARAM_SHOW_GRAY_AREA, PARAM_SHOW_VALIDATE_ALL_ATTRIBUTES_SWITCH, SCLASS_ATTR, SCLASS_ATTRIBUTE_LABEL_DESCRIPTION, SCLASS_SWITCH_CHECKBOX, SCLASS_SWITCH_DELETE, SCLASS_VALIDATE_ALL_ATTRIBUTES
-
-
Constructor Summary
Constructors Constructor Description ClassificationBulkEditRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclearModelValue(com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.backoffice.attributechooser.Attribute attribute, java.lang.String fullAttributeProperty, java.util.Map<java.lang.String,java.lang.String> params)protected java.util.Optional<org.zkoss.zul.Checkbox>createClearAttributeSwitch(com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.backoffice.attributechooser.Attribute attribute, BulkEditForm form)protected com.hybris.cockpitng.components.EditorcreateEditor(com.hybris.cockpitng.dataaccess.facades.type.DataType genericType, com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.backoffice.attributechooser.Attribute attribute, java.util.Map<java.lang.String,java.lang.String> params)protected java.util.Optional<org.zkoss.zul.Checkbox>createMergeCheckBox(com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.backoffice.attributechooser.Attribute attribute, BulkEditForm form)ClassificationEditorBulkEditRenderergetClassificationEditorBulkEditRenderer()ClassificationSectionBulkEditRenderergetClassificationSectionBulkEditRenderer()com.hybris.cockpitng.dataaccess.facades.object.ObjectFacadegetObjectFacade()protected java.util.Map<ClassificationClassModel,java.util.List<com.hybris.backoffice.attributechooser.Attribute>>groupAttributesByClassificationClass(java.util.List<com.hybris.backoffice.attributechooser.Attribute> selectedAttributes)protected voidrenderAttributes(com.hybris.cockpitng.components.validation.ValidatableContainer validatableContainer, java.util.Map<java.lang.String,java.lang.String> params, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager wim, BulkEditForm form, com.hybris.cockpitng.validation.ValidationHandler proxyValidationHandler, org.zkoss.zul.Div attributesContainer)protected voidrenderGreyAreaIfNeeded(org.zkoss.zk.ui.Component component, java.util.Map<java.lang.String,java.lang.String> params, BulkEditForm form)voidsetClassificationEditorBulkEditRenderer(ClassificationEditorBulkEditRenderer classificationEditorBulkEditRenderer)voidsetClassificationSectionBulkEditRenderer(ClassificationSectionBulkEditRenderer classificationSectionBulkEditRenderer)voidsetObjectFacade(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade)protected booleanvalidateBulkEditForm(BulkEditForm form, java.util.Map<java.lang.String,java.lang.String> params)-
Methods inherited from class com.hybris.backoffice.bulkedit.renderer.BulkEditRenderer
addBulkEditSclassToParent, buildEditor, clearModelValue, createAttributeLabel, createClearAttributeSwitch, createEditorBuilder, createMergeCheckBox, enableValidationForEditor, extractEditorParameters, getBulkEditForm, getBulkEditTemplateModelCreator, getBulkEditValidationHelper, getNotificationService, getPreferredEditor, getSelectedLocalesForAttribute, getTemplateObjectPath, getTypeCode, getValidationProperties, getValidationPropertiesWithLocales, getValidationRenderer, isMergeable, registerDataModelForVariants, render, renderAttributeLine, renderGreyArea, renderValidateAllAttributesSwitch, setBulkEditTemplateModelCreator, setBulkEditValidationHelper, setNotificationService, setValidationRenderer
-
-
-
-
Method Detail
-
validateBulkEditForm
protected boolean validateBulkEditForm(BulkEditForm form, java.util.Map<java.lang.String,java.lang.String> params)
- Overrides:
validateBulkEditFormin classBulkEditRenderer
-
renderAttributes
protected void renderAttributes(com.hybris.cockpitng.components.validation.ValidatableContainer validatableContainer, java.util.Map<java.lang.String,java.lang.String> params, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager wim, BulkEditForm form, com.hybris.cockpitng.validation.ValidationHandler proxyValidationHandler, org.zkoss.zul.Div attributesContainer)- Overrides:
renderAttributesin classBulkEditRenderer
-
renderGreyAreaIfNeeded
protected void renderGreyAreaIfNeeded(org.zkoss.zk.ui.Component component, java.util.Map<java.lang.String,java.lang.String> params, BulkEditForm form)- Overrides:
renderGreyAreaIfNeededin classBulkEditRenderer
-
groupAttributesByClassificationClass
protected java.util.Map<ClassificationClassModel,java.util.List<com.hybris.backoffice.attributechooser.Attribute>> groupAttributesByClassificationClass(java.util.List<com.hybris.backoffice.attributechooser.Attribute> selectedAttributes)
-
createEditor
protected com.hybris.cockpitng.components.Editor createEditor(com.hybris.cockpitng.dataaccess.facades.type.DataType genericType, com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.backoffice.attributechooser.Attribute attribute, java.util.Map<java.lang.String,java.lang.String> params)- Overrides:
createEditorin classBulkEditRenderer
-
createClearAttributeSwitch
protected java.util.Optional<org.zkoss.zul.Checkbox> createClearAttributeSwitch(com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.backoffice.attributechooser.Attribute attribute, BulkEditForm form)- Overrides:
createClearAttributeSwitchin classBulkEditRenderer
-
createMergeCheckBox
protected java.util.Optional<org.zkoss.zul.Checkbox> createMergeCheckBox(com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.backoffice.attributechooser.Attribute attribute, BulkEditForm form)- Overrides:
createMergeCheckBoxin classBulkEditRenderer
-
clearModelValue
protected void clearModelValue(com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.backoffice.attributechooser.Attribute attribute, java.lang.String fullAttributeProperty, java.util.Map<java.lang.String,java.lang.String> params)- Overrides:
clearModelValuein classBulkEditRenderer
-
getClassificationSectionBulkEditRenderer
public ClassificationSectionBulkEditRenderer getClassificationSectionBulkEditRenderer()
-
setClassificationSectionBulkEditRenderer
public void setClassificationSectionBulkEditRenderer(ClassificationSectionBulkEditRenderer classificationSectionBulkEditRenderer)
-
getClassificationEditorBulkEditRenderer
public ClassificationEditorBulkEditRenderer getClassificationEditorBulkEditRenderer()
-
setClassificationEditorBulkEditRenderer
public void setClassificationEditorBulkEditRenderer(ClassificationEditorBulkEditRenderer classificationEditorBulkEditRenderer)
-
setObjectFacade
public void setObjectFacade(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade)
-
getObjectFacade
public com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade getObjectFacade()
-
-