Class TmaPsSummaryViewApprovalStatusRenderer
- 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.b2ctelcobackoffice.renderers.TmaPsSummaryViewApprovalStatusRenderer
-
- 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 TmaPsSummaryViewApprovalStatusRenderer extends com.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
Renderer for displaying the summary view information forTmaProductSpecificationModel.APPROVALSTATUS.- Since:
- 6.7
-
-
Constructor Summary
Constructors Constructor Description TmaPsSummaryViewApprovalStatusRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanHandle(ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)protected org.zkoss.zul.LabelcreateApprovalStatusValue(TmaProductSpecificationModel data)protected java.lang.StringgetIconStatusSClass(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 booleanhasPermission(ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)protected voidrenderValue(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
-
-
-
-
Method Detail
-
canHandle
protected boolean canHandle(ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)
- Overrides:
canHandlein classcom.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
-
hasPermission
protected boolean hasPermission(ItemModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType)
- Overrides:
hasPermissionin classcom.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
-
getIconStatusSClass
protected java.lang.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:
getIconStatusSClassin classcom.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:
renderValuein classcom.hybris.cockpitng.widgets.summaryview.renderer.AbstractSummaryViewItemWithIconRenderer<ItemModel>
-
createApprovalStatusValue
protected org.zkoss.zul.Label createApprovalStatusValue(TmaProductSpecificationModel data)
-
-