Class DefaultSummaryViewApprovalStatusRenderer

java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.summaryview.jaxb.Attribute,DATA>
com.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
de.hybris.platform.platformbackoffice.renderers.DefaultSummaryViewApprovalStatusRenderer
All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.summaryview.jaxb.Attribute,ItemModel>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.summaryview.jaxb.Attribute,ItemModel>

public class DefaultSummaryViewApprovalStatusRenderer extends com.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    canHandle(ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)
     
    protected org.zkoss.zul.Label
     
    protected String
    getIconStatusSClass(org.zkoss.zk.ui.HtmlBasedComponent iconContainer, com.hybris.cockpitng.config.summaryview.jaxb.Attribute attributeConfiguration, ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataAttribute dataAttribute, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
     
    protected boolean
    hasPermission(ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)
     
    protected void
    renderValue(org.zkoss.zul.Div attributeContainer, com.hybris.cockpitng.config.summaryview.jaxb.Attribute attributeConfiguration, ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataAttribute dataAttribute, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
     

    Methods inherited from class com.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer

    createContainer, createIcon, getAttributeLabelResolver, getIconStatusSClass, getLabelService, getPermissionFacade, hasAttributePermission, render, renderIcon, renderInvalidDataLabel, renderLabel, renderNoReadAccess, setAttributeLabelResolver, setLabelService, setPermissionFacade

    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

    • DefaultSummaryViewApprovalStatusRenderer

      public DefaultSummaryViewApprovalStatusRenderer()
  • Method Details

    • canHandle

      protected boolean canHandle(ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)
      Overrides:
      canHandle in class com.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
    • hasPermission

      protected boolean hasPermission(ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)
      Overrides:
      hasPermission in class com.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
    • getIconStatusSClass

      protected String getIconStatusSClass(org.zkoss.zk.ui.HtmlBasedComponent iconContainer, com.hybris.cockpitng.config.summaryview.jaxb.Attribute attributeConfiguration, ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataAttribute dataAttribute, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      Specified by:
      getIconStatusSClass in class com.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
    • renderValue

      protected void renderValue(org.zkoss.zul.Div attributeContainer, com.hybris.cockpitng.config.summaryview.jaxb.Attribute attributeConfiguration, ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataAttribute dataAttribute, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      Specified by:
      renderValue in class com.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
    • createApprovalStatusValue

      protected org.zkoss.zul.Label createApprovalStatusValue(ProductModel data)