Class BackofficeLabelService

  • All Implemented Interfaces:
    com.hybris.cockpitng.labels.LabelService, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class BackofficeLabelService
    extends com.hybris.cockpitng.labels.impl.BackofficeCoreLabelService
    Default backoffice extension of the BackofficeCoreLabelService capable of computing labels for HybrisEnumValue.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getDisabledMessage​(java.lang.Object object)  
      protected java.lang.String getNoReadAccessMessage​(java.lang.Object object)  
      java.lang.String getObjectLabel​(java.lang.Object object)  
      • Methods inherited from class com.hybris.cockpitng.labels.impl.BackofficeCoreLabelService

        getLabelProvider
      • Methods inherited from class com.hybris.cockpitng.labels.impl.TypeAwareLabelService

        getAccessDeniedLabel, getLanguageDisabledLabel, getObjectDescription, 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BackofficeLabelService

        public BackofficeLabelService()
    • Method Detail

      • getObjectLabel

        public java.lang.String getObjectLabel​(java.lang.Object object)
        Specified by:
        getObjectLabel in interface com.hybris.cockpitng.labels.LabelService
        Overrides:
        getObjectLabel in class com.hybris.cockpitng.labels.impl.TypeAwareLabelService
      • getNoReadAccessMessage

        protected java.lang.String getNoReadAccessMessage​(java.lang.Object object)
        Overrides:
        getNoReadAccessMessage in class com.hybris.cockpitng.labels.impl.TypeAwareLabelService
      • getDisabledMessage

        protected java.lang.String getDisabledMessage​(java.lang.Object object)
        Overrides:
        getDisabledMessage in class com.hybris.cockpitng.labels.impl.TypeAwareLabelService