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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLocalizedString(String key) Retrieves value for the context locale in the context resource bundle.getLocalizedString(String key, Object[] params) Retrieves parameterized value for the context locale in the context resource bundle.
-
Constructor Details
-
DefaultIntegrationBackofficeLocalizationService
public DefaultIntegrationBackofficeLocalizationService()
-
-
Method Details
-
getLocalizedString
Description copied from interface:LocalizationServiceRetrieves value for the context locale in the context resource bundle.- Specified by:
getLocalizedStringin interfaceLocalizationService- 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
Description copied from interface:LocalizationServiceRetrieves parameterized value for the context locale in the context resource bundle.- Specified by:
getLocalizedStringin interfaceLocalizationService- Parameters:
key- resource bundle key to get the value for.params- parameters to be injected into the localized value according to theMessageFormatconventions.- Returns:
- value in the resource bundle for the localization key or the key, if the key is not found in the resource bundle.
-