@Service(value="blTranslationFormBuilderService") public class TranslationFormBuilderServiceImpl extends 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(List<Translation> translations,
             boolean isRte)Builds a ListGrid for the given list of translations | 
| EntityForm | buildTranslationForm(ClassMetadata cmd,
                    TranslationForm formProperties,
                    TranslationFormAction action)Builds an EntityForm used to create or edit a translation value | 
| protected ComboField | getLocaleField(String value) | 
| protected String | getLocalizedEditToViewMessage() | 
protected FormBuilderService formBuilderService
protected LocaleService localeService
public ListGrid buildListGrid(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(ClassMetadata cmd, TranslationForm formProperties, TranslationFormAction action)
TranslationFormBuilderServicebuildTranslationForm in interface TranslationFormBuilderServiceaction - (values "add", "update" or "other")protected ComboField getLocaleField(String value)
protected String getLocalizedEditToViewMessage()
Copyright © 2020. All rights reserved.