Package com.hybris.cockpitng.labels.impl
Class BackofficeCoreLabelService
- java.lang.Object
-
- com.hybris.cockpitng.labels.impl.DefaultLabelService
-
- com.hybris.cockpitng.labels.impl.TypeAwareLabelService
-
- com.hybris.cockpitng.labels.impl.BackofficeCoreLabelService
-
- All Implemented Interfaces:
LabelService,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class BackofficeCoreLabelService extends TypeAwareLabelService
Extension ofTypeAwareLabelServicethat resolveLabelProvider. First it checks, if the bean is in the cockpit module application context. If not, it falls back toSpringUtil.getBean(String, Class).
-
-
Constructor Summary
Constructors Constructor Description BackofficeCoreLabelService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LabelProvider<java.lang.Object>getLabelProvider(java.lang.Object object, Labels labelConfig)-
Methods inherited from class com.hybris.cockpitng.labels.impl.TypeAwareLabelService
getAccessDeniedLabel, getDisabledMessage, getLanguageDisabledLabel, getNoReadAccessMessage, getObjectDescription, getObjectLabel, getPermissionFacade, getType, getTypeFacade, setPermissionFacade, setTypeFacade
-
Methods inherited from class com.hybris.cockpitng.labels.impl.DefaultLabelService
buildConfigurationContext, getApplicationContext, getDescriptionInternal, getFallbackLabel, getIconPathInternal, getLabelConfiguration, getLabelInternal, getLabelServiceCache, getObjectIconPath, getShortObjectLabel, getValueHandler, setApplicationContext, setCockpitConfigurationService, setContextDecorators, setLabelServiceCache, setLabelStringObjectHandler, setModelValueHandlerFactory
-
-
-
-
Method Detail
-
getLabelProvider
protected LabelProvider<java.lang.Object> getLabelProvider(java.lang.Object object, Labels labelConfig)
- Overrides:
getLabelProviderin classDefaultLabelService
-
-