Interface TranslationFormBuilderService
- All Known Implementing Classes:
TranslationFormBuilderServiceImpl
public interface TranslationFormBuilderService
-
Method Summary
Modifier and TypeMethodDescriptionbuildListGrid
(List<Translation> translations, boolean isRte) Builds a ListGrid for the given list of translationsbuildTranslationForm
(ClassMetadata cmd, TranslationForm formProperties, TranslationFormAction action) Builds an EntityForm used to create or edit a translation value
-
Method Details
-
buildListGrid
Builds a ListGrid for the given list of translations- Parameters:
translations
-isRte
- - whether or not the field that this translation is tied to is a rich text edit field- Returns:
- the list grid
-
buildTranslationForm
EntityForm buildTranslationForm(ClassMetadata cmd, TranslationForm formProperties, TranslationFormAction action) Builds an EntityForm used to create or edit a translation value- Parameters:
cmd
-formProperties
-action
- (values "add", "update" or "other")- Returns:
- the entity form
-