Class TranslationConsiderationContext
java.lang.Object
org.broadleafcommerce.common.i18n.service.TranslationConsiderationContext
Container for ThreadLocal attributes that relate to Translation.
- Author:
- Andre Azzolini (apazzolini)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TranslationServicestatic booleanstatic Booleanstatic voidstatic voidsetTranslationConsiderationContext(Boolean isEnabled) static voidsetTranslationService(TranslationService translationService)
-
Field Details
-
enabled
-
service
-
-
Constructor Details
-
TranslationConsiderationContext
public TranslationConsiderationContext()
-
-
Method Details
-
getTranslationConsiderationContext
-
setTranslationConsiderationContext
-
hasTranslation
public static boolean hasTranslation() -
isTranslationConsiderationContextEnabled
-
getTranslationService
-
setTranslationService
-
removeTranslationConsiderationContext
public static void removeTranslationConsiderationContext()
-