public interface TranslationOverrideStrategy
extends org.springframework.core.Ordered
Modifier and Type | Method and Description |
---|---|
LocalePair |
getLocaleBasedOverride(String property,
TranslatedEntity entityType,
String entityId,
String localeCode,
String localeCountryCode,
String basicCacheKey)
Retrieve the standard site override translation, if applicable
|
LocalePair |
getLocaleBasedTemplateValue(String templateCacheKey,
String property,
TranslatedEntity entityType,
String entityId,
String localeCode,
String localeCountryCode,
String specificPropertyKey,
String generalPropertyKey)
Retrieve the template level translation, if applicable
|
boolean |
validateTemplateProcessing(String standardCacheKey,
String templateCacheKey)
Whether or not a template version should be searched for.
|
LocalePair getLocaleBasedOverride(String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode, String basicCacheKey)
property
- entityType
- entityId
- localeCode
- localeCountryCode
- basicCacheKey
- LocalePair getLocaleBasedTemplateValue(String templateCacheKey, String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode, String specificPropertyKey, String generalPropertyKey)
templateCacheKey
- property
- entityType
- entityId
- localeCode
- localeCountryCode
- specificPropertyKey
- generalPropertyKey
- boolean validateTemplateProcessing(String standardCacheKey, String templateCacheKey)
standardCacheKey
- templateCacheKey
- Copyright © 2022. All rights reserved.