Class DefaultIntegrationBackofficeLocalizationService

java.lang.Object
de.hybris.platform.integrationbackoffice.localization.impl.DefaultIntegrationBackofficeLocalizationService
All Implemented Interfaces:
LocalizationService

public class DefaultIntegrationBackofficeLocalizationService extends Object implements LocalizationService
Localization service used by the integration backoffice that uses Labels class for accessing the resource bundle.
  • Constructor Details

    • DefaultIntegrationBackofficeLocalizationService

      public DefaultIntegrationBackofficeLocalizationService()
  • Method Details

    • getLocalizedString

      public String getLocalizedString(String key)
      Description copied from interface: LocalizationService
      Retrieves value for the context locale in the context resource bundle.
      Specified by:
      getLocalizedString in interface LocalizationService
      Parameters:
      key - resource bundle key to get the value for.
      Returns:
      value in the resource bundle for the localization key or the key, if the key is not found in the resource bundle.
    • getLocalizedString

      public String getLocalizedString(String key, Object[] params)
      Description copied from interface: LocalizationService
      Retrieves parameterized value for the context locale in the context resource bundle.
      Specified by:
      getLocalizedString in interface LocalizationService
      Parameters:
      key - resource bundle key to get the value for.
      params - parameters to be injected into the localized value according to the MessageFormat conventions.
      Returns:
      value in the resource bundle for the localization key or the key, if the key is not found in the resource bundle.