Uses of Interface
org.broadleafcommerce.common.i18n.domain.Translation
Packages that use Translation
Package
Description
-
Uses of Translation in org.broadleafcommerce.common.i18n.dao
Methods in org.broadleafcommerce.common.i18n.dao that return TranslationModifier and TypeMethodDescriptionTranslationDao.create()
Creates an empty translation instance that is not persisted to the databaseTranslationDaoImpl.create()
protected Translation
TranslationDaoImpl.findBestTranslation
(String specificLocale, List<Translation> translations) protected Translation
TranslationDaoImpl.findSpecificTranslation
(String localeCountryCode, List<Translation> translations) TranslationDao.readTranslation
(TranslatedEntity entity, String entityId, String fieldName, String localeCode) Reads a translation for the requested parameters.TranslationDao.readTranslation
(TranslatedEntity entityType, String entityId, String fieldName, String localeCode, String localeCountryCode, ResultType stage) Read a specific translation for the given params.TranslationDaoImpl.readTranslation
(TranslatedEntity entity, String entityId, String fieldName, String localeCode) TranslationDaoImpl.readTranslation
(TranslatedEntity entityType, String entityId, String fieldName, String localeCode, String localeCountryCode, ResultType stage) TranslationDao.readTranslationById
(Long translationId) Reads a translation by its own primary keyTranslationDaoImpl.readTranslationById
(Long translationId) TranslationDao.save
(Translation translation) Persists the given translationTranslationDaoImpl.save
(Translation translation) Methods in org.broadleafcommerce.common.i18n.dao that return types with arguments of type TranslationModifier and TypeMethodDescriptionTranslationDao.readAllTranslationEntries
(TranslatedEntity entityType, ResultType stage) Read all the available translations for the given params.TranslationDao.readAllTranslationEntries
(TranslatedEntity entityType, ResultType stage, List<String> entityIds) Read all the available translations for the given params.TranslationDaoImpl.readAllTranslationEntries
(TranslatedEntity entityType, ResultType stage) TranslationDaoImpl.readAllTranslationEntries
(TranslatedEntity entityType, ResultType stage, List<String> entityIds) TranslationDao.readTranslations
(TranslatedEntity entity, String entityId, String fieldName) Reads all translations for a given fieldTranslationDaoImpl.readTranslations
(TranslatedEntity entity, String entityId, String fieldName) Methods in org.broadleafcommerce.common.i18n.dao with parameters of type TranslationModifier and TypeMethodDescriptionvoid
TranslationDao.delete
(Translation translation) Deletes the given translationvoid
TranslationDaoImpl.delete
(Translation translation) TranslationDao.save
(Translation translation) Persists the given translationTranslationDaoImpl.save
(Translation translation) Method parameters in org.broadleafcommerce.common.i18n.dao with type arguments of type TranslationModifier and TypeMethodDescriptionprotected Translation
TranslationDaoImpl.findBestTranslation
(String specificLocale, List<Translation> translations) protected Translation
TranslationDaoImpl.findSpecificTranslation
(String localeCountryCode, List<Translation> translations) -
Uses of Translation in org.broadleafcommerce.common.i18n.domain
Classes in org.broadleafcommerce.common.i18n.domain that implement TranslationMethods in org.broadleafcommerce.common.i18n.domain with type parameters of type TranslationModifier and TypeMethodDescription<G extends Translation>
CreateResponse<G>TranslationImpl.createOrRetrieveCopyInstance
(MultiTenantCopyContext context) -
Uses of Translation in org.broadleafcommerce.common.i18n.service
Methods in org.broadleafcommerce.common.i18n.service that return TranslationModifier and TypeMethodDescriptionTranslationServiceImpl.findBestTemplateTranslation
(String specificPropertyKey, String generalPropertyKey, Map<String, Map<String, Translation>> propertyTranslationMap, String entityId) TranslationSupport.findBestTemplateTranslation
(String specificPropertyKey, String generalPropertyKey, Map<String, Map<String, Translation>> propertyTranslationMap, String entityId) Find the most appropriate translation in the map.TranslationService.findTranslationById
(Long id) Find a translation instance by its primary key value.TranslationServiceImpl.findTranslationById
(Long id) static Translation
TranslationBatchReadCache.getFromCache
(TranslatedEntity entityType, String id, String propertyName, String localeCode) TranslationService.getTranslation
(TranslatedEntity entity, String entityId, String fieldName, String localeCode) Attempts to find the translation object for the given parametersTranslationServiceImpl.getTranslation
(TranslatedEntity entity, String entityId, String fieldName, String localeCode) TranslationService.save
(String entityType, String entityId, String fieldName, String localeCode, String translatedValue) Creates a new translation object for the requested parameters, saves it, and returns the saved instance.TranslationService.save
(Translation translation) Persists the given translationTranslationServiceImpl.save
(String entityType, String entityId, String fieldName, String localeCode, String translatedValue) TranslationServiceImpl.save
(Translation translation) Updates the given translation id with the new locale code and translated valueMethods in org.broadleafcommerce.common.i18n.service that return types with arguments of type TranslationModifier and TypeMethodDescriptionTranslationService.findAllTranslationEntries
(TranslatedEntity translatedEntity, ResultType standard, List<String> entityIds) Find all the available translations for the given params.TranslationServiceImpl.findAllTranslationEntries
(TranslatedEntity translatedEntity, ResultType standard, List<String> entityIds) protected static javax.cache.Cache<Long,
Map<String, Translation>> TranslationBatchReadCache.getCache()
protected List<Translation>
SparseTranslationOverrideStrategy.getTemplateTranslations
(TranslatedEntity entityType, String entityId, String property, String localeCode) protected static Map<String,
Translation> TranslationBatchReadCache.getThreadlocalCache()
TranslationService.getTranslations
(String ceilingEntityClassname, String entityId, String property) Finds all current translations for the specified fieldTranslationServiceImpl.getTranslations
(String ceilingEntityClassname, String entityId, String property) Methods in org.broadleafcommerce.common.i18n.service with parameters of type TranslationModifier and TypeMethodDescriptionprotected static String
TranslationBatchReadCache.buildCacheKey
(Translation translation) protected void
ThresholdCacheTranslationOverrideStrategy.buildSingleItemResponse
(LocalePair response, Translation translation) protected String
SparseTranslationOverrideStrategy.getCacheKey
(Translation translation) void
TranslationService.removeTranslationFromCache
(Translation translation) Remove a translation instance from the translation specific cache (different than level-2 hibernate cache)void
TranslationServiceImpl.removeTranslationFromCache
(Translation translation) TranslationService.save
(Translation translation) Persists the given translationTranslationServiceImpl.save
(Translation translation) Method parameters in org.broadleafcommerce.common.i18n.service with type arguments of type TranslationModifier and TypeMethodDescriptionstatic void
TranslationBatchReadCache.addToCache
(List<Translation> translations) TranslationServiceImpl.findBestTemplateTranslation
(String specificPropertyKey, String generalPropertyKey, Map<String, Map<String, Translation>> propertyTranslationMap, String entityId) TranslationSupport.findBestTemplateTranslation
(String specificPropertyKey, String generalPropertyKey, Map<String, Map<String, Translation>> propertyTranslationMap, String entityId) Find the most appropriate translation in the map. -
Uses of Translation in org.broadleafcommerce.openadmin.web.service
Method parameters in org.broadleafcommerce.openadmin.web.service with type arguments of type TranslationModifier and TypeMethodDescriptionTranslationFormBuilderService.buildListGrid
(List<Translation> translations, boolean isRte) Builds a ListGrid for the given list of translationsTranslationFormBuilderServiceImpl.buildListGrid
(List<Translation> translations, boolean isRte)