Class VariantAttributesSectionRenderer

java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zk.ui.Component,T,K>
com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,VariantProductModel>
de.hybris.platform.platformbackoffice.variant.VariantAttributesSectionRenderer
All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.AttributesComponentRenderer, com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,VariantProductModel>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,VariantProductModel>

public class VariantAttributesSectionRenderer extends com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,VariantProductModel> implements com.hybris.cockpitng.widgets.common.AttributesComponentRenderer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer

    ATTR_NOT_SAVED_OBJECT, attributeDescriptionIconRenderer, CURRENT_OBJECT, CURRENT_OBJECT_DOTLESS, DEFAULT_ENCRYPTED_EDITOR, MISSING_RENDERER_ERROR_MSG, SCLASS_CELL_READ_RESTRICTED, SCLASS_CUSTOM_CONTAINER, SCLASS_DESCRIPTION, SCLASS_DESCRIPTION_LABEL, SCLASS_EDITOR, SCLASS_EDITOR_CONTAINER, SCLASS_LABEL, SCLASS_READONLY_EDITOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
    getColumnNumber(com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection configuration)
     
    com.hybris.cockpitng.type.ObjectValueService
     
    getRenderedQualifiers(com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)
     
    getRenderedQualifiers(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
     
    com.hybris.cockpitng.dataaccess.facades.type.TypeFacade
     
    protected List<String>
    getWriteThroughAttributes(com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, Collection<String> renderedAttributes)
     
    protected HashMap<Object,Object>
    prepareNewVariantsModel(Collection<String> attributes, VariantProductModel variantProductModel)
     
    protected void
    processEditorBeforeComposition(com.hybris.cockpitng.components.Editor editor, com.hybris.cockpitng.dataaccess.facades.type.DataType genericType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Attribute attribute, Object object)
     
    protected void
    registerDataModelForVariants(VariantProductModel variantProductModel, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, Collection<String> attributes)
     
    void
    render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection configuration, VariantProductModel variantProductModel, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
     
    void
    setObjectValueService(com.hybris.cockpitng.type.ObjectValueService objectValueService)
     
    void
    setTypeFacade(com.hybris.cockpitng.dataaccess.facades.type.TypeFacade typeFacade)
     

    Methods inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer

    buildEditor, canChangeProperty, createCustom, createEditor, createNotReadableAttributeLabelRenderer, evaluateCustomDefinition, extractParameterName, extractParameterValue, extractPropertiesList, getAttributeDescription, getCockpitLocaleService, getCockpitUserService, getEditAvailabilityProviderFactory, getEditorBuilder, getLabelService, getObjectFacade, getPermissionFacade, getPropertyValueService, getWidgetRenderingUtils, renderNotReadableLabel, resolveAttributeLabel, resolveAttributePath, resolveCustomComponentRenderer, resolveEditorType, resolveLabel, setAttributeDescriptionIconRenderer, setCockpitLocaleService, setCockpitUserService, setEditAvailabilityProviderFactory, setLabelService, setObjectFacade, setPasswordEditorAsDefaultForEncryptedStrings, setPermissionFacade, setPropertyValueService, setWidgetRenderingUtils, validateCustomElement

    Methods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer

    addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer

    render
  • Field Details

  • Constructor Details

    • VariantAttributesSectionRenderer

      public VariantAttributesSectionRenderer()
  • Method Details

    • render

      public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection configuration, VariantProductModel variantProductModel, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      Specified by:
      render in interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,VariantProductModel>
    • registerDataModelForVariants

      protected void registerDataModelForVariants(VariantProductModel variantProductModel, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, Collection<String> attributes)
    • prepareNewVariantsModel

      protected HashMap<Object,Object> prepareNewVariantsModel(Collection<String> attributes, VariantProductModel variantProductModel)
    • processEditorBeforeComposition

      protected void processEditorBeforeComposition(com.hybris.cockpitng.components.Editor editor, com.hybris.cockpitng.dataaccess.facades.type.DataType genericType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Attribute attribute, Object object)
      Overrides:
      processEditorBeforeComposition in class com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,VariantProductModel>
    • getColumnNumber

      protected int getColumnNumber(com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection configuration)
    • getRenderedQualifiers

      public Collection<String> getRenderedQualifiers(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      Specified by:
      getRenderedQualifiers in interface com.hybris.cockpitng.widgets.common.AttributesComponentRenderer
    • getRenderedQualifiers

      public Collection<String> getRenderedQualifiers(com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)
    • getWriteThroughAttributes

      protected List<String> getWriteThroughAttributes(com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, Collection<String> renderedAttributes)
    • getObjectValueService

      public com.hybris.cockpitng.type.ObjectValueService getObjectValueService()
    • setObjectValueService

      public void setObjectValueService(com.hybris.cockpitng.type.ObjectValueService objectValueService)
    • setTypeFacade

      public void setTypeFacade(com.hybris.cockpitng.dataaccess.facades.type.TypeFacade typeFacade)
    • getTypeFacade

      public com.hybris.cockpitng.dataaccess.facades.type.TypeFacade getTypeFacade()