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
Enhanced
BulkEditRenderer, 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclearModelValue(com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.backoffice.attributechooser.Attribute attribute, String fullAttributeProperty, Map<String, String> params) protected 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, Map<String, String> params) protected Optional<org.zkoss.zul.Checkbox>createMergeCheckBox(com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.backoffice.attributechooser.Attribute attribute, BulkEditForm form) com.hybris.cockpitng.dataaccess.facades.object.ObjectFacadeprotected Map<ClassificationClassModel,List<com.hybris.backoffice.attributechooser.Attribute>> groupAttributesByClassificationClass(List<com.hybris.backoffice.attributechooser.Attribute> selectedAttributes) protected voidrenderAttributes(com.hybris.cockpitng.components.validation.ValidatableContainer validatableContainer, Map<String, 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, Map<String, String> params, BulkEditForm form) voidsetClassificationEditorBulkEditRenderer(ClassificationEditorBulkEditRenderer classificationEditorBulkEditRenderer) voidsetClassificationSectionBulkEditRenderer(ClassificationSectionBulkEditRenderer classificationSectionBulkEditRenderer) voidsetObjectFacade(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade) protected booleanvalidateBulkEditForm(BulkEditForm form, Map<String, 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, setBulkEditHandler, setBulkEditTemplateModelCreator, setBulkEditValidationHelper, setNotificationService, setValidationRenderer
-
Constructor Details
-
ClassificationBulkEditRenderer
public ClassificationBulkEditRenderer()
-
-
Method Details
-
validateBulkEditForm
- Overrides:
validateBulkEditFormin classBulkEditRenderer
-
renderAttributes
protected void renderAttributes(com.hybris.cockpitng.components.validation.ValidatableContainer validatableContainer, Map<String, 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, Map<String, String> params, BulkEditForm form) - Overrides:
renderGreyAreaIfNeededin classBulkEditRenderer
-
groupAttributesByClassificationClass
protected Map<ClassificationClassModel,List<com.hybris.backoffice.attributechooser.Attribute>> groupAttributesByClassificationClass(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, Map<String, String> params) - Overrides:
createEditorin classBulkEditRenderer
-
createClearAttributeSwitch
protected 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 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, String fullAttributeProperty, Map<String, String> params) - Overrides:
clearModelValuein classBulkEditRenderer
-
getClassificationSectionBulkEditRenderer
-
setClassificationSectionBulkEditRenderer
public void setClassificationSectionBulkEditRenderer(ClassificationSectionBulkEditRenderer classificationSectionBulkEditRenderer) -
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()
-