org.broadleafcommerce.openadmin.web.service
Class TranslationFormBuilderServiceImpl
java.lang.Object
org.broadleafcommerce.openadmin.web.service.TranslationFormBuilderServiceImpl
- All Implemented Interfaces:
- TranslationFormBuilderService
@Service(value="blTranslationFormBuilderService")
public class TranslationFormBuilderServiceImpl
- extends Object
- implements TranslationFormBuilderService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formBuilderService
protected FormBuilderService formBuilderService
localeService
protected LocaleService localeService
TranslationFormBuilderServiceImpl
public TranslationFormBuilderServiceImpl()
buildListGrid
public ListGrid buildListGrid(List<Translation> translations,
boolean isRte)
- Description copied from interface:
TranslationFormBuilderService
- Builds a ListGrid for the given list of translations
- Specified by:
buildListGrid in interface TranslationFormBuilderService
isRte - - whether or not the field that this translation is tied to is a rich text edit field
- Returns:
- the list grid
buildTranslationForm
public EntityForm buildTranslationForm(TranslationForm formProperties)
- Description copied from interface:
TranslationFormBuilderService
- Builds an EntityForm used to create or edit a translation value
- Specified by:
buildTranslationForm in interface TranslationFormBuilderService
- Returns:
- the entity form
getLocaleField
protected ComboField getLocaleField(String value)
getLocalizedEditToViewMessage
protected String getLocalizedEditToViewMessage()
Copyright © 2013. All Rights Reserved.