Class TmaPolicyConditionsStructureSectionRenderer

  • All Implemented Interfaces:
    com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,​com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,​java.lang.Object>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,​com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,​java.lang.Object>

    public class TmaPolicyConditionsStructureSectionRenderer
    extends com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer
    Policy structure section renderer.
    Since:
    1810
    • Field Summary

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

        MODEL_CURRENT_OBJECT, MODEL_EDITORS_DETACHED, MODEL_ESSENTIAL_SECTION_IS_OPEN, SCLASS_CELL_LABEL_CONTAINER
      • Fields inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer

        ATTR_NOT_SAVED_OBJECT, attributeDescriptionIconRenderer, CURRENT_OBJECT, CURRENT_OBJECT_DOTLESS, 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected de.hybris.platform.enumeration.EnumerationService getEnumerationService()  
      protected de.hybris.platform.servicelayer.model.ModelService getModelService()  
      protected TmaPolicyConditionTreeNodeRenderer getTreeNodeRenderer()  
      protected void handleAtomicCondition​(org.zkoss.zk.ui.Component component, TmaPolicyConditionModel conditionModel)
      Appends to the component a single node tree corresponding to the given condition.
      protected void handleCompositeCondition​(org.zkoss.zk.ui.Component component, TmaPolicyConditionModel conditionModel)
      Appends a tree having the TmaCompositePolicyConditionModel as root and condition children as tree nodes.
      void render​(org.zkoss.zk.ui.Component component, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection abstractSection, java.lang.Object object, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)  
      void setEnumerationService​(de.hybris.platform.enumeration.EnumerationService enumerationService)  
      void setModelService​(de.hybris.platform.servicelayer.model.ModelService modelService)  
      void setTreeNodeRenderer​(TmaPolicyConditionTreeNodeRenderer treeNodeRenderer)  
      • Methods inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer

        calculateWidthPercentage, createAttributeEditorWithLabelRenderer, createAttributeRenderer, createCustomSectionRenderer, createSectionRenderer, getEditorAreaPanelRenderer, getValidationRenderer, isEssentialSection, prepareContainer, prepareContainerCaption, renderAttributes, renderAttributes, renderAttributesInPanels, renderCustomElement, renderDescription, setEditorAreaPanelRenderer, setSectionOpenAttribute, setValidationRenderer
      • 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, getPermissionFacade, getPropertyValueService, getWidgetRenderingUtils, processEditorBeforeComposition, renderNotReadableLabel, resolveAttributeLabel, resolveAttributePath, resolveCustomComponentRenderer, resolveEditorType, resolveLabel, setAttributeDescriptionIconRenderer, setCockpitLocaleService, setCockpitUserService, setEditAvailabilityProviderFactory, setLabelService, 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
    • Constructor Detail

      • TmaPolicyConditionsStructureSectionRenderer

        public TmaPolicyConditionsStructureSectionRenderer()
    • Method Detail

      • render

        public void render​(org.zkoss.zk.ui.Component component,
                           com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection abstractSection,
                           java.lang.Object object,
                           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,​java.lang.Object>
        Overrides:
        render in class com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer
      • handleAtomicCondition

        protected void handleAtomicCondition​(org.zkoss.zk.ui.Component component,
                                             TmaPolicyConditionModel conditionModel)
        Appends to the component a single node tree corresponding to the given condition.
        Parameters:
        component - parent component
        conditionModel - TmaPolicyConditionModel to be processed
      • getEnumerationService

        protected de.hybris.platform.enumeration.EnumerationService getEnumerationService()
      • setEnumerationService

        public void setEnumerationService​(de.hybris.platform.enumeration.EnumerationService enumerationService)
      • getModelService

        protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      • setModelService

        public void setModelService​(de.hybris.platform.servicelayer.model.ModelService modelService)