Modifier and Type | Method and Description |
---|---|
Translation |
TranslationDaoImpl.create() |
Translation |
TranslationDao.create()
Creates an empty translation instance that is not persisted to the database
|
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.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.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 | Class and Description |
---|---|
class |
TranslationImpl |
Modifier and Type | Method and Description |
---|---|
Translation |
TranslationServiceImpl.findTranslationById(Long id) |
Translation |
TranslationService.findTranslationById(Long id) |
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.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 |
---|---|
Translation |
TranslationServiceImpl.save(Translation translation) |
Translation |
TranslationService.save(Translation translation)
Persists the given translation
|
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 © 2014. All rights reserved.