Interface WidgetRenderingUtils
-
- All Superinterfaces:
ComponentMarkingUtils
- All Known Implementing Classes:
DefaultWidgetRenderingUtils
public interface WidgetRenderingUtils extends ComponentMarkingUtils
Utilities used to render information about/in widgets
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QualifierLabelgetAttributeLabel(java.lang.Object object, DataType dataType, java.lang.String qualifier)Checks how a attribute's value should be shown to end user.-
Methods inherited from interface com.hybris.cockpitng.util.ComponentMarkingUtils
markComponent, markComponent, moveMarkedComponents, registerMarkedComponentsListener
-
-
-
-
Method Detail
-
getAttributeLabel
QualifierLabel getAttributeLabel(java.lang.Object object, DataType dataType, java.lang.String qualifier)
Checks how a attribute's value should be shown to end user.An 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.
- Parameters:
object- item which attribute id to be rendereddataType- item's type description ornullif an object does not belong do hybris Platform domainqualifier- full attribute qualifier or SpEL expression- Returns:
- evaluation result
-
-