| Modifier and Type | Method and Description | 
|---|---|
| Translation | TranslationDaoImpl. create() | 
| Translation | TranslationDao. create()Creates an empty translation instance that is not persisted to the database | 
| protected Translation | TranslationDaoImpl. findBestTranslation(String specificLocale,
                   List<Translation> translations) | 
| protected Translation | TranslationDaoImpl. findSpecificTranslation(String localeCountryCode,
                       List<Translation> translations) | 
| Translation | TranslationDaoImpl. readTranslation(TranslatedEntity entity,
               String entityId,
               String fieldName,
               String localeCode) | 
| Translation | TranslationDao. readTranslation(TranslatedEntity entity,
               String entityId,
               String fieldName,
               String localeCode)Reads a translation for the requested parameters. | 
| Translation | TranslationDaoImpl. readTranslation(TranslatedEntity entityType,
               String entityId,
               String fieldName,
               String localeCode,
               String localeCountryCode,
               ResultType stage) | 
| Translation | TranslationDao. readTranslation(TranslatedEntity entityType,
               String entityId,
               String fieldName,
               String localeCode,
               String localeCountryCode,
               ResultType stage)Read a specific translation for the given params. | 
| Translation | TranslationDaoImpl. readTranslationById(Long translationId) | 
| Translation | TranslationDao. readTranslationById(Long translationId)Reads a translation by its own primary key | 
| Translation | TranslationDaoImpl. save(Translation translation) | 
| Translation | TranslationDao. save(Translation translation)Persists the given translation | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Translation> | TranslationDaoImpl. readAllTranslationEntries(TranslatedEntity entityType,
                         ResultType stage) | 
| List<Translation> | TranslationDao. readAllTranslationEntries(TranslatedEntity entityType,
                         ResultType stage)Read all the available translations for the given params. | 
| List<Translation> | TranslationDaoImpl. readAllTranslationEntries(TranslatedEntity entityType,
                         ResultType stage,
                         List<String> entityIds) | 
| List<Translation> | TranslationDao. readAllTranslationEntries(TranslatedEntity entityType,
                         ResultType stage,
                         List<String> entityIds)Read all the available translations for the given params. | 
| List<Translation> | TranslationDaoImpl. readTranslations(TranslatedEntity entity,
                String entityId,
                String fieldName) | 
| List<Translation> | TranslationDao. readTranslations(TranslatedEntity entity,
                String entityId,
                String fieldName)Reads all translations for a given field | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TranslationDaoImpl. delete(Translation translation) | 
| void | TranslationDao. delete(Translation translation)Deletes the given translation | 
| Translation | TranslationDaoImpl. save(Translation translation) | 
| Translation | TranslationDao. save(Translation translation)Persists the given translation | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Translation | TranslationDaoImpl. findBestTranslation(String specificLocale,
                   List<Translation> translations) | 
| protected Translation | TranslationDaoImpl. findSpecificTranslation(String localeCountryCode,
                       List<Translation> translations) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | TranslationImpl | 
| Modifier and Type | Method and Description | 
|---|---|
| <G extends Translation> | TranslationImpl. createOrRetrieveCopyInstance(MultiTenantCopyContext context) | 
| Modifier and Type | Method and Description | 
|---|---|
| Translation | TranslationSupport. findBestTemplateTranslation(String specificPropertyKey,
                           String generalPropertyKey,
                           Map<String,Map<String,Translation>> propertyTranslationMap,
                           String entityId)Find the most appropriate translation in the map. | 
| Translation | TranslationServiceImpl. findBestTemplateTranslation(String specificPropertyKey,
                           String generalPropertyKey,
                           Map<String,Map<String,Translation>> propertyTranslationMap,
                           String entityId) | 
| Translation | TranslationServiceImpl. findTranslationById(Long id) | 
| Translation | TranslationService. findTranslationById(Long id)Find a translation instance by its primary key value. | 
| static Translation | TranslationBatchReadCache. getFromCache(TranslatedEntity entityType,
            String id,
            String propertyName,
            String localeCode) | 
| Translation | TranslationServiceImpl. getTranslation(TranslatedEntity entity,
              String entityId,
              String fieldName,
              String localeCode) | 
| Translation | TranslationService. getTranslation(TranslatedEntity entity,
              String entityId,
              String fieldName,
              String localeCode)Attempts to find the translation object for the given parameters | 
| Translation | TranslationServiceImpl. save(String entityType,
    String entityId,
    String fieldName,
    String localeCode,
    String translatedValue) | 
| Translation | 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. | 
| Translation | TranslationServiceImpl. save(Translation translation) | 
| Translation | TranslationService. save(Translation translation)Persists the given translation | 
| Translation | TranslationServiceImpl. update(Long translationId,
      String localeCode,
      String translatedValue) | 
| Translation | TranslationService. update(Long translationId,
      String localeCode,
      String translatedValue)Updates the given translation id with the new locale code and translated value | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Translation> | TranslationServiceImpl. findAllTranslationEntries(TranslatedEntity translatedEntity,
                         ResultType standard,
                         List<String> entityIds) | 
| List<Translation> | TranslationService. findAllTranslationEntries(TranslatedEntity translatedEntity,
                         ResultType standard,
                         List<String> entityIds)Find all the available translations for the given params. | 
| 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() | 
| List<Translation> | TranslationServiceImpl. getTranslations(String ceilingEntityClassname,
               String entityId,
               String property) | 
| List<Translation> | TranslationService. getTranslations(String ceilingEntityClassname,
               String entityId,
               String property)Finds all current translations for the specified field | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static String | TranslationBatchReadCache. buildCacheKey(Translation translation) | 
| protected void | ThresholdCacheTranslationOverrideStrategy. buildSingleItemResponse(LocalePair response,
                       Translation translation) | 
| protected String | SparseTranslationOverrideStrategy. getCacheKey(Translation translation) | 
| void | TranslationServiceImpl. removeTranslationFromCache(Translation translation) | 
| void | TranslationService. removeTranslationFromCache(Translation translation)Remove a translation instance from the translation specific cache (different than level-2 hibernate cache) | 
| Translation | TranslationServiceImpl. save(Translation translation) | 
| Translation | TranslationService. save(Translation translation)Persists the given translation | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | TranslationBatchReadCache. addToCache(List<Translation> translations) | 
| Translation | TranslationSupport. findBestTemplateTranslation(String specificPropertyKey,
                           String generalPropertyKey,
                           Map<String,Map<String,Translation>> propertyTranslationMap,
                           String entityId)Find the most appropriate translation in the map. | 
| Translation | TranslationServiceImpl. findBestTemplateTranslation(String specificPropertyKey,
                           String generalPropertyKey,
                           Map<String,Map<String,Translation>> propertyTranslationMap,
                           String entityId) | 
| Modifier and Type | Method and Description | 
|---|---|
| ListGrid | TranslationFormBuilderServiceImpl. buildListGrid(List<Translation> translations,
             boolean isRte) | 
| ListGrid | TranslationFormBuilderService. buildListGrid(List<Translation> translations,
             boolean isRte)Builds a ListGrid for the given list of translations | 
Copyright © 2020. All rights reserved.