Package com.hybris.cockpitng.labels.impl
Class BackofficeTypeQualifierStringObjectHandler
- java.lang.Object
-
- com.hybris.cockpitng.labels.impl.TypeQualifierStringObjectHandler
-
- com.hybris.cockpitng.labels.impl.BackofficeTypeQualifierStringObjectHandler
-
- All Implemented Interfaces:
LabelStringObjectHandler
public class BackofficeTypeQualifierStringObjectHandler extends TypeQualifierStringObjectHandler
Extended version ofTypeQualifierStringObjectHandlerthat usesCockpitLocaleServiceto get labels in the current cockpit session locale.
-
-
Constructor Summary
Constructors Constructor Description BackofficeTypeQualifierStringObjectHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.LocalegetCurrentLocale()voidsetCockpitLocaleService(CockpitLocaleService cockpitLocaleService)-
Methods inherited from class com.hybris.cockpitng.labels.impl.TypeQualifierStringObjectHandler
getAttribute, getAttributeLabel, getFallbackLocaleProvider, getObjectDescription, getObjectIconPath, getObjectLabel, getTypeLabel, parseTypeAndAttribute, setFallbackLocaleProvider, setTypeFacade
-
-
-
-
Method Detail
-
getCurrentLocale
public java.util.Locale getCurrentLocale()
- Specified by:
getCurrentLocalein interfaceLabelStringObjectHandler- Overrides:
getCurrentLocalein classTypeQualifierStringObjectHandler- Returns:
- currently used locale
-
setCockpitLocaleService
public void setCockpitLocaleService(CockpitLocaleService cockpitLocaleService)
-
-