public class DefaultWidgetRenderingUtils extends DefaultComponentMarkingUtils implements WidgetRenderingUtils
DefaultComponentMarkingUtils.IdentifiableEventListener| Constructor and Description |
|---|
DefaultWidgetRenderingUtils() |
getEventListener, getListenersToRemove, handleMarkedComponentListener, isListenerToRemove, markComponent, markComponent, mergeComponentSets, moveMarkedComponents, registerMarkedComponentsListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarkComponent, markComponent, moveMarkedComponents, registerMarkedComponentsListenerpublic QualifierLabel getAttributeLabel(Object object, DataType dataType, String qualifier)
WidgetRenderingUtilsAn attribute may be qualified with a SpEL expression regarding provided object. On basis of provided qualifier and object, a value of attribute is extracted and its String representation is prepared.
getAttributeLabel in interface WidgetRenderingUtilsobject - item which attribute id to be rendereddataType - item's type description or null if an object does not belong do hybris Platform domainqualifier - full attribute qualifier or SpEL expressionprotected PropertyReadResult readProperty(Object object, DataType dataType, String qualifier, DataAttribute attribute)
protected QualifierLabel computeLabel(String qualifier, DataAttribute attribute, PropertyReadResult readResult)
qualifier - the property qualifier.attribute - the attribute (can be null).readResult - the property read result (must be successful - see PropertyReadResult.isSuccessful()).protected DataAttribute getDataAttribute(Object object, DataType dataType, String qualifier)
protected PropertyValueService getPropertyValueService()
public void setPropertyValueService(PropertyValueService propertyValueService)
protected LabelService getLabelService()
public void setLabelService(LabelService labelService)
public CockpitLocaleService getCockpitLocaleService()
public void setCockpitLocaleService(CockpitLocaleService cockpitLocaleService)
protected TypeFacade getTypeFacade()
public void setTypeFacade(TypeFacade typeFacade)
Copyright © 2018. All rights reserved.