@Service(value="blTranslationFormBuilderService") public class TranslationFormBuilderServiceImpl extends java.lang.Object implements TranslationFormBuilderService
| Modifier and Type | Field and Description |
|---|---|
protected FormBuilderService |
formBuilderService |
protected LocaleService |
localeService |
| Constructor and Description |
|---|
TranslationFormBuilderServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ListGrid |
buildListGrid(java.util.List<Translation> translations,
boolean isRte)
Builds a ListGrid for the given list of translations
|
EntityForm |
buildTranslationForm(TranslationForm formProperties)
Builds an EntityForm used to create or edit a translation value
|
protected ComboField |
getLocaleField(java.lang.String value) |
protected java.lang.String |
getLocalizedEditToViewMessage() |
protected FormBuilderService formBuilderService
protected LocaleService localeService
public ListGrid buildListGrid(java.util.List<Translation> translations, boolean isRte)
TranslationFormBuilderServicebuildListGrid in interface TranslationFormBuilderServiceisRte - - whether or not the field that this translation is tied to is a rich text edit fieldpublic EntityForm buildTranslationForm(TranslationForm formProperties)
TranslationFormBuilderServicebuildTranslationForm in interface TranslationFormBuilderServiceprotected ComboField getLocaleField(java.lang.String value)
protected java.lang.String getLocalizedEditToViewMessage()
Copyright © 2018. All Rights Reserved.