Class TypeAwareValidationRenderer
- java.lang.Object
-
- com.hybris.cockpitng.components.validation.DefaultValidationRenderer
-
- com.hybris.cockpitng.common.renderer.TypeAwareValidationRenderer
-
- All Implemented Interfaces:
ValidationRenderer
- Direct Known Subclasses:
ConfigurableFlowValidationRenderer
public class TypeAwareValidationRenderer extends DefaultValidationRenderer
-
-
Field Summary
-
Fields inherited from class com.hybris.cockpitng.components.validation.DefaultValidationRenderer
Y_ICON, YE_EDITOR_VALIDATION_POPUP, YE_EDITOR_VALIDATION_POPUP_CNT, YE_EDITOR_VALIDATION_POPUP_CONTENT, YE_EDITOR_VALIDATION_POPUP_INVISIBLE, YE_EXCLAMATION_ICON
-
-
Constructor Summary
Constructors Constructor Description TypeAwareValidationRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CockpitLocaleServicegetCockpitLocaleService()java.lang.StringgetLabel(java.lang.Object object, java.lang.String path)Gets a label for violated path of specified objectprotected LabelServicegetLabelService()protected TypeFacadegetTypeFacade()voidsetCockpitLocaleService(CockpitLocaleService cockpitLocaleService)voidsetLabelService(LabelService labelService)voidsetTypeFacade(TypeFacade typeFacade)-
Methods inherited from class com.hybris.cockpitng.components.validation.DefaultValidationRenderer
cleanAllValidationCss, createValidationMessageBtn, createValidationMessageBtn, createValidationViolationsList, createValidationViolationsPopup, getIconStyleClass, getSeverityStyleClass, setValidationErrorKey, setValidationInfoKey, setValidationNoneKey, setValidationWarningKey
-
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel(java.lang.Object object, java.lang.String path)Description copied from interface:ValidationRendererGets a label for violated path of specified object- Specified by:
getLabelin interfaceValidationRenderer- Overrides:
getLabelin classDefaultValidationRenderer- Parameters:
object- object being validatedpath- violated path- Returns:
- user-friendly presentation of path
-
getTypeFacade
protected TypeFacade getTypeFacade()
-
setTypeFacade
public void setTypeFacade(TypeFacade typeFacade)
-
getCockpitLocaleService
protected CockpitLocaleService getCockpitLocaleService()
-
setCockpitLocaleService
public void setCockpitLocaleService(CockpitLocaleService cockpitLocaleService)
-
getLabelService
protected LabelService getLabelService()
-
setLabelService
public void setLabelService(LabelService labelService)
-
-