Class ClassificationCompareViewFeatureRenderer
java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<com.hybris.cockpitng.components.table.TableRow,ATTRIBUTE,DATA>
com.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
de.hybris.platform.platformbackoffice.widgets.compare.renderers.ClassificationCompareViewFeatureRenderer
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<com.hybris.cockpitng.components.table.TableRow,,FeatureDescriptor, BackofficePartialRendererData<Collection>> com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<com.hybris.cockpitng.components.table.TableRow,FeatureDescriptor, BackofficePartialRendererData<Collection>>
public class ClassificationCompareViewFeatureRenderer
extends com.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer
com.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer.AttributeValueCache, com.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer.CompareViewElementRendererEventListener<T extends org.zkoss.zk.ui.event.Event> -
Field Summary
Fields inherited from class com.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer
ATTRIBUTE_VALUE_CACHE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.hybris.cockpitng.components.EditorcreateAttributeEditor(FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected com.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer.CompareViewElementRendererEventListener<org.zkoss.zk.ui.event.Event>createCompareViewElementOnDropEvent(com.hybris.cockpitng.components.table.TableCell attributeValue, FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected StringgetAttributeName(FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected Map<FeatureDescriptor,ClassificationInfo> getFeatureValues(FeatureDescriptor featureDescription, BackofficePartialRendererData<Collection> data, Object item) getLocaleForAttribute(FeatureDescriptor configuration) protected StringgetQualifier(FeatureDescriptor configuration) protected StringgetTooltipText(FeatureDescriptor configuration) protected ObjectgetValueOfAttribute(FeatureDescriptor configuration, Object item, BackofficePartialRendererData<Collection> data) protected booleanhasPermissionsToRead(FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected booleanhasPermissionsToRead(FeatureDescriptor configuration, Object item) protected booleanhasPermissionsToWrite(FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected booleanhasPermissionsToWrite(FeatureDescriptor configuration, Object item) protected booleanisFittingEditor(com.hybris.cockpitng.components.Editor editor, FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected booleanisLocaleAvailableForItemInstance(FeatureDescriptor configuration, Object item) protected booleanisNotEqual(BackofficeComparisonResult result, FeatureDescriptor attributeDescriptor) protected booleanisNotEqual(BackofficeComparisonResult result, FeatureDescriptor attributeDescriptor, Object compareObject) protected booleanisValueIncorrect(FeatureDescriptor configuration, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, BackofficePartialRendererData<Collection> data, Object item) voidsetClassificationService(ClassificationService classificationService) protected voidupdateAttributeValueDifferentMark(FeatureDescriptor configuration, Object item, BackofficePartialRendererData<Collection> data, com.hybris.cockpitng.components.table.TableCell attributeValue) protected voidupdateLocalizationDifferentiatorDifferentMark(Locale locale, FeatureDescriptor configuration, org.zkoss.zk.ui.HtmlBasedComponent component, BackofficePartialRendererData<Collection> data) Methods inherited from class com.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer
attributeNameRendered, attributeValueRendered, buildEditor, createAccessDeniedLabel, createAttributeNameContents, createAttributeNameContents, createAttributeNameLabel, createAttributeNotExistingLabel, createDisabledForLanguageLabel, createLocalizationDifferentiator, createLocalizedAttributeNameLabel, getAttributeValueCache, getCockpitLocaleService, getCompareViewElementAttributeValueCache, getCurrentLocale, getEditorWrappingUtils, getItemComparisonFacade, getLabelService, getLocalizationDifferentiator, getObjectFacade, getObjectValueService, getPermissionFacade, getTypeFacade, getValueContainer, getWidgetRenderingUtils, handleIncorrectAttributeValue, isReadonly, modifyYatfTestIdForAttributeName, modifyYatfTestIdForAttributeValue, render, renderAttributeEditor, renderAttributeName, renderAttributeName, renderAttributeValue, renderAttributeValueContents, requiresAttributeNameRendering, requiresAttributeValueRendering, setCockpitLocaleService, setEditorWrappingUtils, setItemComparisonFacade, setLabelService, setObjectFacade, setObjectValueService, setPermissionFacade, setTypeFacade, setWidgetRenderingUtilsMethods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer
addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer
render
-
Constructor Details
-
ClassificationCompareViewFeatureRenderer
public ClassificationCompareViewFeatureRenderer()
-
-
Method Details
-
hasPermissionsToRead
protected boolean hasPermissionsToRead(FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) - Overrides:
hasPermissionsToReadin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
hasPermissionsToWrite
protected boolean hasPermissionsToWrite(FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) - Overrides:
hasPermissionsToWritein classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
getQualifier
- Specified by:
getQualifierin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
getAttributeName
protected String getAttributeName(FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) - Specified by:
getAttributeNamein classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
createCompareViewElementOnDropEvent
protected com.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer.CompareViewElementRendererEventListener<org.zkoss.zk.ui.event.Event> createCompareViewElementOnDropEvent(com.hybris.cockpitng.components.table.TableCell attributeValue, FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) - Specified by:
createCompareViewElementOnDropEventin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
getTooltipText
- Specified by:
getTooltipTextin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
getLocaleForAttribute
- Specified by:
getLocaleForAttributein classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
getValueOfAttribute
protected Object getValueOfAttribute(FeatureDescriptor configuration, Object item, BackofficePartialRendererData<Collection> data) - Specified by:
getValueOfAttributein classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
getFeatureValues
protected Map<FeatureDescriptor,ClassificationInfo> getFeatureValues(FeatureDescriptor featureDescription, BackofficePartialRendererData<Collection> data, Object item) -
updateLocalizationDifferentiatorDifferentMark
protected void updateLocalizationDifferentiatorDifferentMark(Locale locale, FeatureDescriptor configuration, org.zkoss.zk.ui.HtmlBasedComponent component, BackofficePartialRendererData<Collection> data) - Specified by:
updateLocalizationDifferentiatorDifferentMarkin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
isValueIncorrect
protected boolean isValueIncorrect(FeatureDescriptor configuration, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, BackofficePartialRendererData<Collection> data, Object item) - Specified by:
isValueIncorrectin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
hasPermissionsToRead
- Specified by:
hasPermissionsToReadin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
hasPermissionsToWrite
- Specified by:
hasPermissionsToWritein classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
isLocaleAvailableForItemInstance
- Specified by:
isLocaleAvailableForItemInstancein classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
isFittingEditor
protected boolean isFittingEditor(com.hybris.cockpitng.components.Editor editor, FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) - Specified by:
isFittingEditorin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
createAttributeEditor
protected com.hybris.cockpitng.components.Editor createAttributeEditor(FeatureDescriptor configuration, BackofficePartialRendererData<Collection> data, Object item, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) - Specified by:
createAttributeEditorin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
updateAttributeValueDifferentMark
protected void updateAttributeValueDifferentMark(FeatureDescriptor configuration, Object item, BackofficePartialRendererData<Collection> data, com.hybris.cockpitng.components.table.TableCell attributeValue) - Specified by:
updateAttributeValueDifferentMarkin classcom.hybris.cockpitng.widgets.compare.renderer.AbstractCompareViewElementRenderer<FeatureDescriptor,BackofficePartialRendererData<Collection>>
-
isNotEqual
protected boolean isNotEqual(BackofficeComparisonResult result, FeatureDescriptor attributeDescriptor) -
isNotEqual
protected boolean isNotEqual(BackofficeComparisonResult result, FeatureDescriptor attributeDescriptor, Object compareObject) -
setClassificationService
-
getClassificationService
-