Class WarehousingQuickListRenderer

java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<P,C,D>
com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.common.renderer.AbstractImageComponentRenderer<org.zkoss.zk.ui.HtmlBasedComponent,com.hybris.cockpitng.config.quicklist.jaxb.QuickList,Object>
com.hybris.backoffice.widgets.quicklist.renderer.DefaultQuickListItemRenderer
de.hybris.platform.warehousingbackoffice.renderers.WarehousingQuickListRenderer
All Implemented Interfaces:
com.hybris.backoffice.widgets.quicklist.renderer.QuickListItemRenderer, com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.HtmlBasedComponent,com.hybris.cockpitng.config.quicklist.jaxb.QuickList,Object>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.HtmlBasedComponent,com.hybris.cockpitng.config.quicklist.jaxb.QuickList,Object>

public class WarehousingQuickListRenderer extends com.hybris.backoffice.widgets.quicklist.renderer.DefaultQuickListItemRenderer
Renderer that lists consignment entries within a summary context
  • Field Summary

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

    Fields inherited from class com.hybris.backoffice.widgets.quicklist.renderer.DefaultQuickListItemRenderer

    ATTRIBUTE_CLICKABLE_REMOVE_BUTTON, ATTRIBUTE_CLICKABLE_TITLE, ATTRIBUTE_KEY_CLICKABLE, PREVIEW_SUFFIX_QUICK_LIST, SCLASS_IMG_PREVIEW_POPUP, SCLASS_REMOVE_BUTTON, SCLASS_YW_QUICK_LIST_TILE_IMG, SCLASS_YW_QUICK_LIST_TILE_SUBTITLE, SCLASS_YW_QUICK_LIST_TILE_SUBTITLE_CONTAINER, SCLASS_YW_QUICK_LIST_TILE_TITLE, SCLASS_YW_QUICK_LIST_TILE_TITLE_ONLY, TOOLTIP_QUICK_LIST_REMOVE_BUTTON_TOOLTIP

    Fields inherited from class com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.common.renderer.AbstractImageComponentRenderer

    SCLASS_YW_TITLE_ONLY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.zkoss.zul.Label
    labelizeProperty(String attributeToRender)
    Returns a Label of the given property while applying the corresponding styling class
    void
    render(org.zkoss.zk.ui.HtmlBasedComponent parent, com.hybris.cockpitng.config.quicklist.jaxb.QuickList configuration, Object data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
     
    protected void
    renderConsignmentEntry(org.zkoss.zk.ui.HtmlBasedComponent parent, ConsignmentEntryModel consignmentEntry)
    Renders each ConsignmentEntryModel that will be displayed in the quick list.
    protected String
    resolveLabel(String labelKey)
    Returns localized label by key, or a "[labelKey]" if localized label was nor registered.

    Methods inherited from class com.hybris.backoffice.widgets.quicklist.renderer.DefaultQuickListItemRenderer

    appendDescriptionLabels, appendLabel, appendRemoveButton, appendThumbnailAndPopupPreview, getLabelService, getObjectPreview, getWidgetRenderingUtils, isAllowRemove, isOpenItemHyperlink, isRemoveItemButton, prepareThumbnail, setAllowRemove, setLabelService, setWidgetRenderingUtils

    Methods inherited from class com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.common.renderer.AbstractImageComponentRenderer

    appendPopupPreview, appendThumbnailAndPopupPreview, findMimeByExtension, getConfigurationMapping, getDefaultImage, getExtensionsToMime, getObjectPreview, getObjectPreview, getObjectPreviewService, getPreviewPopupSclass, getThumbnailSclass, isDisplayDefaultImage, loadBaseConfiguration, preparePreviewPopup, setDefaultImage, setDisplayDefaultImage, setExtensionsToMime, setObjectPreviewService

    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

    • WarehousingQuickListRenderer

      public WarehousingQuickListRenderer()
  • Method Details

    • render

      public void render(org.zkoss.zk.ui.HtmlBasedComponent parent, com.hybris.cockpitng.config.quicklist.jaxb.QuickList configuration, Object data, 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.HtmlBasedComponent,com.hybris.cockpitng.config.quicklist.jaxb.QuickList,Object>
      Overrides:
      render in class com.hybris.backoffice.widgets.quicklist.renderer.DefaultQuickListItemRenderer
    • labelizeProperty

      protected org.zkoss.zul.Label labelizeProperty(String attributeToRender)
      Returns a Label of the given property while applying the corresponding styling class
      Parameters:
      attributeToRender - The attribute to render as a Label
      Returns:
      the label of the given property
    • resolveLabel

      protected String resolveLabel(String labelKey)
      Returns localized label by key, or a "[labelKey]" if localized label was nor registered.
      Parameters:
      labelKey - the key of the label to retrieve
      Returns:
      The localized label
    • renderConsignmentEntry

      protected void renderConsignmentEntry(org.zkoss.zk.ui.HtmlBasedComponent parent, ConsignmentEntryModel consignmentEntry)
      Renders each ConsignmentEntryModel that will be displayed in the quick list.
      Parameters:
      parent - parent component of the ConsignmentEntryModel
      consignmentEntry - ConsignmentEntryModel to be rendered