Class BackofficeLabelService

java.lang.Object
com.hybris.cockpitng.labels.impl.DefaultLabelService
com.hybris.cockpitng.labels.impl.TypeAwareLabelService
com.hybris.cockpitng.labels.impl.BackofficeCoreLabelService
com.hybris.backoffice.labels.impl.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.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected String
     
     

    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 Details

    • BackofficeLabelService

      public BackofficeLabelService()
  • Method Details

    • getObjectLabel

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

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

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